From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Thu, 24 Dec 2015 19:45:33 +0000 Subject: Re: [PATCH v5 03/14] ARM: shmobile: r8a7791: Add DU node to device tree Message-Id: <567C4B5D.30504@cogentembedded.com> List-Id: References: <1414332679-15497-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1414332679-15497-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Hello. On 10/26/2014 05:11 PM, Laurent Pinchart wrote: > Add the DU device with a disabled state. Boards that want to enable the > DU need to specify the output topology > > Signed-off-by: Laurent Pinchart > --- > arch/arm/boot/dts/r8a7791.dtsi | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi > index 74f18d89a35f..6b06a7665fae 100644 > --- a/arch/arm/boot/dts/r8a7791.dtsi > +++ b/arch/arm/boot/dts/r8a7791.dtsi > @@ -695,6 +695,36 @@ > renesas,#wpf = <4>; > }; > > + du: display@feb00000 { > + compatible = "renesas,du-r8a7791"; > + reg = <0 0xfeb00000 0 0x40000>, > + <0 0xfeb90000 0 0x1c>; > + reg-names = "du", "lvds.0"; > + interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>, > + <0 268 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&mstp7_clks R8A7791_CLK_DU0>, > + <&mstp7_clks R8A7791_CLK_DU1>, > + <&mstp7_clks R8A7791_CLK_LVDS0>; > + clock-names = "du.0", "du.1", "lvds.0"; > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + du_out_rgb: endpoint { > + }; > + }; > + port@1 { > + reg = <1>; > + du_out_lvds0: endpoint { > + }; Hm, my manual tell me LVDS is supported on DU0 only for R8A7791/3... [...] MBR, Sergei