diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-04 13:04:14 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-16 13:32:06 +0200 |
commit | a2f2bc384e8df20b881625e6a92726d5b9f39d6b (patch) | |
tree | c82dc5c083e4c76d8b2c53bc3803a2396e16a9d4 /arch/arm/boot/dts/exynos5420-arndale-octa.dts | |
parent | ARM: dts: exynos: Use macros for pinctrl configuration on exynos5410 (diff) | |
download | linux-a2f2bc384e8df20b881625e6a92726d5b9f39d6b.tar.xz linux-a2f2bc384e8df20b881625e6a92726d5b9f39d6b.zip |
ARM: dts: exynos: Use macros for pinctrl configuration on exynos542x/exynos5800
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/exynos5420-arndale-octa.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5420-arndale-octa.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 39a3b81478fd..657ffbb096c1 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -378,9 +378,9 @@ &pinctrl_0 { s2mps11_irq: s2mps11-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 = <EXYNOS5420_PIN_DRV_LV1>; }; }; |