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-snow-rev5.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-snow-rev5.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-snow-rev5.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts index f811dc800660..90560c316f64 100644 --- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts +++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts @@ -40,8 +40,8 @@ &pinctrl_0 { max98090_irq: max98090-irq { samsung,pins = "gpx0-4"; - samsung,pin-function = <0>; - samsung,pin-pud = <0>; - samsung,pin-drv = <0>; + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; }; }; |