Skip to content

Commit

Permalink
arm: dts: at91: Fix boolean properties with values
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/Yk3leykDEKGBN8rk@robh.at.kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Rob Herring authored and Arnd Bergmann committed Apr 7, 2022
1 parent 1f5fb1d commit 0dc23d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-kizbox3-hs.dts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
pinctrl_pio_io_reset: gpio_io_reset {
pinmux = <PIN_PB30__GPIO>;
bias-disable;
drive-open-drain = <1>;
drive-open-drain;
output-low;
};
pinctrl_pio_input: gpio_input {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91-kizbox3_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
pinmux = <PIN_PD12__FLEXCOM4_IO0>, //DATA
<PIN_PD13__FLEXCOM4_IO1>; //CLK
bias-disable;
drive-open-drain = <1>;
drive-open-drain;
};

pinctrl_pwm0 {
Expand Down

0 comments on commit 0dc23d1

Please sign in to comment.