Re: [PATCH 1/2] media: adv7604: Add support for i2c_new_secondary_device

From: Rob Herring
Date: Mon Jan 29 2018 - 16:01:46 EST


On Mon, Jan 22, 2018 at 12:49:56PM +0000, Kieran Bingham wrote:
> From: Jean-Michel Hautbois <jean-michel.hautbois@xxxxxxxxxxx>
>
> The ADV7604 has thirteen 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: Jean-Michel Hautbois <jean-michel.hautbois@xxxxxxxxxxx>
> [Kieran: Re-adapted for mainline]
> Signed-off-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>
> ---
> Based upon the original posting :
> https://lkml.org/lkml/2014/10/22/469
> ---
> .../devicetree/bindings/media/i2c/adv7604.txt | 18 ++++++-

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

In the future, please split bindings to separate patch.

> drivers/media/i2c/adv7604.c | 60 ++++++++++++++--------
> 2 files changed, 55 insertions(+), 23 deletions(-)