Skip to content

Commit 558bd89

Browse files
robherringarndb
authored andcommitted
ARM: dts: Fix more 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> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Claudiu Beznea <claudiu.beznea@microchip.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Cc: "Benoît Cousson" <bcousson@baylibre.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Andy Gross <agross@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Link: https://lore.kernel.org/r/20220407225107.2175958-1-robh@kernel.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent cfd08b9 commit 558bd89

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

arch/arm/boot/dts/at91-sam9_l9260.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
nand0: nand@40000000 {
102102
nand-bus-width = <8>;
103103
nand-ecc-mode = "soft";
104-
nand-on-flash-bbt = <1>;
104+
nand-on-flash-bbt;
105105
status = "okay";
106106
};
107107

arch/arm/boot/dts/imx28-ts4600.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
pinctrl-0 = <&mmc0_4bit_pins_a
2727
&mmc0_sck_cfg
2828
&en_sd_pwr>;
29-
broken-cd = <1>;
29+
broken-cd;
3030
bus-width = <4>;
3131
vmmc-supply = <&reg_vddio_sd0>;
3232
status = "okay";

arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
gpmc,device-width = <2>;
119119
gpmc,wait-pin = <0>;
120120
gpmc,burst-length = <4>;
121-
gpmc,cycle2cycle-samecsen = <1>;
122-
gpmc,cycle2cycle-diffcsen = <1>;
121+
gpmc,cycle2cycle-samecsen;
122+
gpmc,cycle2cycle-diffcsen;
123123
gpmc,cs-on-ns = <0>;
124124
gpmc,cs-rd-off-ns = <45>;
125125
gpmc,cs-wr-off-ns = <45>;

arch/arm/boot/dts/qcom-ipq8064.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@
972972

973973
snps,axi-config = <&stmmac_axi_setup>;
974974
snps,pbl = <32>;
975-
snps,aal = <1>;
975+
snps,aal;
976976

977977
qcom,nss-common = <&nss_common>;
978978
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -996,7 +996,7 @@
996996

997997
snps,axi-config = <&stmmac_axi_setup>;
998998
snps,pbl = <32>;
999-
snps,aal = <1>;
999+
snps,aal;
10001000

10011001
qcom,nss-common = <&nss_common>;
10021002
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -1020,7 +1020,7 @@
10201020

10211021
snps,axi-config = <&stmmac_axi_setup>;
10221022
snps,pbl = <32>;
1023-
snps,aal = <1>;
1023+
snps,aal;
10241024

10251025
qcom,nss-common = <&nss_common>;
10261026
qcom,qsgmii-csr = <&qsgmii_csr>;
@@ -1044,7 +1044,7 @@
10441044

10451045
snps,axi-config = <&stmmac_axi_setup>;
10461046
snps,pbl = <32>;
1047-
snps,aal = <1>;
1047+
snps,aal;
10481048

10491049
qcom,nss-common = <&nss_common>;
10501050
qcom,qsgmii-csr = <&qsgmii_csr>;

0 commit comments

Comments
 (0)