diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2015-01-12 09:00:15 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-01-12 09:03:30 (GMT) |
commit | 13b9b64e307db08fce12350ce2caed63dec59ddc (patch) | |
tree | 2dc91ad18e1234db8f3c418a324c1863c84e4009 /arch | |
parent | 19f0d87bc26e6579b981ce293adf3520c7e3ce38 (diff) | |
download | linux-13b9b64e307db08fce12350ce2caed63dec59ddc.tar.xz |
ARM: dts: use macro in gpio keys for exynos3250 boards
This patch replaces number by macro in gpio keys for exynos3250 boards.
Cc: Youngjun Cho <yj44.cho@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/exynos3250-monk.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos3250-rinato.dts | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index 2431b81..5e4a471 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -15,6 +15,7 @@ /dts-v1/; #include "exynos3250.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/gpio/gpio.h> / { model = "Samsung Monk board"; @@ -37,7 +38,7 @@ compatible = "gpio-keys"; power_key { - gpios = <&gpx2 7 1>; + gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; label = "power key"; debounce-interval = <10>; diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index a2cbc6d..0c65155 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -15,6 +15,7 @@ /dts-v1/; #include "exynos3250.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/gpio/gpio.h> / { model = "Samsung Rinato board"; @@ -37,7 +38,7 @@ compatible = "gpio-keys"; power_key { - gpios = <&gpx2 7 1>; + gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; label = "power key"; debounce-interval = <10>; |