diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-10-02 03:41:46 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-02 03:41:46 -0400 |
commit | 2cdef8f4e1ac28adc81326758a7767c18479a95d (patch) | |
tree | ca4c049a19e107b14abd50ca151694d6fc444170 /Documentation/devicetree | |
parent | 8f1774a2a97135db35c5f42531a148135158705a (diff) |
pinctrl: specify bindings for pins and groups
Pin configurations can be per-pin or per-group. Make sure that the
per-group case is covered by the bindings.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt index 4f5a0c3af8b9..98eb94d91a1c 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | |||
@@ -157,7 +157,12 @@ structure of the DT nodes that contain these properties. | |||
157 | Supported generic properties are: | 157 | Supported generic properties are: |
158 | 158 | ||
159 | pins - the list of pins that properties in the node | 159 | pins - the list of pins that properties in the node |
160 | apply to | 160 | apply to (either this or "group" has to be |
161 | specified) | ||
162 | group - the group to apply the properties to, if the driver | ||
163 | supports configuration of whole groups rather than | ||
164 | individual pins (either this or "pins" has to be | ||
165 | specified) | ||
161 | bias-disable - disable any pin bias | 166 | bias-disable - disable any pin bias |
162 | bias-high-impedance - high impedance mode ("third-state", "floating") | 167 | bias-high-impedance - high impedance mode ("third-state", "floating") |
163 | bias-bus-hold - latch weakly | 168 | bias-bus-hold - latch weakly |
@@ -190,6 +195,10 @@ state_1_node_a { | |||
190 | pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */ | 195 | pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */ |
191 | output-high; | 196 | output-high; |
192 | }; | 197 | }; |
198 | state_2_node_a { | ||
199 | group = "foo-group"; | ||
200 | bias-pull-up; | ||
201 | }; | ||
193 | 202 | ||
194 | Some of the generic properties take arguments. For those that do, the | 203 | Some of the generic properties take arguments. For those that do, the |
195 | arguments are described below. | 204 | arguments are described below. |