summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2017-01-20 05:19:56 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2017-02-02 17:59:49 +0100
commit860ac88abecab5d3d0e07306365f55cbc690c220 (patch)
tree9259664eac338822494e5ab475f2e97927292b8f /include
parentpinctrl: dt-bindings: samsung: add drive strength macros for Exynos5433 (diff)
downloadlinux-860ac88abecab5d3d0e07306365f55cbc690c220.tar.xz
linux-860ac88abecab5d3d0e07306365f55cbc690c220.zip
pinctrl: dt-bindings: samsung: Add Exynos7 specific pinctrl macro definitions
Exynos7 SoC pinctrl configurations are similar to existing Exynos4/5 except for FSYS1 pinctrl drive strengths. So adding Exynos7 specific FSYS1 blocks pinctrl driver strength related macros which will be used in Exynos7 DTSi files. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/pinctrl/samsung.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/samsung.h b/include/dt-bindings/pinctrl/samsung.h
index e0ebb20ffdd3..b7aa3646208b 100644
--- a/include/dt-bindings/pinctrl/samsung.h
+++ b/include/dt-bindings/pinctrl/samsung.h
@@ -68,4 +68,12 @@
#define EXYNOS_PIN_FUNC_6 6
#define EXYNOS_PIN_FUNC_F 0xf
+/* Drive strengths for Exynos7 FSYS1 block */
+#define EXYNOS7_FSYS1_PIN_DRV_LV1 0
+#define EXYNOS7_FSYS1_PIN_DRV_LV2 4
+#define EXYNOS7_FSYS1_PIN_DRV_LV3 2
+#define EXYNOS7_FSYS1_PIN_DRV_LV4 6
+#define EXYNOS7_FSYS1_PIN_DRV_LV5 1
+#define EXYNOS7_FSYS1_PIN_DRV_LV6 5
+
#endif /* __DT_BINDINGS_PINCTRL_SAMSUNG_H__ */