ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Oct 2022 12:46:31 +0000 (14:46 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:19:59 +0000 (13:19 -0500)
DT schema expects TLMM 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: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-7-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts

index 3d5d0f2e2d9604c8f6b0160912590734d31f138f..7c8ca5ffcbb311b57fb70c9674d7c6caedb6cb76 100644 (file)
 };
 
 &tlmm {
-       sdc1_on: sdc1-on {
-               clk {
+       sdc1_on: sdc1-on-state {
+               clk-pins {
                        pins = "sdc1_clk";
                        drive-strength = <16>;
                        bias-disable;
                };
 
-               cmd-data {
+               cmd-data-pins {
                        pins = "sdc1_cmd", "sdc1_data";
                        drive-strength = <10>;
                        bias-pull-up;
                };
        };
 
-       sdc2_on: sdc2-on {
-               clk {
+       sdc2_on: sdc2-on-state {
+               clk-pins {
                        pins = "sdc2_clk";
                        drive-strength = <6>;
                        bias-disable;
                };
 
-               cmd-data {
+               cmd-data-pins {
                        pins = "sdc2_cmd", "sdc2_data";
                        drive-strength = <6>;
                        bias-pull-up;
                };
        };
 
-       mpu6515_pin: mpu6515 {
+       mpu6515_pin: mpu6515-state {
                pins = "gpio73";
                function = "gpio";
                bias-disable;
                input-enable;
        };
 
-       touch_pin: touch {
-               int {
+       touch_pin: touch-state {
+               int-pins {
                        pins = "gpio5";
                        function = "gpio";
 
                        input-enable;
                };
 
-               reset {
+               reset-pins {
                        pins = "gpio8";
                        function = "gpio";
 
                };
        };
 
-       panel_pin: panel {
+       panel_pin: panel-state {
                pins = "gpio12";
                function = "mdp_vsync";
                drive-strength = <2>;
                bias-disable;
        };
 
-       bt_pin: bt {
-               hostwake {
+       bt_pin: bt-state {
+               hostwake-pins {
                        pins = "gpio42";
                        function = "gpio";
                };
 
-               devwake {
+               devwake-pins {
                        pins = "gpio62";
                        function = "gpio";
                };
 
-               shutdown {
+               shutdown-pins {
                        pins = "gpio41";
                        function = "gpio";
                };