Message ID | 20230411120810.368437-3-biju.das.jz@bp.renesas.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1pmCnj-00Gjlq-6n; Tue, 11 Apr 2023 12:08:43 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbjDKMIk (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Tue, 11 Apr 2023 08:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbjDKMIi (ORCPT <rfc822;linux-media@vger.kernel.org>); Tue, 11 Apr 2023 08:08:38 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37913127; Tue, 11 Apr 2023 05:08:27 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.98,336,1673881200"; d="scan'208";a="159048194" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 11 Apr 2023 21:08:26 +0900 Received: from localhost.localdomain (unknown [10.226.93.123]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 6973D40065A3; Tue, 11 Apr 2023 21:08:22 +0900 (JST) From: Biju Das <biju.das.jz@bp.renesas.com> To: David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Biju Das <biju.das.jz@bp.renesas.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>, Chris Paterson <Chris.Paterson2@renesas.com>, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>, linux-renesas-soc@vger.kernel.org Subject: [PATCH v7 2/8] dt-bindings: display: renesas,rzg2l-du: Document RZ/V2L DU bindings Date: Tue, 11 Apr 2023 13:08:04 +0100 Message-Id: <20230411120810.368437-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230411120810.368437-1-biju.das.jz@bp.renesas.com> References: <20230411120810.368437-1-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Series |
Add RZ/{G2L,G2LC} and RZ/V2L DU support
|
|
Commit Message
Biju Das
April 11, 2023, 12:08 p.m. UTC
Document DU found in RZ/V2L SoC. The DU block is identical to RZ/G2L
SoC and therefore use RZ/G2L fallback to avoid any driver changes.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v7:
* New patch.
---
.../devicetree/bindings/display/renesas,rzg2l-du.yaml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Comments
On Tue, 11 Apr 2023 13:08:04 +0100, Biju Das wrote: > Document DU found in RZ/V2L SoC. The DU block is identical to RZ/G2L > SoC and therefore use RZ/G2L fallback to avoid any driver changes. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > --- > v7: > * New patch. > --- > .../devicetree/bindings/display/renesas,rzg2l-du.yaml | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
Hi Biju, On Tue, Apr 11, 2023 at 2:11 PM Biju Das <biju.das.jz@bp.renesas.com> wrote: > Document DU found in RZ/V2L SoC. The DU block is identical to RZ/G2L > SoC and therefore use RZ/G2L fallback to avoid any driver changes. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > --- > v7: > * New patch. Thanks for your patch! > --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml > +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml > @@ -16,8 +16,13 @@ description: | > > properties: > compatible: > - enum: > - - renesas,r9a07g044-du # RZ/G2{L,LC} > + oneOf: > + - enum: > + - renesas,r9a07g044-du # RZ/G2{L,LC} > + - items: > + - enum: > + - renesas,r9a07g054-vsp2 # RZ/V2L > + - const: renesas,r9a07g044-vsp2 # RZ/G2L fallback "*-vsp2", really? ;-) And with s/vsp2/du/, it doesn't match patch 6/8, where you use "renesas,r9a07g054-du" without the fallback. Gr{oetje,eeting}s, Geert
Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v7 2/8] dt-bindings: display: renesas,rzg2l-du: Document > RZ/V2L DU bindings > > Hi Biju, > > On Tue, Apr 11, 2023 at 2:11 PM Biju Das <biju.das.jz@bp.renesas.com> wrote: > > Document DU found in RZ/V2L SoC. The DU block is identical to RZ/G2L > > SoC and therefore use RZ/G2L fallback to avoid any driver changes. > > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > > --- > > v7: > > * New patch. > > Thanks for your patch! > > > --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml > > +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml > > @@ -16,8 +16,13 @@ description: | > > > > properties: > > compatible: > > - enum: > > - - renesas,r9a07g044-du # RZ/G2{L,LC} > > + oneOf: > > + - enum: > > + - renesas,r9a07g044-du # RZ/G2{L,LC} > > + - items: > > + - enum: > > + - renesas,r9a07g054-vsp2 # RZ/V2L > > + - const: renesas,r9a07g044-vsp2 # RZ/G2L fallback > > "*-vsp2", really? ;-) > > And with s/vsp2/du/, it doesn't match patch 6/8, where you use > "renesas,r9a07g054-du" without the fallback. Oops, Typo. Copy paste error from vsp2. OK, will use compatible r9a07g044-du as fallback in 6/8 and in driver. as both G2L and V2L supports either DSI or DPI. Cheers, Biju
diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml index 7626043debd8..e29ba0145f89 100644 --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml @@ -16,8 +16,13 @@ description: | properties: compatible: - enum: - - renesas,r9a07g044-du # RZ/G2{L,LC} + oneOf: + - enum: + - renesas,r9a07g044-du # RZ/G2{L,LC} + - items: + - enum: + - renesas,r9a07g054-vsp2 # RZ/V2L + - const: renesas,r9a07g044-vsp2 # RZ/G2L fallback reg: maxItems: 1