arm64: dts: qcom: sm8250: align LPASS pin configuration with DT schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 27 Sep 2022 15:34:21 +0000 (17:34 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Nov 2022 02:49:16 +0000 (21:49 -0500)
DT schema expects LPASS pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927153429.55365-5-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 676b08fd0d997688cd0efd42cde77b24d1576f28..369252fe8a7ba46354d8f60816cf5f321a43a335 100644 (file)
                                <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
                        clock-names = "core", "audio";
 
-                       wsa_swr_active: wsa-swr-active-pins {
-                               clk {
+                       wsa_swr_active: wsa-swr-active-state {
+                               clk-pins {
                                        pins = "gpio10";
                                        function = "wsa_swr_clk";
                                        drive-strength = <2>;
                                        bias-disable;
                                };
 
-                               data {
+                               data-pins {
                                        pins = "gpio11";
                                        function = "wsa_swr_data";
                                        drive-strength = <2>;
                                };
                        };
 
-                       wsa_swr_sleep: wsa-swr-sleep-pins {
-                               clk {
+                       wsa_swr_sleep: wsa-swr-sleep-state {
+                               clk-pins {
                                        pins = "gpio10";
                                        function = "wsa_swr_clk";
                                        drive-strength = <2>;
                                        bias-pull-down;
                                };
 
-                               data {
+                               data-pins {
                                        pins = "gpio11";
                                        function = "wsa_swr_data";
                                        drive-strength = <2>;
                                };
                        };
 
-                       dmic01_active: dmic01-active-pins {
-                               clk {
+                       dmic01_active: dmic01-active-state {
+                               clk-pins {
                                        pins = "gpio6";
                                        function = "dmic1_clk";
                                        drive-strength = <8>;
                                        output-high;
                                };
-                               data {
+                               data-pins {
                                        pins = "gpio7";
                                        function = "dmic1_data";
                                        drive-strength = <8>;
                                };
                        };
 
-                       dmic01_sleep: dmic01-sleep-pins {
-                               clk {
+                       dmic01_sleep: dmic01-sleep-state {
+                               clk-pins {
                                        pins = "gpio6";
                                        function = "dmic1_clk";
                                        drive-strength = <2>;
                                        output-low;
                                };
 
-                               data {
+                               data-pins {
                                        pins = "gpio7";
                                        function = "dmic1_data";
                                        drive-strength = <2>;
                                };
                        };
 
-                       rx_swr_active: rx_swr-active-pins {
-                               clk {
+                       rx_swr_active: rx-swr-active-state {
+                               clk-pins {
                                        pins = "gpio3";
                                        function = "swr_rx_clk";
                                        drive-strength = <2>;
                                        bias-disable;
                                };
 
-                               data {
+                               data-pins {
                                        pins = "gpio4", "gpio5";
                                        function = "swr_rx_data";
                                        drive-strength = <2>;
                                };
                        };
 
-                       tx_swr_active: tx_swr-active-pins {
-                               clk {
+                       tx_swr_active: tx-swr-active-state {
+                               clk-pins {
                                        pins = "gpio0";
                                        function = "swr_tx_clk";
                                        drive-strength = <2>;
                                        bias-disable;
                                };
 
-                               data {
+                               data-pins {
                                        pins = "gpio1", "gpio2";
                                        function = "swr_tx_data";
                                        drive-strength = <2>;
                                };
                        };
 
-                       tx_swr_sleep: tx_swr-sleep-pins {
-                               clk {
+                       tx_swr_sleep: tx-swr-sleep-state {
+                               clk-pins {
                                        pins = "gpio0";
                                        function = "swr_tx_clk";
                                        drive-strength = <2>;
                                        bias-pull-down;
                                };
 
-                               data1 {
+                               data1-pins {
                                        pins = "gpio1";
                                        function = "swr_tx_data";
                                        drive-strength = <2>;
                                        bias-bus-hold;
                                };
 
-                               data2 {
+                               data2-pins {
                                        pins = "gpio2";
                                        function = "swr_tx_data";
                                        drive-strength = <2>;