Skip to content

Commit

Permalink
arm64: dts: qcom/sdm845-shift-axolotl: Fix boolean properties with va…
Browse files Browse the repository at this point in the history
…lues

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>
  • Loading branch information
Rob Herring authored and Arnd Bergmann committed Apr 14, 2022
1 parent 56147a1 commit 4f3d7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
config {
pins = "gpio6", "gpio11";
drive-strength = <8>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down

0 comments on commit 4f3d7e5

Please sign in to comment.