OSDN Git Service

ARM: dts: at91: nattis: move pinctrls for the lvds chip to the lvds node
authorPeter Rosin <peda@axentia.se>
Tue, 28 Aug 2018 09:48:43 +0000 (11:48 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 28 Aug 2018 10:14:41 +0000 (12:14 +0200)
The atmel hlcdc controller has nothing to do with these pins, so move
them to where they belong.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-nattis-2-natte-2.dts

index fbc7961..2eb0f94 100644 (file)
@@ -34,7 +34,7 @@
                                                         AT91_PINCTRL_PULL_UP_DEGLITCH>;
                                        };
 
-                                       pinctrl_lcd_prlud0: lcd_prlud0 {
+                                       pinctrl_lvds_prlud0: lvds_prlud0 {
                                                atmel,pins =
                                                        <AT91_PIOA 21
                                                         AT91_PERIPH_GPIO
@@ -42,7 +42,7 @@
                                                          AT91_PINCTRL_OUTPUT_VAL(0))>;
                                        };
 
-                                       pinctrl_lcd_hipow0: lcd_hipow0 {
+                                       pinctrl_lvds_hipow0: lvds_hipow0 {
                                                atmel,pins =
                                                        <AT91_PIOA 23
                                                         AT91_PERIPH_GPIO
        lvds-encoder {
                compatible = "ti,ds90c185", "lvds-encoder";
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_lvds_prlud0 &pinctrl_lvds_hipow0>;
+
                ports {
                        #address-cells = <1>;
                        #size-cells = <0>;
 
        hlcdc-display-controller {
                pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_lcd_base
-                            &pinctrl_lcd_rgb565
-                            &pinctrl_lcd_prlud0
-                            &pinctrl_lcd_hipow0>;
+               pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb565>;
 
                port@0 {
                        hlcdc_output: endpoint {