pinctrl: st: Add pinctrl and pinconf support.
authorSrinivas KANDAGATLA <srinivas.kandagatla@st.com>
Thu, 20 Jun 2013 14:05:38 +0000 (15:05 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 25 Jun 2013 15:22:19 +0000 (16:22 +0100)
commit701016c0cba594d5dbd26652ed1e52b0fe2926fd
treea163699903974ac4e88ae27900f1b7def8e1e978
parent67252287871113deba96adf7e4df1752f3f08688
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>
Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt [new file with mode: 0644]
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-st.c [new file with mode: 0644]