[linux-sunxi] [PATCH 6/7] ARM: sun8i: a33: Add RGB666 pins

2016-09-02 Thread Chen-Yu Tsai
Hi,

On Thu, Sep 1, 2016 at 11:32 PM, Maxime Ripard
 wrote:
> The LCD output needs to be muxed. Add the proper pinctrl node.
>
> Signed-off-by: Maxime Ripard 
> ---
>  arch/arm/boot/dts/sun8i-a33.dtsi | 10 ++
>  1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi 
> b/arch/arm/boot/dts/sun8i-a33.dtsi
> index 5f9dbd17eb50..d5f93c05846f 100644
> --- a/arch/arm/boot/dts/sun8i-a33.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a33.dtsi
> @@ -300,6 +300,16 @@
> interrupts = ,
>  ;
>
> +   tcon0_rgb666_pins_a: tcon0_rgb666 at 0 {

This is the only possible combination. You can drop the _a and @0.

Also this can be shared with A23, as they are pin compatible, and I
also matched the datasheets.

Otherwise

Acked-by: Chen-Yu Tsai 

> +   allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
> +"PD10", "PD11", "PD12", "PD13", "PD14", 
> "PD15",
> +"PD18", "PD19", "PD20", "PD21", "PD22", 
> "PD23",
> +"PD24", "PD25", "PD26", "PD27";
> +   allwinner,function = "lcd0";
> +   allwinner,drive = ;
> +   allwinner,pull = ;
> +   };
> +
> uart0_pins_b: uart0 at 1 {
> allwinner,pins = "PB0", "PB1";
> allwinner,function = "uart0";
> --
> 2.9.2
>
> --
> You received this message because you are subscribed to the Google Groups 
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to linux-sunxi+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


[PATCH 6/7] ARM: sun8i: a33: Add RGB666 pins

2016-09-01 Thread Maxime Ripard
The LCD output needs to be muxed. Add the proper pinctrl node.

Signed-off-by: Maxime Ripard 
---
 arch/arm/boot/dts/sun8i-a33.dtsi | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index 5f9dbd17eb50..d5f93c05846f 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -300,6 +300,16 @@
interrupts = ,
 ;

+   tcon0_rgb666_pins_a: tcon0_rgb666 at 0 {
+   allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
+"PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
+"PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
+"PD24", "PD25", "PD26", "PD27";
+   allwinner,function = "lcd0";
+   allwinner,drive = ;
+   allwinner,pull = ;
+   };
+
uart0_pins_b: uart0 at 1 {
allwinner,pins = "PB0", "PB1";
allwinner,function = "uart0";
-- 
2.9.2