ARM: dts: qcom-msm8960-cdp: align TLMM pin configuration with DT schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 9 Nov 2022 10:51:40 +0000 (11:51 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 10 Nov 2022 03:34:44 +0000 (21:34 -0600)
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: Konrad Dybcio <konrad.dybcio@linaro.org>
[bjorn: Fixed up expected typo in cs-pins function]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221109105140.48196-3-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-msm8960-cdp.dts

index 3a484ac539170da9f809db990d3b4d0cde1e043e..8fa2befa629aec1c7bcd303a73ff7c38fc75429b 100644 (file)
 };
 
 &msmgpio {
-       spi1_default: spi1_default {
-                mux {
-                       pins = "gpio6", "gpio7", "gpio9";
-                       function = "gsbi1";
-                };
-
-                mosi {
+       spi1_default: spi1-default-state {
+                mosi-pins {
                        pins = "gpio6";
+                       function = "gsbi1";
                        drive-strength = <12>;
                        bias-disable;
                 };
 
-                miso {
+                miso-pins {
                        pins = "gpio7";
+                       function = "gsbi1";
                        drive-strength = <12>;
                        bias-disable;
                 };
 
-                cs {
+                cs-pins {
                        pins = "gpio8";
+                       function = "gsbi1";
                        drive-strength = <12>;
                        bias-disable;
                        output-low;
                 };
 
-                clk {
+                clk-pins {
                        pins = "gpio9";
+                       function = "gsbi1";
                        drive-strength = <12>;
                        bias-disable;
                 };