Skip to content

Commit bc2fb47

Browse files
robherringarndb
authored andcommitted
arm/arm64: dts: qcom: Fix boolean properties with values
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>
1 parent 1bc12d3 commit bc2fb47

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

arch/arm/boot/dts/qcom-apq8064-pins.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
pinconf {
7777
pins = "gpio20", "gpio21";
7878
drive-strength = <2>;
79-
bias-disable = <0>;
79+
bias-disable;
8080
};
8181
};
8282

@@ -116,7 +116,7 @@
116116
pinconf {
117117
pins = "gpio24", "gpio25";
118118
drive-strength = <2>;
119-
bias-disable = <0>;
119+
bias-disable;
120120
};
121121
};
122122

@@ -141,7 +141,7 @@
141141
pinconf {
142142
pins = "gpio8", "gpio9";
143143
drive-strength = <2>;
144-
bias-disable = <0>;
144+
bias-disable;
145145
};
146146
};
147147

@@ -166,7 +166,7 @@
166166
pinconf {
167167
pins = "gpio12", "gpio13";
168168
drive-strength = <2>;
169-
bias-disable = <0>;
169+
bias-disable;
170170
};
171171
};
172172

@@ -229,7 +229,7 @@
229229
pinconf {
230230
pins = "gpio16", "gpio17";
231231
drive-strength = <2>;
232-
bias-disable = <0>;
232+
bias-disable;
233233
};
234234
};
235235

@@ -282,7 +282,7 @@
282282
pinconf {
283283
pins = "gpio84", "gpio85";
284284
drive-strength = <2>;
285-
bias-disable = <0>;
285+
bias-disable;
286286
};
287287
};
288288

arch/arm64/boot/dts/qcom/msm8996.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,14 +1249,14 @@
12491249
pins = "gpio47", "gpio48";
12501250
function = "blsp_i2c3";
12511251
drive-strength = <16>;
1252-
bias-disable = <0>;
1252+
bias-disable;
12531253
};
12541254

12551255
blsp1_i2c3_sleep: blsp1-i2c2-sleep {
12561256
pins = "gpio47", "gpio48";
12571257
function = "gpio";
12581258
drive-strength = <2>;
1259-
bias-disable = <0>;
1259+
bias-disable;
12601260
};
12611261

12621262
blsp2_uart3_4pins_default: blsp2-uart2-4pins {

arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ap_h1_spi: &spi0 {};
3333
};
3434

3535
&alc5682 {
36-
realtek,dmic-clk-driving-high = "true";
36+
realtek,dmic-clk-driving-high;
3737
};
3838

3939
&cpu6_alert0 {

arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@
630630
pins = "gpio6", "gpio25", "gpio26";
631631
function = "gpio";
632632
drive-strength = <8>;
633-
bias-disable = <0>;
633+
bias-disable;
634634
};
635635
};
636636

0 commit comments

Comments
 (0)