Received: by 10.223.185.116 with SMTP id b49csp3926629wrg; Tue, 13 Feb 2018 09:52:23 -0800 (PST) X-Google-Smtp-Source: AH8x225p5+gM5tG97K+mYauDLEKsYsX525KtellWoW1+B5FXFK9HPWnFvoVawlzGjspAHHMQIb4n X-Received: by 2002:a17:902:8a94:: with SMTP id p20-v6mr346044plo.373.1518544343629; Tue, 13 Feb 2018 09:52:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518544343; cv=none; d=google.com; s=arc-20160816; b=TagMEXF9ccQxg9zI9JbocagS+WbdPwcCWZVfMbniYNfIJ7yNL3LSkxRQvfm/yUrtIz 1Lj+REkpNJBYspwryGnTG+WvdozePRXNTnxkhuUtvkt5JPElC+eEmtSovgM2v+67avGF VJIJLfTE7ItJ4yPvB/+re+LSap1HQQ3u6CU0EVPDzcChs+JcjG3684cF1lIW6MpFYXNH LaRBLQa7XmhrJgZQ3pUgHsI02an3t0JpahKCnRUthKA8yHue0a9Ziwt9Ki5T2DbdNDv4 8460ochsUSQKmyl6w136Fyu1wbSPnGe4eoHee1VitEeC2dbgIddXUlXXutYOA5DTue/g MqlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=NXcQNZeqdnAYbuc0g7Gi3Eml3/eJALgcpL1u8aIad+0=; b=k8bv9RAbNayCLiyzYBBuPnIZg+x9PMACqWfEiNH59D32iHbSc3WEOpdYX/D5OIjQs2 p3F9QQEMQ105dxvWsNj4+1Eenyl3dxdX/GGFG9jJGEcZ2SEj+6Xhf3ksczQMcU+wtSnO YZDk+BPKiH6S6gCYRKYE4kEX62asgpfBBSNVTnReEGG95VxruKrMJ+mdsVbSeFd97apv 9Kk/tRUAIvTDhZenps3MjCrNdbi38j5o0YH3mg9jSd9Ebc/fV+jGA9sK4Ggi3v4mHf0I Cpr11tlu6HCF4MYD1Nw27phE8xlK0YD/zXYptmqvF2EkBJgoAtzWU8EgE4P8A0LF34qE +h7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si117682pgc.233.2018.02.13.09.52.09; Tue, 13 Feb 2018 09:52:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965362AbeBMRtE (ORCPT + 99 others); Tue, 13 Feb 2018 12:49:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:42226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965057AbeBMRtC (ORCPT ); Tue, 13 Feb 2018 12:49:02 -0500 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 703E021726; Tue, 13 Feb 2018 17:49:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 703E021726 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=kbingham@kernel.org From: Kieran Bingham To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org Cc: Kieran Bingham , Jean-Michel Hautbois , Sergei Shtylyov , Lars-Peter Clausen , Kieran Bingham Subject: [PATCH v4 0/5] Add support for i2c_new_secondary_device Date: Tue, 13 Feb 2018 17:48:52 +0000 Message-Id: <1518544137-2742-1-git-send-email-kbingham@kernel.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kieran Bingham 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 v2: - dt bindings split from driver changes - fixed up dt binding property descriptions - Update missing edid-i2c address setting (adv7511) - Provide update for r8a7792 DTB to account for address conflict v3: - Split map register addresses into individual declarations across all uses v4: - Normalise the usage of the I2C term throughout - Fix registration/cleanup of packet client in adv7511 - Rename adv76xx structures - Update commit titles of dt-bindings patches. Jean-Michel Hautbois (2): dt-bindings: media: adv7604: Extend bindings to allow specifying slave map addresses media: adv7604: Add support for i2c_new_secondary_device Kieran Bingham (3): dt-bindings: adv7511: Extend bindings to allow specifying slave map addresses [RFT] ARM: dts: wheat: Fix ADV7513 address usage drm: adv7511: Add support for i2c_new_secondary_device .../bindings/display/bridge/adi,adv7511.txt | 18 ++++++- .../devicetree/bindings/media/i2c/adv7604.txt | 18 ++++++- arch/arm/boot/dts/r8a7792-wheat.dts | 12 ++++- drivers/gpu/drm/bridge/adv7511/adv7511.h | 6 +++ drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 42 +++++++++------ drivers/media/i2c/adv7604.c | 62 ++++++++++++++-------- 6 files changed, 115 insertions(+), 43 deletions(-) -- 2.7.4