summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-href-stuib.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-03-24 17:29:30 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-03-29 10:34:08 +0300
commit1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0 (patch)
treec3a4321abb48587ab069fb56ef7040c0f11f9ca6 /arch/arm/boot/dts/ste-href-stuib.dtsi
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0.tar.xz
ARM: dts: ux500: use the GPIO DT header
Use the <dt-bindings/gpio/gpio.h> header instead of using hardcoded values for the GPIO flags. Eradicate the totally bogus "0x4" flag used and set that to GPIO_ACTIVE_HIGH as is proper, switch the inverted card detect on the Snowball to flag using GPIO_ACTIVE_LOW instead of using the MMC-specific inversion flag. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-href-stuib.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-href-stuib.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/ste-href-stuib.dtsi b/arch/arm/boot/dts/ste-href-stuib.dtsi
index c3987ad06d79..6f720756057d 100644
--- a/arch/arm/boot/dts/ste-href-stuib.dtsi
+++ b/arch/arm/boot/dts/ste-href-stuib.dtsi
@@ -22,13 +22,13 @@
button@139 {
/* Proximity sensor */
- gpios = <&gpio6 25 0x4>;
+ gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
linux,code = <11>; /* SW_FRONT_PROXIMITY */
label = "SFH7741 Proximity Sensor";
};
button@145 {
/* Hall sensor */
- gpios = <&gpio4 17 0x4>;
+ gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
linux,code = <0>; /* SW_LID */
label = "HED54XXU11 Hall Effect Sensor";
};