summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pinctrl
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2016-11-18 09:54:54 -0800
committerOlof Johansson <olof@lixom.net>2016-11-18 09:54:54 -0800
commitf05646c94b64adcc2ce3892b91ab7421ef1c690f (patch)
tree449ca86405fa5c845b4a2dbb5709e655b5dda6fb /Documentation/devicetree/bindings/pinctrl
parentc60c41e8c07fa57bbda4c13b5fd256ef1dd62013 (diff)
parentbe76fd3197df608e1b010bf5ab90377205f54344 (diff)
downloadtalos-obmc-linux-f05646c94b64adcc2ce3892b91ab7421ef1c690f.tar.gz
talos-obmc-linux-f05646c94b64adcc2ce3892b91ab7421ef1c690f.zip
Merge tag 'omap-for-v4.10/pinctrl-cells-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt
Add #pinctrl-cells for pinctrl-single using dts files. This allows us to use generic parser later on. Note that the driver supports handling the legacy binding also with no #pinctrl-cells so these changes can be queued separately from the driver changes. * tag 'omap-for-v4.10/pinctrl-cells-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: Add #pinctrl-cells for pinctrl-single instances Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
index 66dcaa9efd74..e705acd3612c 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
@@ -7,6 +7,9 @@ Required properties:
- reg : offset and length of the register set for the mux registers
+- #pinctrl-cells : number of cells in addition to the index, set to 1
+ for pinctrl-single,pins and 2 for pinctrl-single,bits
+
- pinctrl-single,register-width : pinmux register access width in bits
- pinctrl-single,function-mask : mask of allowed pinmux function bits
OpenPOWER on IntegriCloud