arm64: dts: tegra: 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/Yk3nShkFzNJaI3/Z@robh.at.kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Rob Herring 2022-04-06 14:17:30 -05:00 committed by Arnd Bergmann
parent 0dc23d1a8e
commit 1a67653de0
No known key found for this signature in database
GPG Key ID: 9A6C79EFE60018D9
8 changed files with 27 additions and 27 deletions

View File

@ -262,25 +262,25 @@
gpio4 { gpio4 {
pins = "gpio4"; pins = "gpio4";
function = "32k-out1"; function = "32k-out1";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio5 { gpio5 {
pins = "gpio5"; pins = "gpio5";
function = "gpio"; function = "gpio";
drive-push-pull = <0>; drive-push-pull;
}; };
gpio6 { gpio6 {
pins = "gpio6"; pins = "gpio6";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio7 { gpio7 {
pins = "gpio7"; pins = "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <0>; drive-push-pull;
}; };
}; };

View File

@ -462,25 +462,25 @@
gpio4 { gpio4 {
pins = "gpio4"; pins = "gpio4";
function = "32k-out1"; function = "32k-out1";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio5 { gpio5 {
pins = "gpio5"; pins = "gpio5";
function = "gpio"; function = "gpio";
drive-push-pull = <0>; drive-push-pull;
}; };
gpio6 { gpio6 {
pins = "gpio6"; pins = "gpio6";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio7 { gpio7 {
pins = "gpio7"; pins = "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
}; };

View File

@ -174,19 +174,19 @@
gpio4 { gpio4 {
pins = "gpio4"; pins = "gpio4";
function = "32k-out1"; function = "32k-out1";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio6 { gpio6 {
pins = "gpio6"; pins = "gpio6";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio7 { gpio7 {
pins = "gpio7"; pins = "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <0>; drive-push-pull;
}; };
}; };

View File

@ -148,19 +148,19 @@
gpio4 { gpio4 {
pins = "gpio4"; pins = "gpio4";
function = "32k-out1"; function = "32k-out1";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio6 { gpio6 {
pins = "gpio6"; pins = "gpio6";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio7 { gpio7 {
pins = "gpio7"; pins = "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <0>; drive-push-pull;
}; };
}; };

View File

@ -59,7 +59,7 @@
gpio1 { gpio1 {
pins = "gpio1"; pins = "gpio1";
function = "fps-out"; function = "fps-out";
drive-push-pull = <1>; drive-push-pull;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
maxim,active-fps-power-up-slot = <7>; maxim,active-fps-power-up-slot = <7>;
maxim,active-fps-power-down-slot = <0>; maxim,active-fps-power-down-slot = <0>;
@ -68,7 +68,7 @@
gpio2_3 { gpio2_3 {
pins = "gpio2", "gpio3"; pins = "gpio2", "gpio3";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
}; };
@ -80,7 +80,7 @@
gpio5_6_7 { gpio5_6_7 {
pins = "gpio5", "gpio6", "gpio7"; pins = "gpio5", "gpio6", "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
}; };

View File

@ -1351,7 +1351,7 @@
gpio1 { gpio1 {
pins = "gpio1"; pins = "gpio1";
function = "fps-out"; function = "fps-out";
drive-push-pull = <1>; drive-push-pull;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
maxim,active-fps-power-up-slot = <7>; maxim,active-fps-power-up-slot = <7>;
maxim,active-fps-power-down-slot = <0>; maxim,active-fps-power-down-slot = <0>;
@ -1360,14 +1360,14 @@
gpio2 { gpio2 {
pins = "gpio2"; pins = "gpio2";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
}; };
gpio3 { gpio3 {
pins = "gpio3"; pins = "gpio3";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
}; };
@ -1379,7 +1379,7 @@
gpio5_6_7 { gpio5_6_7 {
pins = "gpio5", "gpio6", "gpio7"; pins = "gpio5", "gpio6", "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
}; };

View File

@ -195,7 +195,7 @@
gpio1 { gpio1 {
pins = "gpio1"; pins = "gpio1";
function = "fps-out"; function = "fps-out";
drive-push-pull = <1>; drive-push-pull;
maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
maxim,active-fps-power-up-slot = <0>; maxim,active-fps-power-up-slot = <0>;
maxim,active-fps-power-down-slot = <7>; maxim,active-fps-power-down-slot = <7>;
@ -204,7 +204,7 @@
gpio2 { gpio2 {
pins = "gpio2"; pins = "gpio2";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
maxim,active-fps-power-up-slot = <0>; maxim,active-fps-power-up-slot = <0>;
maxim,active-fps-power-down-slot = <7>; maxim,active-fps-power-down-slot = <7>;
@ -213,7 +213,7 @@
gpio3 { gpio3 {
pins = "gpio3"; pins = "gpio3";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
maxim,active-fps-power-up-slot = <4>; maxim,active-fps-power-up-slot = <4>;
maxim,active-fps-power-down-slot = <3>; maxim,active-fps-power-down-slot = <3>;
@ -227,7 +227,7 @@
gpio5_6_7 { gpio5_6_7 {
pins = "gpio5", "gpio6", "gpio7"; pins = "gpio5", "gpio6", "gpio7";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
}; };

View File

@ -1386,7 +1386,7 @@
gpio3 { gpio3 {
pins = "gpio3"; pins = "gpio3";
function = "fps-out"; function = "fps-out";
drive-open-drain = <1>; drive-open-drain;
maxim,active-fps-source = <MAX77620_FPS_SRC_0>; maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
maxim,active-fps-power-up-slot = <4>; maxim,active-fps-power-up-slot = <4>;
maxim,active-fps-power-down-slot = <2>; maxim,active-fps-power-down-slot = <2>;
@ -1395,7 +1395,7 @@
gpio5_6 { gpio5_6 {
pins = "gpio5", "gpio6"; pins = "gpio5", "gpio6";
function = "gpio"; function = "gpio";
drive-push-pull = <1>; drive-push-pull;
}; };
gpio4 { gpio4 {