Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp137785pxb; Wed, 22 Sep 2021 18:12:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAnBU57BFCDwtJ8ixKJ5FU2tR0Ug32L9aU3BUsSdpWnnzkdMj3xaMUH3tAjGtC5UVp56qo X-Received: by 2002:a17:906:63ca:: with SMTP id u10mr2216816ejk.411.1632359555304; Wed, 22 Sep 2021 18:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632359555; cv=none; d=google.com; s=arc-20160816; b=DuhXHdr6H3Q9Q/ZC7OYnZROaXKieayMOSF6fXGtMUd08X74WeqGf631QSOvvUwoVGN uzdmlrCQL+v73lVVwdWdLn+LvATpjBpFRQNh2g18simxONt0mOxAh2whcRxnMDh5h77l TMZBicj90EWqC9c9t7BIbhSVPMFC7sUj+CXTOlCIFU8MTUwiMpDwYcKsbDB1THL7pYFO 3O4wDt4JnTWuGCZfQUg+C5gHb94IKCC2rR8SOxBcVm3tZ/rYWjxZz9wYlRf1PGGAEqIS Ok0Gr2Ja4y3YqyuenYVNqETyPWnwx5ir9Tn7LUEHuZPE+XpO2lCVTNZuNhdEcH7ncQpR 8Sjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tuFVwdGeGUYIHgVT1lBZll3EjLo+9XY7h0mxEDcs5+I=; b=PUMNchM9mWMpOpJJGlzm68o5QFu7FDA8aVBQvkgS1toIsz9lpsLrp9qiR4X+4ONaJi spY5eVJgRfHmr6fP2ivxmhuzAMFI0tCzu7vx2u9mN+yji8jYeFoyWDZXRZ49Kr6YNyo4 FyPa0BJW6eFd77MiC2iHeH782lfpmQV1KgUMVADpix9PGVbf3ztiGDMUUofdL8pAhPKR Kco8bFpoL1hEWTcEMLjLsWbP0KA905sMcXJgJlZcXGukAKiNJTnNDKKB6Tii4UmjcXXw UlVpA+uP7K9rwhGvLquVGqyF97W171CSfIFcNRMDdkTbU527g0vOuBxyDmSnpeWLWHwZ Ukxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="o/t+xKJf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si4736299edc.402.2021.09.22.18.12.10; Wed, 22 Sep 2021 18:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="o/t+xKJf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238778AbhIWBLv (ORCPT + 99 others); Wed, 22 Sep 2021 21:11:51 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33908 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238177AbhIWBLu (ORCPT ); Wed, 22 Sep 2021 21:11:50 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E280245E; Thu, 23 Sep 2021 03:10:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1632359418; bh=xC82oT6LgITr8YUk3dKMHpcWE6XWL0I0o1fufOnwuVY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o/t+xKJfjJ8fXAWvFWADNci7+gEtpdarJgXJHsBxOVufpBKVeCdfrsqsz1P+1Kv+A 0KlQ4RyJ1DHzvQ7k4XQIk4OkuyhjkcRukTkTSX9Kg8xclLxyU5xSE8QNRZOL5B5cau dMPCWHBo/H8Nna6y8nOolOg0o/x3tPAEZsCLyKxU= Date: Thu, 23 Sep 2021 04:10:16 +0300 From: Laurent Pinchart To: Kieran Bingham Cc: linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , Kieran Bingham , Geert Uytterhoeven , Magnus Damm , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v3 2/3] arm64: dts: renesas: r8a779a0: Add DSI encoders Message-ID: References: <20210923010402.3418555-1-kieran.bingham@ideasonboard.com> <20210923010402.3418555-3-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210923010402.3418555-3-kieran.bingham@ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, Thank you for the patch. On Thu, Sep 23, 2021 at 02:04:01AM +0100, Kieran Bingham wrote: > From: Kieran Bingham > > Provide the two MIPI DSI encoders on the V3U and connect them to the DU > accordingly. > > Reviewed-by: Laurent Pinchart > Signed-off-by: Kieran Bingham > --- > v2 > - Fixup indentation > > v3 > - Fix the clock references > - Fixup dsi1 as well > > arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 64 +++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > index dfe99af89908..b81b2391ed29 100644 > --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi > @@ -1270,12 +1270,76 @@ ports { > port@0 { > reg = <0>; > du_out_dsi0: endpoint { > + remote-endpoint = <&dsi0_in>; > }; > }; > > port@1 { > reg = <1>; > du_out_dsi1: endpoint { > + remote-endpoint = <&dsi1_in>; > + }; > + }; > + }; > + }; > + > + dsi0: dsi-encoder@fed80000 { > + compatible = "renesas,r8a779a0-dsi-csi2-tx"; > + reg = <0 0xfed80000 0 0x10000>; > + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; > + clocks = <&cpg CPG_MOD 415>, > + <&cpg CPG_CORE R8A779A0_CLK_DSI>, > + <&extal_clk>; I'm not sure if EXTAL is the right clock, the datasheet isn't clear about this. It's a guess as good as any other of the possible options, so we could start with it and possibly fix it later, but could you try to get clarification from Renesas on this ? > + clock-names = "fck", "dsi", "pll"; > + > + resets = <&cpg 415>; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + dsi0_in: endpoint { > + remote-endpoint = <&du_out_dsi0>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dsi0_out: endpoint { > + }; > + }; > + }; > + }; > + > + dsi1: dsi-encoder@fed90000 { > + compatible = "renesas,r8a779a0-dsi-csi2-tx"; > + reg = <0 0xfed90000 0 0x10000>; > + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; > + clocks = <&cpg CPG_MOD 415>, > + <&cpg CPG_CORE R8A779A0_CLK_DSI>, > + <&extal_clk>; > + clock-names = "fck", "dsi", "pll"; > + > + resets = <&cpg 416>; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + dsi1_in: endpoint { > + remote-endpoint = <&du_out_dsi1>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + dsi1_out: endpoint { > }; > }; > }; -- Regards, Laurent Pinchart