arm64: dts: qcom/sdm845-shift-axolotl: Fix boolean properties with values
authorRob Herring <robh@kernel.org>
Thu, 7 Apr 2022 22:52:54 +0000 (17:52 -0500)
committerArnd Bergmann <arnd@arndb.de>
Thu, 14 Apr 2022 20:52:17 +0000 (22:52 +0200)
Boolean properties in DT are present or not present and don't take a value.
A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't
matter.

It may have been intended that 0 values are false, but there is no change
in behavior with this patch.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Link: https://lore.kernel.org/r/20220407225254.2178644-1-robh@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts

index 8553c8b..103cc40 100644 (file)
                config {
                        pins = "gpio6", "gpio11";
                        drive-strength = <8>;
-                       bias-disable = <0>;
+                       bias-disable;
                };
        };