lcd: unify lcd pinmux usage in dts [1/1]
authorShaochan Liu <shaochan.liu@amlogic.com>
Wed, 26 Dec 2018 07:07:47 +0000 (15:07 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 18 Jan 2019 04:06:39 +0000 (20:06 -0800)
PD#SWPL-3294

Problem:
unify lcd pinmux usage in dts

Solution:
change lcd pinmux usage to be recommend by linux upstream

Verify:
verify by t962x_r311

Change-Id: I7069b5272fa779575a8111b12a3ed835ab72cd02
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm/boot/dts/amlogic/txlx_t962x_r311_2g.dts
arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts
arch/arm/boot/dts/amlogic/txlx_t962x_r314.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_2g.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r314.dts

index 880e7a5..c3d094f 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index 09477ca..5a3c4a4 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index 3ea9f13..e8d4868 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index ba553a1..ab3ab7f 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index 6b8c7e5..a7a196e 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index d02cc3c..ad07f80 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index a1d132e..0e7b1f5 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;
index d97d59a..706cd74 100644 (file)
        /*lcd_extern*/
        lcd_extern_off_pins:lcd_extern_off_pin {
                mux {
-                       pins = "GPIOH_2",
+                       groups = "GPIOH_2",
                                "GPIOH_3";
                        function = "gpio_periphs";
                        /*output-high;*/
        /*backlight*/
        bl_pwm_on_pins:bl_pwm_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_vs_on_pins:bl_pwm_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_off_pins:bl_pwm_off_pin {
                mux {
-                       pins = "GPIOZ_6";
+                       groups = "GPIOZ_6";
                        function = "gpio_periphs";
                        output-low;
                };
        };
        bl_pwm_combo_0_on_pins:bl_pwm_combo_0_on_pin {
                mux {
-                       pins = "pwm_b";
+                       groups = "pwm_b";
                        function = "pwm_b";
                };
        };
        bl_pwm_combo_1_on_pins:bl_pwm_combo_1_on_pin {
                mux {
-                       pins = "pwm_c_z";
+                       groups = "pwm_c_z";
                        function = "pwm_c";
                };
        };
        bl_pwm_combo_0_vs_on_pins:bl_pwm_combo_0_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z6";
+                       groups = "pwm_vs_z6";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_1_vs_on_pins:bl_pwm_combo_1_vs_on_pin {
                mux {
-                       pins = "pwm_vs_z7";
+                       groups = "pwm_vs_z7";
                        function = "pwm_vs";
                };
        };
        bl_pwm_combo_off_pins:bl_pwm_combo_off_pin {
                mux {
-                       pins = "GPIOZ_6",
+                       groups = "GPIOZ_6",
                                "GPIOZ_7";
                        function = "gpio_periphs";
                        output-low;