[PATCH 0/2] Add support for i2c_new_secondary_device

From: Kieran Bingham
Date: Mon Jan 22 2018 - 07:50:00 EST


Back in 2014, Jean-Michel provided patches [0] to implement a means of
describing software defined I2C addresses for devices through the DT nodes.

The patch to implement the function "i2c_new_secondary_device()" was integrated,
but the corresponding driver update didn't get applied.

This short series re-bases Jean-Michel's patch to mainline for the ADV7604 driver
in linux-media, and also provides a patch for the ADV7511 DRM Bridge driver taking
the same approach.

This series allows us to define the I2C address allocations of these devices in
the device tree for the Renesas D3 platform where these two devices reside on
the same bus and conflict with each other presently..

[0] https://lkml.org/lkml/2014/10/22/468
[1] https://lkml.org/lkml/2014/10/22/469

Jean-Michel Hautbois (1):
media: adv7604: Add support for i2c_new_secondary_device

Kieran Bingham (1):
drm: adv7511: Add support for i2c_new_secondary_device

.../bindings/display/bridge/adi,adv7511.txt | 10 +++-
.../devicetree/bindings/media/i2c/adv7604.txt | 18 ++++++-
drivers/gpu/drm/bridge/adv7511/adv7511.h | 4 ++
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 36 ++++++++-----
drivers/media/i2c/adv7604.c | 60 ++++++++++++++--------
5 files changed, 92 insertions(+), 36 deletions(-)

--
2.7.4