summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4415-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/exynos4415-pinctrl.dtsi
parentpinctrl: dt-bindings: samsung: Update documentation with new macros (diff)
downloadlinux-90c6e35383dd02ef68a71f8373bdc9fbd0684a26.tar.xz
linux-90c6e35383dd02ef68a71f8373bdc9fbd0684a26.zip
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/exynos4415-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos4415-pinctrl.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4415-pinctrl.dtsi b/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
index 75af9c56123e..63714445dddb 100644
--- a/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4415-pinctrl.dtsi
@@ -11,6 +11,8 @@
* published by the Free Software Foundation.
*/
+#include <dt-bindings/pinctrl/samsung.h>
+
&pinctrl_0 {
gpa0: gpa0 {
gpio-controller;