diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-04 14:04:08 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-16 14:31:46 +0300 |
commit | 4b1a9e358693bbef0b5a1a5787e35490022957b9 (patch) | |
tree | d1352a7a1e4d73046e87a7e1e0fbba0c4b82b423 /arch/arm/boot/dts/exynos4210-universal_c210.dts | |
parent | 2aea3de8640cc8ce1977be99d2260fa507cb1a68 (diff) | |
download | linux-4b1a9e358693bbef0b5a1a5787e35490022957b9.tar.xz |
ARM: dts: exynos: Use macros for pinctrl configuration on exynos4210
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/exynos4210-universal_c210.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4210-universal_c210.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 9a75e3effbc9..fa1e2c044aac 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -521,16 +521,16 @@ &pinctrl_1 { hdmi_hpd: hdmi-hpd { samsung,pins = "gpx3-7"; - samsung,pin-pud = <0>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; }; }; &pinctrl_0 { i2c_ddc_bus: i2c-ddc-bus { samsung,pins = "gpe4-2", "gpe4-3"; - samsung,pin-function = <2>; - samsung,pin-pud = <3>; - samsung,pin-drv = <0>; + samsung,pin-function = <EXYNOS_PIN_FUNC_2>; + samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; }; }; |