summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-ccu9540.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-03-24 15:29:30 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-29 09:34:08 +0200
commit1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0 (patch)
treec3a4321abb48587ab069fb56ef7040c0f11f9ca6 /arch/arm/boot/dts/ste-ccu9540.dts
parentLinux 4.6-rc1 (diff)
downloadlinux-1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0.tar.xz
linux-1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0.zip
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-ccu9540.dts')
-rw-r--r--arch/arm/boot/dts/ste-ccu9540.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-ccu9540.dts b/arch/arm/boot/dts/ste-ccu9540.dts
index c8b815819cfe..b3b9bb8e1aa8 100644
--- a/arch/arm/boot/dts/ste-ccu9540.dts
+++ b/arch/arm/boot/dts/ste-ccu9540.dts
@@ -49,7 +49,7 @@
cap-mmc-highspeed;
vmmc-supply = <&ab8500_ldo_aux3_reg>;
- cd-gpios = <&gpio7 6 0x4>; // 230
+ cd-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>; // 230
cd-inverted;
status = "okay";