MLK-17275-1: drm/bridge: adv7511: Add support for OF_DYNAMIC
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 21 Dec 2017 08:59:20 +0000 (10:59 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:41 +0000 (14:52 -0500)
commitcc1638613f30fc039e49cacc562cabdf51a85d92
tree01fc5250e4937a333baaedd29e99606ddf489871
parent607b43ef0340974e1caae0a2aa1e34c99467c80f
MLK-17275-1: drm/bridge: adv7511: Add support for OF_DYNAMIC

When CONFIG_OF_DYNAMIC is used, and this driver is enabled in
devicetree, but fails to probe a physical i2c client, it should disable
it's remote endpoint, so that the DRM master device won't fail to bind
the other available devices.
Usually, the remote endpoint of this device is a DRM encoder. If a DRM
encoder fails to bind, the DRM master device will also fail to bind.
This is why, we should disable the encoder node dynamically in
devicetree.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c