Re: [PATCH 2/2] drm: adv7511: Add support for i2c_new_secondary_device

From: Rob Herring
Date: Mon Jan 29 2018 - 15:09:39 EST


On Mon, Jan 22, 2018 at 12:50:01PM +0000, Kieran Bingham wrote:
> The ADV7511 has four 256-byte maps that can be accessed via the main I²C
> ports. Each map has it own I²C address and acts as a standard slave
> device on the I²C 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@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/display/bridge/adi,adv7511.txt | 10 +++++-

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/gpu/drm/bridge/adv7511/adv7511.h | 4 +++
> drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 36 ++++++++++++++--------
> 3 files changed, 37 insertions(+), 13 deletions(-)