diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-04 13:04:11 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-16 13:31:56 +0200 |
commit | d953f1fb14d2573499a7584a091a724c5923d5b3 (patch) | |
tree | edbc009b2752a519e22d0d205fdd280ebd915a26 /arch/arm/boot/dts/exynos5250-smdk5250.dts | |
parent | ARM: dts: exynos: Use macros for pinctrl configuration on exynos4415 (diff) | |
download | linux-d953f1fb14d2573499a7584a091a724c5923d5b3.tar.xz linux-d953f1fb14d2573499a7584a091a724c5923d5b3.zip |
ARM: dts: exynos: Use macros for pinctrl configuration on exynos5250
Usage of DTS macros instead of hard-coded numbers makes code easier to
read. One does not have to remember which value means pull-up/down or
specific driver strength.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-smdk5250.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-smdk5250.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 381af134c4c8..8b39980a7c8b 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -416,8 +416,8 @@ &pinctrl_0 { max77686_irq: max77686-irq { samsung,pins = "gpx3-2"; - samsung,pin-function = <0xf>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; + samsung,pin-function = <EXYNOS_PIN_FUNC_F>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; }; }; |