diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-03-24 15:29:30 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-29 09:34:08 +0200 |
commit | 1b1e8e024b9ea4c07e05a44b9aeb48d5d89a06e0 (patch) | |
tree | c3a4321abb48587ab069fb56ef7040c0f11f9ca6 /arch/arm/boot/dts/ste-ccu9540.dts | |
parent | Linux 4.6-rc1 (diff) | |
download | linux-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.dts | 2 |
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"; |