From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751161AbeAVMt5 (ORCPT ); Mon, 22 Jan 2018 07:49:57 -0500 Received: from o1.7nn.fshared.sendgrid.net ([167.89.55.65]:22256 "EHLO o1.7nn.fshared.sendgrid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbeAVMtz (ORCPT ); Mon, 22 Jan 2018 07:49:55 -0500 From: Kieran Bingham To: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: Jean-Michel Hautbois , Kieran Bingham Subject: [PATCH 0/2] Add support for i2c_new_secondary_device Date: Mon, 22 Jan 2018 12:49:52 +0000 (UTC) Message-Id: <1516625389-6362-1-git-send-email-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-SG-EID: UsLXQ589HNP4HLBydmD9pgHURQozLYm9XliudupI8YtAPhmLH6x6DCAPRy8IFdJj59n8RxkytNMFM4 mkJxhcl9sCS+Hmad5zgYXwoTFjkQVMoRAEDBKKIrxuegupsjtfWsE2wPIAIa1cq/mV+H6C+pANZkVK 5oixMO0Too6ehUcBwlS38oIcMnDvoH/nse7ZkV6XWcg/BhT9Hjzt31ThWYk0Qzztqxtg4DwDbNyZwv 51PUVAkH+DAum2+Xh098A5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w0MCo1tG018073 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