MLK-17275-2: drm/bridge: it6263: Add support for OF_DYNAMIC
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 21 Dec 2017 09:04:22 +0000 (11:04 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:42 +0000 (14:52 -0500)
commitbf649035ddab1b7bee3100aef320c344d3b3763d
treef8c5b363c003ef446bf4d6de023cf27dfb2f2846
parentcc1638613f30fc039e49cacc562cabdf51a85d92
MLK-17275-2: drm/bridge: it6263: 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/it6263.c