]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b4be4d3a70b8e1c8a070100bff7b2c9692ad470
treea494687b135318d1cc53370637c4671d647faeb7
parenta40ce82a4a2bba1087931e46a6b14d16198c2c1c
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