summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 13:04:06 +0200
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 13:31:37 +0200
commit90c6e35383dd02ef68a71f8373bdc9fbd0684a26 (patch)
treefbb865ca08d2b0b3c71724a8c266bb37a01fdcef /arch/arm/boot/dts/exynos5420-pinctrl.dtsi
parentc0fee590160637e1306dd4bc1018e89ff99ef00d (diff)
ARM: dts: exynos: Use common macros for pinctrl configuration
Replace duplicated macros in each DTSI file with a common macro coming from header. Include the header in each pinctrl DTSI so further changes could use it. Although PIN_FUNC_SPC_2 does not bring much information about the function itself, it still is more descriptive then hard-coded number <2>. 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-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos5420-pinctrl.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
index 14beb7e07323..cf7d2986780a 100644
--- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
@@ -12,6 +12,8 @@
* published by the Free Software Foundation.
*/
+#include <dt-bindings/pinctrl/samsung.h>
+
&pinctrl_0 {
gpy7: gpy7 {
gpio-controller;