diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-04 14:04:12 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-16 14:32:00 +0300 |
commit | bad96a019d2867b6043ffcdcf211d92c40027c0f (patch) | |
tree | 21be3639473048a651288e77f2be7a63c5c39360 /arch/arm/boot/dts/exynos5260-xyref5260.dts | |
parent | d953f1fb14d2573499a7584a091a724c5923d5b3 (diff) | |
download | linux-bad96a019d2867b6043ffcdcf211d92c40027c0f.tar.xz |
ARM: dts: exynos: Use macros for pinctrl configuration on exynos5260
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/exynos5260-xyref5260.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5260-xyref5260.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5260-xyref5260.dts b/arch/arm/boot/dts/exynos5260-xyref5260.dts index 3daef94bee38..ccbdc8ad3da3 100644 --- a/arch/arm/boot/dts/exynos5260-xyref5260.dts +++ b/arch/arm/boot/dts/exynos5260-xyref5260.dts @@ -42,9 +42,9 @@ &pinctrl_0 { hdmi_hpd_irq: hdmi-hpd-irq { samsung,pins = "gpx3-7"; - samsung,pin-function = <0>; - samsung,pin-pud = <1>; - samsung,pin-drv = <0>; + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; + samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>; }; }; |