ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 6 Oct 2022 12:46:29 +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.  Schema
also requires 'function' property, so two nodes for the same gpio (mux
and config) should be merged into one.

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-5-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts

index a4fa468a095fc3105a92afed30738096bfb9947e..ac8b4626ae9accd09e43f8380115587cef2e45aa 100644 (file)
 };
 
 &tlmm {
-       pcie_ep_clkreq_default: pcie_ep_clkreq_default {
-               mux {
-                       pins = "gpio56";
-                       function = "pcie_clkreq";
-               };
-               config {
-                       pins = "gpio56";
-                       drive-strength = <2>;
-                       bias-disable;
-               };
+       pcie_ep_clkreq_default: pcie-ep-clkreq-default-state {
+               pins = "gpio56";
+               function = "pcie_clkreq";
+               drive-strength = <2>;
+               bias-disable;
        };
 
-       pcie_ep_perst_default: pcie_ep_perst_default {
-               mux {
-                       pins = "gpio57";
-                       function = "gpio";
-               };
-               config {
-                       pins = "gpio57";
-                       drive-strength = <2>;
-                       bias-pull-down;
-               };
+       pcie_ep_perst_default: pcie-ep-perst-default-state {
+               pins = "gpio57";
+               function = "gpio";
+               drive-strength = <2>;
+               bias-pull-down;
        };
 
-       pcie_ep_wake_default: pcie_ep_wake_default {
-               mux {
-                       pins = "gpio53";
-                       function = "gpio";
-               };
-               config {
-                       pins = "gpio53";
-                       drive-strength = <2>;
-                       bias-disable;
-               };
+       pcie_ep_wake_default: pcie-ep-wake-default-state {
+               pins = "gpio53";
+               function = "gpio";
+               drive-strength = <2>;
+               bias-disable;
        };
 };