Message ID | 20221117122547.809644-3-tomi.valkeinen@ideasonboard.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp371876wrr; Thu, 17 Nov 2022 04:31:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4y0Q41c1yT1TxBN25nKuCkPPIxpUfteuLXgNFDu8fdGUYkXa8n0MFt8Kfkw0r17/xIZ8Em X-Received: by 2002:a17:906:1682:b0:78d:6ba1:74dd with SMTP id s2-20020a170906168200b0078d6ba174ddmr2017637ejd.119.1668688315969; Thu, 17 Nov 2022 04:31:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668688315; cv=none; d=google.com; s=arc-20160816; b=m24L+kfJ5OAPXvRxZ1xRgytfPk+sURv/vb8pQMbu8DCLHCVWEFeOVhzu6c3QRLwFnM Kldv88usp6b3tNAf8nXdVYsJcO2X/P+OjjFwpPVHVDjwyXz8JucgHexOL3W6fNCEfTVh Aa03jqeJet+bzQo23dKgl+R9VALM2nwqNv361+ZFE2HvI41+RbXi69dC0/oeRJRoxGsL kde7hP9tQoeMq+WcdIHStwcHwMJbdtHr9nGsP+oAO9g8fsAidJdKsDKTQVmvc2QOAPU0 CmiynJhDipUlSLL1LBLIGH6Jh03X0jNsNJgSU5HQ3K7HkdRzIP0dBMNd9kXqdkdMwlrM /UeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Q2T/XFPcPbhXaDueGFALirYi3n8Rxkozv7r0IiG2G+4=; b=vNsj1bf5Uj/Cnb5hxJRZi9oH+HYz52a7/1L1Q3vyejYJwU1O24Az1uk6F01+vaYMXo UtPtt91XBpC3mhKViOF1y5vsAcMyke/jTCG9zW+a/RgfTC3gyFGU6YSE5CuPAMF3Fsac OEkmdd3p77Mhg87+AowVDzVFoAmd/4wovxFV7iTGTSNdu39lYLREspxtyZEgfIR2i7+6 tt5SH/5R04rSIG+r53qv1xWze3vfMDuyecdZW0TwLn7+xtpphujXqn4uoyxDOM9fQNGK Sw14g0hlLUA4aIbrlNRhF2fzy2OSrJvj0mSvXY5EeT44XCzIcONLUat059MWGPCHRmcv FISA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=fJZqa6r6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170906794600b007811e006b46si577494ejo.470.2022.11.17.04.31.31; Thu, 17 Nov 2022 04:31:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=fJZqa6r6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239919AbiKQM0U (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 17 Nov 2022 07:26:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240074AbiKQM0O (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 17 Nov 2022 07:26:14 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD8A11172; Thu, 17 Nov 2022 04:26:12 -0800 (PST) Received: from desky.lan (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1581E105A; Thu, 17 Nov 2022 13:26:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668687969; bh=YG1o0RFEH7TP6txxZSyhFlN10LwCC8MPhPnVR21+Exk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fJZqa6r6EKH29iZ1zfuwJG854cYs+by23MbgGv90vcf6tTmmoaA1tAmLD09WCXrrc WulULgyRhmfIr9EJ9W4Pcp8Hu/PqbTwbZQti3fsfqJ3OJgvWIgVz5K0XCiQforw8WY ttRSu558XI3BR203+DrEWxSqVUdZmjC/SJWxYUlc= From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <robert.foss@linaro.org>, Jonas Karlman <jonas@kwiboo.se>, Jernej Skrabec <jernej.skrabec@gmail.com>, Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Subject: [PATCH v1 2/8] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Add r8a779g0 Date: Thu, 17 Nov 2022 14:25:41 +0200 Message-Id: <20221117122547.809644-3-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham 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-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749746520052250173?= X-GMAIL-MSGID: =?utf-8?q?1749746520052250173?= |
Series |
Renesas V4H DSI & DP output support
|
|
Commit Message
Tomi Valkeinen
Nov. 17, 2022, 12:25 p.m. UTC
From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Extend the Renesas DSI display bindings to support the r8a779g0 V4H. Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> --- .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
Quoting Tomi Valkeinen (2022-11-17 12:25:41) > From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > > Extend the Renesas DSI display bindings to support the r8a779g0 V4H. > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > --- > .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > index afeeb967393d..bc3101f77e5a 100644 > --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > @@ -11,13 +11,14 @@ maintainers: > > description: | > This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas > - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up > + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up That's 81 chars I think ... so perhaps the 'up' should go 'down' a line ... but hey it's one char, I don't care too much, but I can't resist an up/down reference :D Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > to four data lanes. > > properties: > compatible: > enum: > - renesas,r8a779a0-dsi-csi2-tx # for V3U > + - renesas,r8a779g0-dsi-csi2-tx # for V4H > > reg: > maxItems: 1 > -- > 2.34.1 >
Hi Tomi, On Thu, Nov 17, 2022 at 1:26 PM Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> wrote: > From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > > Extend the Renesas DSI display bindings to support the r8a779g0 V4H. > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > --- > .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > index afeeb967393d..bc3101f77e5a 100644 > --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > @@ -11,13 +11,14 @@ maintainers: > > description: | > This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas > - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up > + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up Perhaps "R-Car Gen4 SoCs", so we stay within 80 chars, and don't have to update this when the next member of the family is around the block? Is there anything that might be SoC-specific? If not, perhaps the time is ripe for a family-specific compatible value? > to four data lanes. > > properties: > compatible: > enum: > - renesas,r8a779a0-dsi-csi2-tx # for V3U > + - renesas,r8a779g0-dsi-csi2-tx # for V4H > > reg: > maxItems: 1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On 17/11/2022 13:25, Tomi Valkeinen wrote: > From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > > Extend the Renesas DSI display bindings to support the r8a779g0 V4H. > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Thu, Nov 17, 2022 at 04:14:21PM +0100, Geert Uytterhoeven wrote: > On Thu, Nov 17, 2022 at 1:26 PM Tomi Valkeinen wrote: > > From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > > > > Extend the Renesas DSI display bindings to support the r8a779g0 V4H. > > > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > > --- > > .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > > index afeeb967393d..bc3101f77e5a 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > > @@ -11,13 +11,14 @@ maintainers: > > > > description: | > > This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas > > - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up > > + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up > > Perhaps "R-Car Gen4 SoCs", so we stay within 80 chars, and don't have > to update this when the next member of the family is around the block? Sounds good. > Is there anything that might be SoC-specific? > If not, perhaps the time is ripe for a family-specific compatible value? That's hard to tell, I have little visibility into what surprises other SoCs will bring :-S > > to four data lanes. > > > > properties: > > compatible: > > enum: > > - renesas,r8a779a0-dsi-csi2-tx # for V3U > > + - renesas,r8a779g0-dsi-csi2-tx # for V4H Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > reg: > > maxItems: 1
On 17/11/2022 17:14, Geert Uytterhoeven wrote: > Hi Tomi, > > On Thu, Nov 17, 2022 at 1:26 PM Tomi Valkeinen > <tomi.valkeinen@ideasonboard.com> wrote: >> From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> >> >> Extend the Renesas DSI display bindings to support the r8a779g0 V4H. >> >> Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> >> --- >> .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml >> index afeeb967393d..bc3101f77e5a 100644 >> --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml >> +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml >> @@ -11,13 +11,14 @@ maintainers: >> >> description: | >> This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas >> - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up >> + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up > > Perhaps "R-Car Gen4 SoCs", so we stay within 80 chars, and don't have > to update this when the next member of the family is around the block? Is V3U gen 4? Or do you mean "R-Car V3U and Gen 4 SoCs"? > Is there anything that might be SoC-specific? > If not, perhaps the time is ripe for a family-specific compatible value? At least v3u and v4h DSIs are slightly different. Well, the DSI IP block itself looks the same, but the PLL and PHY are different. Tomi
Hi Tomi, On Tue, Nov 22, 2022 at 9:20 AM Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> wrote: > On 17/11/2022 17:14, Geert Uytterhoeven wrote: > > On Thu, Nov 17, 2022 at 1:26 PM Tomi Valkeinen > > <tomi.valkeinen@ideasonboard.com> wrote: > >> From: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > >> > >> Extend the Renesas DSI display bindings to support the r8a779g0 V4H. > >> > >> Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > >> --- > >> .../bindings/display/bridge/renesas,dsi-csi2-tx.yaml | 3 ++- > >> 1 file changed, 2 insertions(+), 1 deletion(-) > >> > >> diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > >> index afeeb967393d..bc3101f77e5a 100644 > >> --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > >> +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > >> @@ -11,13 +11,14 @@ maintainers: > >> > >> description: | > >> This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas > >> - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up > >> + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up > > > > Perhaps "R-Car Gen4 SoCs", so we stay within 80 chars, and don't have > > to update this when the next member of the family is around the block? > > Is V3U gen 4? Or do you mean "R-Car V3U and Gen 4 SoCs"? Despite the name, R-Car V3U is the first member of the R-Car Gen4 family... https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-v3u-best-class-r-car-v3u-asil-d-system-chip-automated-driving > > Is there anything that might be SoC-specific? > > If not, perhaps the time is ripe for a family-specific compatible value? > > At least v3u and v4h DSIs are slightly different. Well, the DSI IP block > itself looks the same, but the PLL and PHY are different. I noticed, when I saw the dsi-csi2 driver changes. So no family-specific compatible value is needed. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml index afeeb967393d..bc3101f77e5a 100644 --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml @@ -11,13 +11,14 @@ maintainers: description: | This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas - R-Car V3U SoC. The encoder can operate in either DSI or CSI-2 mode, with up + R-Car V3U/V4H SoC. The encoder can operate in either DSI or CSI-2 mode, with up to four data lanes. properties: compatible: enum: - renesas,r8a779a0-dsi-csi2-tx # for V3U + - renesas,r8a779g0-dsi-csi2-tx # for V4H reg: maxItems: 1