drm: adv7511: Add support for i2c_new_secondary_device
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tue, 13 Feb 2018 17:48:57 +0000 (17:48 +0000)
committerArchit Taneja <architt@codeaurora.org>
Wed, 25 Apr 2018 05:48:59 +0000 (11:18 +0530)
commit680532c50bca0f591ea90f4e820c5c1ce48adbfd
treea494687b135318d1cc53370637c4671d647faeb7
parentffdd073681589d76055a4c8cc8adb187b1f599bf
drm: adv7511: Add support for i2c_new_secondary_device

The ADV7511 has four 256-byte maps that can be accessed via the main I2C
ports. Each map has it own I2C address and acts as a standard slave
device on the I2C bus.

Allow a device tree node to override the default addresses so that
address conflicts with other devices on the same bus may be resolved at
the board description level.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1518544137-2742-6-git-send-email-kbingham@kernel.org
drivers/gpu/drm/bridge/adv7511/adv7511.h
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c