From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 659C8C77B7A for ; Sat, 20 May 2023 10:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eR+ISn1KrR0BzmQ9nd66cgCyV+QHTpj13YQVfJTiO1M=; b=iYgVX0HQsTO/pPOMrRc8bSDEJX jF5VVM4l5N6axtItE1StVhKupdgEdrEJzraInNmfGxPOVT8hpPaXtgcJsH7zviL5+hPR8SMm44jes AZNLQxAEaDzTrotTCHvUe3iGRpyne5TWP7vmDhjYDesKqxdakcBt4RgsLOjtr0dXkKhmG6QGdQbix goqUWXK65/qDRRImfPBuTNIWL6YNj7NjgvoYJ+S1KppMH1ZIwfkq7eiErua2V5h9cTA4DUQxBlJjn RieJIztcR9I7jdXGWe2BwqcgOUtCRIT+uRjiIahxI/Cs/5be7fehh+gGjimcU/JrLKI9fXrLFMG6/ t3W00Pcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q0JcK-001E0V-2s; Sat, 20 May 2023 10:15:16 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q0JcI-001Dzz-24 for linux-arm-kernel@lists.infradead.org; Sat, 20 May 2023 10:15:15 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 22B91601B6; Sat, 20 May 2023 10:15:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3128C433EF; Sat, 20 May 2023 10:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684577713; bh=1UyIWQbHOjjifaKW/wUJ5oCv3edwmlXJyp5rWIZCdoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jO1yoL5bi8d5nD77WswNtJkR1D1REN/MPbJLydBQcE3jbNeRezp2sbnsoENET5KfH B+VQgnUydvJoFW/KXC8fP1BI12qxiE8T0b+i6iNoCW3+MCA51a9zfLPY3VOkTcmhYb U1Ru27TcevIBZY8kamZVK24T/Yw5r1ipOBAYtZo6Q8fnTXgc2tUs+TfhyLrcD3xdpO Zz21v1OGG99dv4zGRMBi1HV+cLMFtcuEpa8ZUNrCiksL77gzYubmtf/9P0FwNn4/sZ f0S//CzKnINPwFGJo+Jd6SXZPaGqTBXoIdhtRX5rc2oLFc9ubCHcp0m6B5YvB3+XD8 +ZXWSZq4H+ewg== Date: Sat, 20 May 2023 11:15:09 +0100 From: Conor Dooley To: Fabio Estevam Cc: shawnguo@kernel.org, marex@denx.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, conor+dt@kernel.org, Fabio Estevam Subject: Re: [PATCH v4 1/4] dt-bindings: display: bridge: ldb: Adjust imx6sx entries Message-ID: <20230520-iphone-outreach-14f46c57b7cd@spud> References: <20230519125236.352050-1-festevam@gmail.com> MIME-Version: 1.0 In-Reply-To: <20230519125236.352050-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230520_031514_725772_4513A8AC X-CRM114-Status: GOOD ( 19.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6959647006987408425==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6959647006987408425== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2hAHGAC7SPIHZrqZ" Content-Disposition: inline --2hAHGAC7SPIHZrqZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 19, 2023 at 09:52:33AM -0300, Fabio Estevam wrote: > From: Fabio Estevam >=20 > On the i.MX6SX there is a single entry for 'reg' and 'reg-names', so add > some logic to reflect that. >=20 > Signed-off-by: Fabio Estevam Whoops, didn't see this patch yesterday.. > --- > Changes since v3: > - None. >=20 > .../bindings/display/bridge/fsl,ldb.yaml | 28 +++++++++++++++++-- > 1 file changed, 25 insertions(+), 3 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yam= l b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > index 07388bf2b90d..cd63f9ef9484 100644 > --- a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > @@ -28,12 +28,12 @@ properties: > const: ldb > =20 > reg: > + minItems: 1 > maxItems: 2 > =20 > reg-names: > - items: > - - const: ldb > - - const: lvds > + minItems: 1 > + maxItems: 2 > =20 > ports: > $ref: /schemas/graph.yaml#/properties/ports > @@ -74,6 +74,28 @@ allOf: > properties: > port@2: false > =20 > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx6sx-ldb Why not const: for the single item? Trying to avoid churn when you add your next one? > + then: > + properties: > + reg: > + maxItems: 1 > + reg-names: > + items: > + - const: ldb Again, can drop the items: for const: for the single item, no? Thanks, Conor. --2hAHGAC7SPIHZrqZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZGidrQAKCRB4tDGHoIJi 0odmAP95ZzVecxynXaUYOB6Og+zWPzH4Te9jVQR2kWPmJUJlCAEAvqI5ikywLztJ f18x/dT9xWppzV0XCmIJJXEjhqdYjwI= =NLRi -----END PGP SIGNATURE----- --2hAHGAC7SPIHZrqZ-- --===============6959647006987408425== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6959647006987408425==--