Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1474207 > unrolled thread

[PATCH 2/6] pinctrl: dt-bindings: samsung: Add macros for S3C64xx pin configuration

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-09-01 11:30 +0200
Last post2016-09-01 11:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/6] pinctrl: dt-bindings: samsung: Add macros for S3C64xx pin  configuration Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-09-01 11:30 +0200

#1474207 — [PATCH 2/6] pinctrl: dt-bindings: samsung: Add macros for S3C64xx pin configuration

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-09-01 11:30 +0200
Subject[PATCH 2/6] pinctrl: dt-bindings: samsung: Add macros for S3C64xx pin configuration
Message-ID<scwtP-81r-9@gated-at.bofh.it>
Add macros for configuring pins pull up/down on S3C64xx and S5PV210.
They differ from Exynos SoC family.  Also add pin function with value of 6.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 include/dt-bindings/pinctrl/samsung.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/dt-bindings/pinctrl/samsung.h b/include/dt-bindings/pinctrl/samsung.h
index b2132f3fe1ac..8ba07a6de003 100644
--- a/include/dt-bindings/pinctrl/samsung.h
+++ b/include/dt-bindings/pinctrl/samsung.h
@@ -17,6 +17,10 @@
 #define EXYNOS_PIN_PULL_DOWN		1
 #define EXYNOS_PIN_PULL_UP		3
 
+#define S3C64XX_PIN_PULL_NONE		0
+#define S3C64XX_PIN_PULL_DOWN		1
+#define S3C64XX_PIN_PULL_UP		2
+
 /* Pin function in power down mode */
 #define EXYNOS_PIN_PDN_OUT0		0
 #define EXYNOS_PIN_PDN_OUT1		1
@@ -47,6 +51,7 @@
 #define EXYNOS_PIN_FUNC_3		3
 #define EXYNOS_PIN_FUNC_4		4
 #define EXYNOS_PIN_FUNC_5		5
+#define EXYNOS_PIN_FUNC_6		6
 #define EXYNOS_PIN_FUNC_F		0xf
 
 #endif /* __DT_BINDINGS_PINCTRL_EXYNOS_H__ */
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web