diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-10-08 07:39:58 +0900 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-10-08 07:39:58 +0900 |
commit | 31b9903c233e831f3b0c05c6a62c0e39e85e77ec (patch) | |
tree | 0284bd919b13d933e6e6f10d33a89ee9f2ee0cb5 /arch/arm/boot/dts/exynos5420-smdk5420.dts | |
parent | c10d3290cbde0e81d92d622e0b58eea2739fe557 (diff) |
ARM: dts: Use GPIO constants for flags cells in exynos5420/5422/5800 boards
The board DTS are using numeric values instead of the defined GPIO
constanst to express polarity, use them to make the DTS more clear.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-smdk5420.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index 7520d52f4e22..ac35aefd320f 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos5420.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Samsung SMDK5420 board based on EXYNOS5420"; @@ -69,7 +70,7 @@ regulator-name = "VBUS0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpg0 5 0>; + gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&usb300_vbus_en>; enable-active-high; @@ -80,7 +81,7 @@ regulator-name = "VBUS1"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpg1 4 0>; + gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&usb301_vbus_en>; enable-active-high; @@ -121,7 +122,7 @@ &hdmi { status = "okay"; - hpd-gpio = <&gpx3 7 0>; + hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; }; |