hdmirx: set pinmux for each port separately
authorHang Cheng <hang.cheng@amlogic.com>
Mon, 12 Mar 2018 06:33:03 +0000 (14:33 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 20 Mar 2018 11:28:40 +0000 (03:28 -0800)
PD#161978: hdmirx: set pinmux for each port separately

Change-Id: I51b933523cdc334f32662c4bb2ea75791adfad0b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
arch/arm64/boot/dts/amlogic/mesontxlx.dtsi
arch/arm64/boot/dts/amlogic/txlx_t962e_r321.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_2g.dts

index 45077bc..482289f 100644 (file)
                };
        };
 
-       hdmirx_pins: hdmirx {
-               hdmirx_a_mux {
+       hdmirx_a_mux:hdmirx_a_mux {
+               mux {
                        groups = "hdmirx_hpd_a", "hdmirx_det_a",
                                "hdmirx_sda_a", "hdmirx_sck_a";
                        function = "hdmirx_a";
                };
-               hdmirx_b_mux {
+       };
+
+       hdmirx_b_mux:hdmirx_b_mux {
+               mux {
                        groups = "hdmirx_hpd_b", "hdmirx_det_b",
                                "hdmirx_sda_b", "hdmirx_sck_b";
                        function = "hdmirx_b";
                };
-               hdmirx_c_mux {
-                       groups = "hdmirx_hpd_c","hdmirx_det_c",
+       };
+
+       hdmirx_c_mux:hdmirx_c_mux {
+               mux {
+                       groups = "hdmirx_hpd_c", "hdmirx_det_c",
                                "hdmirx_sda_c", "hdmirx_sck_c";
                        function = "hdmirx_c";
                };
-               hdmirx_d_mux {
-                       groups = "hdmirx_hpd_d","hdmirx_det_d",
+       };
+
+       hdmirx_d_mux:hdmirx_d_mux {
+               mux {
+                       groups = "hdmirx_hpd_d", "hdmirx_det_d",
                                "hdmirx_sda_d", "hdmirx_sck_d";
                        function = "hdmirx_d";
                };
index 2e9ef1a..258784e 100644 (file)
                dev_name = "hdmirx";
                status = "okay";
                pinctrl-names = "hdmirx_pins";
-               pinctrl-0 = <&hdmirx_pins>;
+               pinctrl-0 = <&hdmirx_a_mux &hdmirx_b_mux &hdmirx_d_mux>;
                repeat = <0>;
                interrupts = <0 56 1>;
                clocks = <&clkc CLKID_HDMIRX_MODET_COMP>,
index eddd72d..9dfde59 100644 (file)
                dev_name = "hdmirx";
                status = "okay";
                pinctrl-names = "hdmirx_pins";
-               pinctrl-0 = <&hdmirx_pins>;
+               pinctrl-0 = <&hdmirx_a_mux &hdmirx_b_mux
+                       &hdmirx_c_mux &hdmirx_d_mux>;
                repeat = <0>;
                interrupts = <0 56 1>;
                clocks = <&clkc CLKID_HDMIRX_MODET_COMP>,
index cf7bf9c..bd70959 100644 (file)
                dev_name = "hdmirx";
                status = "okay";
                pinctrl-names = "hdmirx_pins";
-               pinctrl-0 = <&hdmirx_pins>;
+               pinctrl-0 = <&hdmirx_a_mux &hdmirx_b_mux
+                       &hdmirx_c_mux &hdmirx_d_mux>;
                repeat = <0>;
                interrupts = <0 56 1>;
                clocks = <&clkc CLKID_HDMIRX_MODET_COMP>,