diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2015-03-30 19:16:54 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-04-07 09:19:34 -0400 |
commit | cec656501fc20a5d1b20a43cfa4679705fa7e1ef (patch) | |
tree | d9b773b5c7fd9c3c3050236267bdf755f8c425c5 /Documentation/devicetree/bindings/pinctrl | |
parent | 7981c0015af26323281c937c8983dfeabc3395fe (diff) |
pinctrl: Document "function" + "pins" pinmux binding
Currently the "function" + "groups" combination is the only documented
format for pinmux nodes, although many drivers use "function" + "pins".
Update the generic pinctrl binding to include the "function" + "pins"
combination as well.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt index e9ebe5d35835..b73c96d24f59 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | |||
@@ -133,6 +133,9 @@ pin multiplexing nodes: | |||
133 | 133 | ||
134 | function - the mux function to select | 134 | function - the mux function to select |
135 | groups - the list of groups to select with this function | 135 | groups - the list of groups to select with this function |
136 | (either this or "pins" must be specified) | ||
137 | pins - the list of pins to select with this function (either | ||
138 | this or "groups" must be specified) | ||
136 | 139 | ||
137 | Example: | 140 | Example: |
138 | 141 | ||
@@ -148,6 +151,10 @@ state_1_node_a { | |||
148 | groups = "spi0pins"; | 151 | groups = "spi0pins"; |
149 | }; | 152 | }; |
150 | }; | 153 | }; |
154 | state_2_node_a { | ||
155 | function = "i2c0"; | ||
156 | pins = "mfio29", "mfio30"; | ||
157 | }; | ||
151 | 158 | ||
152 | == Generic pin configuration node content == | 159 | == Generic pin configuration node content == |
153 | 160 | ||