diff mbox

ARM: dts: silk: add DU pins

Message ID 2415333.mtLdVEoB2G@wasted.cogentembedded.com (mailing list archive)
State Accepted
Commit adc47ecf5a8d35f8060c88ac818cd5404268f3ed
Delegated to: Simon Horman
Headers show

Commit Message

Sergei Shtylyov April 13, 2016, 7:36 p.m. UTC
Add the (previously omitted) DU pin data to the SILK board's device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
This patch is against the 'renesas-devel-20160411-v4.6-rc3' tag of Simon
Horman's 'renesas.git' repo. It depends on the R8A7794 DU PFC driver patch
just posted for the pins to be configured...

 arch/arm/boot/dts/r8a7794-silk.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Sergei Shtylyov June 17, 2016, 8:53 p.m. UTC | #1
Hello.

On 04/13/2016 10:36 PM, Sergei Shtylyov wrote:

> Add the (previously omitted) DU pin data to the SILK board's device tree.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against the 'renesas-devel-20160411-v4.6-rc3' tag of Simon
> Horman's 'renesas.git' repo. It depends on the R8A7794 DU PFC driver patch
> just posted for the pins to be configured...

    Simon, this patch seems stuck while the PFC driver patch hit Linus' tree 
long ago. :-(

MBR, Sergei
Simon Horman June 20, 2016, 8:35 a.m. UTC | #2
On Fri, Jun 17, 2016 at 11:53:21PM +0300, Sergei Shtylyov wrote:
> Hello.
> 
> On 04/13/2016 10:36 PM, Sergei Shtylyov wrote:
> 
> >Add the (previously omitted) DU pin data to the SILK board's device tree.
> >
> >Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >
> >---
> >This patch is against the 'renesas-devel-20160411-v4.6-rc3' tag of Simon
> >Horman's 'renesas.git' repo. It depends on the R8A7794 DU PFC driver patch
> >just posted for the pins to be configured...
> 
>    Simon, this patch seems stuck while the PFC driver patch hit Linus' tree
> long ago. :-(

Thanks, I have queued it up.
diff mbox

Patch

Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -183,6 +183,16 @@ 
 		groups = "usb1";
 		function = "usb1";
 	};
+
+	du0_pins: du0 {
+		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
+		function = "du0";
+	};
+
+	du1_pins: du1 {
+		groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
+		function = "du1";
+	};
 };
 
 &scif2 {
@@ -360,6 +370,8 @@ 
 };
 
 &du {
+	pinctrl-0 = <&du0_pins &du1_pins>;
+	pinctrl-names = "default";
 	status = "okay";
 
 	clocks = <&mstp7_clks R8A7794_CLK_DU0>,