Skip to content

Commit

Permalink
arm/arm64: dts: qcom: Fix boolean properties with values
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/Yk3m92Sj26/v1mLG@robh.at.kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Rob Herring authored and Arnd Bergmann committed Apr 7, 2022
1 parent 1bc12d3 commit bc2fb47
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/qcom-apq8064-pins.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
pinconf {
pins = "gpio20", "gpio21";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down Expand Up @@ -116,7 +116,7 @@
pinconf {
pins = "gpio24", "gpio25";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand All @@ -141,7 +141,7 @@
pinconf {
pins = "gpio8", "gpio9";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand All @@ -166,7 +166,7 @@
pinconf {
pins = "gpio12", "gpio13";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down Expand Up @@ -229,7 +229,7 @@
pinconf {
pins = "gpio16", "gpio17";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down Expand Up @@ -282,7 +282,7 @@
pinconf {
pins = "gpio84", "gpio85";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/qcom/msm8996.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1249,14 +1249,14 @@
pins = "gpio47", "gpio48";
function = "blsp_i2c3";
drive-strength = <16>;
bias-disable = <0>;
bias-disable;
};

blsp1_i2c3_sleep: blsp1-i2c2-sleep {
pins = "gpio47", "gpio48";
function = "gpio";
drive-strength = <2>;
bias-disable = <0>;
bias-disable;
};

blsp2_uart3_4pins_default: blsp2-uart2-4pins {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ap_h1_spi: &spi0 {};
};

&alc5682 {
realtek,dmic-clk-driving-high = "true";
realtek,dmic-clk-driving-high;
};

&cpu6_alert0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@
pins = "gpio6", "gpio25", "gpio26";
function = "gpio";
drive-strength = <8>;
bias-disable = <0>;
bias-disable;
};
};

Expand Down

0 comments on commit bc2fb47

Please sign in to comment.