Message ID | 1463402840-17062-15-git-send-email-maxime.ripard@free-electrons.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard <maxime.ripard@free-electrons.com> wrote: > The RGB bus can be used in several configurations, one of which being the > RGB666. > > Add a pinctrl group for that case. > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org> > --- > arch/arm/boot/dts/sun5i-a13.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi > index 263d46dbc7e6..79b5d513c142 100644 > --- a/arch/arm/boot/dts/sun5i-a13.dtsi > +++ b/arch/arm/boot/dts/sun5i-a13.dtsi > @@ -237,6 +237,16 @@ > &pio { > compatible = "allwinner,sun5i-a13-pinctrl"; > > + lcd_rgb666_pins: lcd_rgb666@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 = <SUN4I_PINCTRL_10_MA>; Just a thought: would we ever need to increase the drive strength for very high resolutions? > + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; > + }; > + > uart1_pins_a: uart1@0 { > allwinner,pins = "PE10", "PE11"; > allwinner,function = "uart1"; > -- > 2.8.2 > -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, May 17, 2016 at 01:13:01AM +0800, Chen-Yu Tsai wrote: > > arch/arm/boot/dts/sun5i-a13.dtsi | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi > > index 263d46dbc7e6..79b5d513c142 100644 > > --- a/arch/arm/boot/dts/sun5i-a13.dtsi > > +++ b/arch/arm/boot/dts/sun5i-a13.dtsi > > @@ -237,6 +237,16 @@ > > &pio { > > compatible = "allwinner,sun5i-a13-pinctrl"; > > > > + lcd_rgb666_pins: lcd_rgb666@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 = <SUN4I_PINCTRL_10_MA>; > > Just a thought: would we ever need to increase the drive strength for very high > resolutions? I don't think we need to, but we can always change that later. Applied, thanks! Maxime
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 263d46dbc7e6..79b5d513c142 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi @@ -237,6 +237,16 @@ &pio { compatible = "allwinner,sun5i-a13-pinctrl"; + lcd_rgb666_pins: lcd_rgb666@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 = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + }; + uart1_pins_a: uart1@0 { allwinner,pins = "PE10", "PE11"; allwinner,function = "uart1";
The RGB bus can be used in several configurations, one of which being the RGB666. Add a pinctrl group for that case. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- arch/arm/boot/dts/sun5i-a13.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)