linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree
@ 2014-09-17 14:11 Laurent Pinchart
  2014-09-17 19:03 ` Sergei Shtylyov
  2014-09-17 19:25 ` Laurent Pinchart
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2014-09-17 14:11 UTC (permalink / raw)
  To: linux-sh

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 <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7779.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index 7cfba9a..f4c03cc 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -379,6 +379,30 @@
 		status = "disabled";
 	};
 
+	du: du@fff80000 {
+		compatible = "renesas,du-r8a7779";
+		reg = <0 0xfff80000 0 0x40000>;
+		interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp1_clks R8A7779_CLK_DU>;
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				du_out_rgb0: endpoint {
+				};
+			};
+			port@1 {
+				reg = <1>;
+				du_out_rgb1: endpoint {
+				};
+			};
+		};
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.8.5.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree
  2014-09-17 14:11 [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree Laurent Pinchart
@ 2014-09-17 19:03 ` Sergei Shtylyov
  2014-09-17 19:25 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2014-09-17 19:03 UTC (permalink / raw)
  To: linux-sh

Hello.

On 9/17/2014 5: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 <laurent.pinchart+renesas@ideasonboard.com>
> ---
>   arch/arm/boot/dts/r8a7779.dtsi | 24 ++++++++++++++++++++++++
>   1 file changed, 24 insertions(+)

> diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
> index 7cfba9a..f4c03cc 100644
> --- a/arch/arm/boot/dts/r8a7779.dtsi
> +++ b/arch/arm/boot/dts/r8a7779.dtsi
> @@ -379,6 +379,30 @@
>   		status = "disabled";
>   	};
>
> +	du: du@fff80000 {

    Perhaps the "display" name from the ePAPR section 2.2.2 fits here?

WBR, Sergei


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree
  2014-09-17 14:11 [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree Laurent Pinchart
  2014-09-17 19:03 ` Sergei Shtylyov
@ 2014-09-17 19:25 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2014-09-17 19:25 UTC (permalink / raw)
  To: linux-sh

Hi Sergei,

On Wednesday 17 September 2014 22:03:12 Sergei Shtylyov wrote:
> Hello.
> 
> On 9/17/2014 5: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
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> > 
> >   arch/arm/boot/dts/r8a7779.dtsi | 24 ++++++++++++++++++++++++
> >   1 file changed, 24 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/r8a7779.dtsi
> > b/arch/arm/boot/dts/r8a7779.dtsi index 7cfba9a..f4c03cc 100644
> > --- a/arch/arm/boot/dts/r8a7779.dtsi
> > +++ b/arch/arm/boot/dts/r8a7779.dtsi
> > @@ -379,6 +379,30 @@
> >   		status = "disabled";
> >   	};
> > 
> > +	du: du@fff80000 {
> 
> Perhaps the "display" name from the ePAPR section 2.2.2 fits here?

You're absolutely right. I'm sure I'll start thinking about it by myself one 
day, but until then, please keep on bugging me when I get it wrong :-)

I'll wait for others to comment on the series and I'll then resubmit it.

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-17 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17 14:11 [PATCH 1/8] ARM: shmobile: r8a7779: Add DU node to device tree Laurent Pinchart
2014-09-17 19:03 ` Sergei Shtylyov
2014-09-17 19:25 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).