Received: by 10.223.185.116 with SMTP id b49csp3549155wrg; Tue, 13 Feb 2018 04:10:54 -0800 (PST) X-Google-Smtp-Source: AH8x2278BFQY+LdgO1UZeGH6Dp0AsCPZGt9arG0svGlq7eysWXhXkrR6w6+xUBe6NqL3CPR3ok8M X-Received: by 10.101.83.195 with SMTP id z3mr847470pgr.133.1518523854634; Tue, 13 Feb 2018 04:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518523854; cv=none; d=google.com; s=arc-20160816; b=gljbPljghvazAvfj9xGZeXkGhh5iq24yIYXhWswNFruKxXu/UTQGmSJJ1BBJfGDJm2 gO+LTIiJ2yvM1TrYk2mdgfxccXSP3TlwtoGEgiHI9yBghzQoAqhAnTSi5tK4kU53kHxq P0VdyffkUOvt6G2vw9jbW59Npi9CSRv9BPzDhtkznJhI/eE+axCOSuqvSVRMGgZ30wdz lyIWHJZOqFNZn+Zo5Iq6kUOGF4bfusHshnNk6muEibNbwNp+nO4s7ZFScepu5VQ948kW u1V5CBc9XaAVgquYzKxVQEk7ta2Iol2FyJL1BirfMt84ZYbouBgL5h5pb+3ikjynWSTS 6JiQ== 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 :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=CcYbp8rJtPHaA0Ykn7lQ4GONypiGI+HxqAAQe9EL2NM=; b=fGSbBUyAjtO1Dh5PqVGTKrKKzWMf10ZA6PafMzkNBlkOE0K98oX/lv346qs4pAifK8 YgLrqtTOSmRfO2S//ao2/0F8dev4B01UbjsLlcWCLCABdLxn/UC/udeDYG/kAcvXczS1 lf78C9ZQeLMfoNfebrT2wjj21NW8vzTAS8okFAmWb4PEeKw61IAEYZr1DPeIXXgt139F F25YW/ONRrCbIGf3DXR/6d+0PBMCUO8jS1bZvovLpGrpJAL4+VBD/wtpyHoBbXGIAkp0 GjW9/Uiq+KXi44d84iYkVuaEEIe5oDtJ5kT2F5foATc9sdPg2SpnJRFl6D0nt9FmJjcr qFBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=W53z8wa5; 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 u136si1656493pgc.481.2018.02.13.04.10.38; Tue, 13 Feb 2018 04:10:54 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=W53z8wa5; 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 S934971AbeBMMJz (ORCPT + 99 others); Tue, 13 Feb 2018 07:09:55 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:42051 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934801AbeBMMJx (ORCPT ); Tue, 13 Feb 2018 07:09:53 -0500 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 2EE7D2005E; Tue, 13 Feb 2018 13:08:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518523701; bh=RY0Va/u3i7UskcbhvjPObV13vE1CsP2MCZ4rqqnvMeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W53z8wa5/EjB9ZWxed6BkRV2hkrAp0oNxHTn77v6932zyK13MScT3YGeZx8c2ILQu +d14SXpsn748XOP2yRj9gbmk/sLHlD8eL3ERRGoHPFvlq6cOx9RZkW8U9eGq4uSHAl 8G4gorixoRYhhYDfY2fbfP4PsZHUs+bkOK4HRiJg= From: Laurent Pinchart To: Kieran Bingham Cc: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , Jean-Michel Hautbois , Sergei Shtylyov , Lars-Peter Clausen , Kieran Bingham , David Airlie , Rob Herring , Mark Rutland , John Stultz , Hans Verkuil , Mark Brown , Archit Taneja , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v3 2/5] dt-bindings: adv7511: Add support for i2c_new_secondary_device Date: Tue, 13 Feb 2018 14:10:23 +0200 Message-ID: <138061694.kW5LlSP0Rd@avalon> Organization: Ideas on Board Oy In-Reply-To: <1518473273-6333-3-git-send-email-kbingham@kernel.org> References: <1518473273-6333-1-git-send-email-kbingham@kernel.org> <1518473273-6333-3-git-send-email-kbingham@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, Thank you for the patch. On Tuesday, 13 February 2018 00:07:50 EET Kieran Bingham wrote: > From: Kieran Bingham >=20 > The ADV7511 has four 256-byte maps that can be accessed via the main I=B2C > ports. Each map has it own I=B2C address and acts as a standard slave > device on the I=B2C bus. >=20 > Extend the device tree node bindings to be able to override the default > addresses so that address conflicts with other devices on the same bus > may be resolved at the board description level. >=20 > Signed-off-by: Kieran Bingham > Reviewed-by: Rob Herring Same comment as for 1/5 about the subject line. > --- > v2: > - Fixed up reg: property description to account for multiple optional > addresses. > - Minor reword to commit message to account for DT only change > - Collected Robs RB tag >=20 > v3: > - Split map register addresses into individual declarations. >=20 > .../devicetree/bindings/display/bridge/adi,adv7511.txt | 18 ++++++++++++= +-- > 1 file changed, 16 insertions(+), 2 deletions(-) >=20 > diff --git > a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt > b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt index > 0047b1394c70..3f85c351dd39 100644 > --- a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt > +++ b/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt > @@ -14,7 +14,13 @@ Required properties: > "adi,adv7513" > "adi,adv7533" >=20 > -- reg: I2C slave address > +- reg: I2C slave addresses > + The ADV7511 internal registers are split into four pages exposed throu= gh > + different I2C addresses, creating four register maps. Each map has it = own > + I2C address and acts as a standard slave device on the I=B2C bus. The = main > + address is mandatory, others are optional and revert to defaults if not > + specified. Nitpicking again, you're mixing I2C and I=B2C. > + >=20 > The ADV7511 supports a large number of input data formats that differ by > their color depth, color format, clock mode, bit justification and random > @@ -70,6 +76,9 @@ Optional properties: > rather than generate its own timings for HDMI output. > - clocks: from common clock binding: reference to the CEC clock. > - clock-names: from common clock binding: must be "cec". > +- reg-names : Names of maps with programmable addresses. > + It can contain any map needing a non-default address. > + Possible maps names are : "main", "edid", "cec", "packet" >=20 > Required nodes: >=20 > @@ -88,7 +97,12 @@ Example >=20 > adv7511w: hdmi@39 { > compatible =3D "adi,adv7511w"; > - reg =3D <39>; > + /* > + * The EDID page will be accessible on address 0x66 on the i2c And now you're using lowercase :-) > + * bus. All other maps continue to use their default addresses. > + */ > + reg =3D <0x39>, <0x66>; > + reg-names =3D "main", "edid"; > interrupt-parent =3D <&gpio3>; > interrupts =3D <29 IRQ_TYPE_EDGE_FALLING>; > clocks =3D <&cec_clock>; With these fixed (or not, up to you), Reviewed-by: Laurent Pinchart =2D-=20 Regards, Laurent Pinchart