]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: tegra: Fix boolean properties with values
authorRob Herring <robh@kernel.org>
Wed, 6 Apr 2022 19:17:30 +0000 (14:17 -0500)
committerArnd Bergmann <arnd@arndb.de>
Thu, 7 Apr 2022 12:03:02 +0000 (14:03 +0200)
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/Yk3nShkFzNJaI3/Z@robh.at.kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index aff857df25cf4c35ec71bad4c896be4e7a5b485c..1df84335925b59204f198d795b3cffc02cb58328 100644 (file)
                                        gpio4 {
                                                pins = "gpio4";
                                                function = "32k-out1";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio5 {
                                                pins = "gpio5";
                                                function = "gpio";
-                                               drive-push-pull = <0>;
+                                               drive-push-pull;
                                        };
 
                                        gpio6 {
                                                pins = "gpio6";
                                                function = "gpio";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio7 {
                                                pins = "gpio7";
                                                function = "gpio";
-                                               drive-push-pull = <0>;
+                                               drive-push-pull;
                                        };
                                };
 
index 4631504c3c7a6456416a1df7757b0a72a0d4362f..1ab132c152bb9e22c3ed1a8d64605e8f693a8df9 100644 (file)
                                        gpio4 {
                                                pins = "gpio4";
                                                function = "32k-out1";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio5 {
                                                pins = "gpio5";
                                                function = "gpio";
-                                               drive-push-pull = <0>;
+                                               drive-push-pull;
                                        };
 
                                        gpio6 {
                                                pins = "gpio6";
                                                function = "gpio";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio7 {
                                                pins = "gpio7";
                                                function = "gpio";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
                                };
 
index a7d7cfd66379f305173a5d81e59c1421f85ae93e..634d0f493c2e8f938d8e63eab4066955389cc061 100644 (file)
                                        gpio4 {
                                                pins = "gpio4";
                                                function = "32k-out1";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio6 {
                                                pins = "gpio6";
                                                function = "gpio";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio7 {
                                                pins = "gpio7";
                                                function = "gpio";
-                                               drive-push-pull = <0>;
+                                               drive-push-pull;
                                        };
                                };
 
index 0bd66f9c620b92f1370e3db4a61116e86f6a57c4..0b219e72765edbfdd683325defa6f0b69cf5945e 100644 (file)
                                        gpio4 {
                                                pins = "gpio4";
                                                function = "32k-out1";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio6 {
                                                pins = "gpio6";
                                                function = "gpio";
-                                               drive-push-pull = <1>;
+                                               drive-push-pull;
                                        };
 
                                        gpio7 {
                                                pins = "gpio7";
                                                function = "gpio";
-                                               drive-push-pull = <0>;
+                                               drive-push-pull;
                                        };
                                };
 
index 75eb743a724270230a5f3f7b18163596b15b914e..0fe772b04bd02242511c89ca808c42083aca344c 100644 (file)
@@ -59,7 +59,7 @@
                                gpio1 {
                                        pins = "gpio1";
                                        function = "fps-out";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                        maxim,active-fps-power-up-slot = <7>;
                                        maxim,active-fps-power-down-slot = <0>;
@@ -68,7 +68,7 @@
                                gpio2_3 {
                                        pins = "gpio2", "gpio3";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                };
 
@@ -80,7 +80,7 @@
                                gpio5_6_7 {
                                        pins = "gpio5", "gpio6", "gpio7";
                                        function = "gpio";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                };
                        };
 
index 10347b6e6e8478f9130b5952b1b8d2a8bde40e6f..936a309e288c3ecf090afeb51e438b40f8d50a48 100644 (file)
                                gpio1 {
                                        pins = "gpio1";
                                        function = "fps-out";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                        maxim,active-fps-power-up-slot = <7>;
                                        maxim,active-fps-power-down-slot = <0>;
                                gpio2 {
                                        pins = "gpio2";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                };
 
                                gpio3 {
                                        pins = "gpio3";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                };
 
                                gpio5_6_7 {
                                        pins = "gpio5", "gpio6", "gpio7";
                                        function = "gpio";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                };
                        };
 
index 72c2dc3c14eac4dc9df481ccbb4cc5b5b5e84f82..f6446120c26725bb905759b08d2e886938e7d715 100644 (file)
                                gpio1 {
                                        pins = "gpio1";
                                        function = "fps-out";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
                                        maxim,active-fps-power-up-slot = <0>;
                                        maxim,active-fps-power-down-slot = <7>;
                                gpio2 {
                                        pins = "gpio2";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                        maxim,active-fps-power-up-slot = <0>;
                                        maxim,active-fps-power-down-slot = <7>;
                                gpio3 {
                                        pins = "gpio3";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                        maxim,active-fps-power-up-slot = <4>;
                                        maxim,active-fps-power-down-slot = <3>;
                                gpio5_6_7 {
                                        pins = "gpio5", "gpio6", "gpio7";
                                        function = "gpio";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                };
                        };
 
index a263d51882ee766ac6061eb6c812a4075458d915..e42384f097d64847652d991acfb2631ce48fd906 100644 (file)
                                gpio3 {
                                        pins = "gpio3";
                                        function = "fps-out";
-                                       drive-open-drain = <1>;
+                                       drive-open-drain;
                                        maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
                                        maxim,active-fps-power-up-slot = <4>;
                                        maxim,active-fps-power-down-slot = <2>;
                                gpio5_6 {
                                        pins = "gpio5", "gpio6";
                                        function = "gpio";
-                                       drive-push-pull = <1>;
+                                       drive-push-pull;
                                };
 
                                gpio4 {