From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f68.google.com ([209.85.215.68]:42549 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310AbeBHQF4 (ORCPT ); Thu, 8 Feb 2018 11:05:56 -0500 Received: by mail-lf0-f68.google.com with SMTP id q17so7107022lfa.9 for ; Thu, 08 Feb 2018 08:05:55 -0800 (PST) Subject: Re: [PATCH v2 4/5] arm64: dts: renesas: r8a77970: add the LVDS instance To: =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Simon Horman , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org References: <20180208154720.5766-1-niklas.soderlund+renesas@ragnatech.se> <20180208154720.5766-5-niklas.soderlund+renesas@ragnatech.se> From: Sergei Shtylyov Message-ID: Date: Thu, 8 Feb 2018 19:05:53 +0300 MIME-Version: 1.0 In-Reply-To: <20180208154720.5766-5-niklas.soderlund+renesas@ragnatech.se> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 8bit Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hello! On 02/08/2018 06:47 PM, Niklas Söderlund wrote: > Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect > the it to the LVDS output of the DU. While at it align the endpoint name > of the du to du_out_lvds0 which is used in other Renesas DTS files to > describe this link. > > Signed-off-by: Niklas Söderlund > --- > arch/arm64/boot/dts/renesas/r8a77970.dtsi | 29 ++++++++++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/renesas/r8a77970.dtsi b/arch/arm64/boot/dts/renesas/r8a77970.dtsi > index c6056635bd372ce3..9c65884cc384952d 100644 > --- a/arch/arm64/boot/dts/renesas/r8a77970.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a77970.dtsi > @@ -653,7 +653,34 @@ > > port@1 { > reg = <1>; > - du_out_lvds: endpoint { > + du_out_lvds0: endpoint { > + remote-endpoint = <&lvds0_in>; > + }; > + }; > + }; > + }; > + > + lvds0: lvds@feb90000 { > + compatible = "renesas,r8a77970-lvds"; > + reg = <0 0xfeb90000 0 0x14>; > + clocks = <&cpg CPG_MOD 727>; > + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; > + resets = <&cpg 727>; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + lvds0_in: endpoint { > + remote-endpoint = <&du_out_lvds0>; > + }; > + }; > + port@1 { > + reg = <1>; > + lvds0_out: endpoint { > }; > }; > }; That's basically my patch modulo the added "power-domains" and "resets" props, and the node/endpoint rename (of a dubious value, if you ask me ;-)). MBSR, Sergei