aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorSrinivas KANDAGATLA <srinivas.kandagatla@st.com>2013-06-20 10:05:38 -0400
committerMark Brown <broonie@linaro.org>2013-06-25 11:22:19 -0400
commit701016c0cba594d5dbd26652ed1e52b0fe2926fd (patch)
treea163699903974ac4e88ae27900f1b7def8e1e978 /drivers/pinctrl/Kconfig
parent67252287871113deba96adf7e4df1752f3f08688 (diff)
pinctrl: st: Add pinctrl and pinconf support.
This patch add pinctrl support to ST SoCs. About hardware: ST Set-Top-Box parts have two blocks called PIO and PIO-mux which handle pin configurations. Each multi-function pin is controlled, driven and routed through the PIO multiplexing block. Each pin supports GPIO functionality (ALT0) and multiple alternate functions(ALT1 - ALTx) that directly connect the pin to different hardware blocks. When a pin is in GPIO mode, Output Enable (OE), Open Drain(OD), and Pull Up (PU) are driven by the related PIO block. Otherwise the PIO multiplexing block configures these parameters and retiming the signal. About driver: This pinctrl driver manages both PIO and PIO-mux block using pinctrl, pinconf, pinmux, gpio subsystems. All the pinctrl related config information can only come from device trees. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 8f6692438149..1a147cf821f3 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -169,6 +169,12 @@ config PINCTRL_SUNXI
169 select PINMUX 169 select PINMUX
170 select GENERIC_PINCONF 170 select GENERIC_PINCONF
171 171
172config PINCTRL_ST
173 bool
174 depends on OF
175 select PINMUX
176 select PINCONF
177
172config PINCTRL_TEGRA 178config PINCTRL_TEGRA
173 bool 179 bool
174 select PINMUX 180 select PINMUX