Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Arnd Bergmann
bc2fb47d 1bc12d30

+10 -10
+6 -6
arch/arm/boot/dts/qcom-apq8064-pins.dtsi
··· 76 76 pinconf { 77 77 pins = "gpio20", "gpio21"; 78 78 drive-strength = <2>; 79 - bias-disable = <0>; 79 + bias-disable; 80 80 }; 81 81 }; 82 82 ··· 116 116 pinconf { 117 117 pins = "gpio24", "gpio25"; 118 118 drive-strength = <2>; 119 - bias-disable = <0>; 119 + bias-disable; 120 120 }; 121 121 }; 122 122 ··· 141 141 pinconf { 142 142 pins = "gpio8", "gpio9"; 143 143 drive-strength = <2>; 144 - bias-disable = <0>; 144 + bias-disable; 145 145 }; 146 146 }; 147 147 ··· 166 166 pinconf { 167 167 pins = "gpio12", "gpio13"; 168 168 drive-strength = <2>; 169 - bias-disable = <0>; 169 + bias-disable; 170 170 }; 171 171 }; 172 172 ··· 229 229 pinconf { 230 230 pins = "gpio16", "gpio17"; 231 231 drive-strength = <2>; 232 - bias-disable = <0>; 232 + bias-disable; 233 233 }; 234 234 }; 235 235 ··· 282 282 pinconf { 283 283 pins = "gpio84", "gpio85"; 284 284 drive-strength = <2>; 285 - bias-disable = <0>; 285 + bias-disable; 286 286 }; 287 287 }; 288 288
+2 -2
arch/arm64/boot/dts/qcom/msm8996.dtsi
··· 1249 1249 pins = "gpio47", "gpio48"; 1250 1250 function = "blsp_i2c3"; 1251 1251 drive-strength = <16>; 1252 - bias-disable = <0>; 1252 + bias-disable; 1253 1253 }; 1254 1254 1255 1255 blsp1_i2c3_sleep: blsp1-i2c2-sleep { 1256 1256 pins = "gpio47", "gpio48"; 1257 1257 function = "gpio"; 1258 1258 drive-strength = <2>; 1259 - bias-disable = <0>; 1259 + bias-disable; 1260 1260 }; 1261 1261 1262 1262 blsp2_uart3_4pins_default: blsp2-uart2-4pins {
+1 -1
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi
··· 33 33 }; 34 34 35 35 &alc5682 { 36 - realtek,dmic-clk-driving-high = "true"; 36 + realtek,dmic-clk-driving-high; 37 37 }; 38 38 39 39 &cpu6_alert0 {
+1 -1
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
··· 630 630 pins = "gpio6", "gpio25", "gpio26"; 631 631 function = "gpio"; 632 632 drive-strength = <8>; 633 - bias-disable = <0>; 633 + bias-disable; 634 634 }; 635 635 }; 636 636