Skip to content

Commit

Permalink
pinctrl: specify bindings for pins and groups
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij committed Oct 2, 2014
1 parent 8f1774a commit 2cdef8f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,12 @@ structure of the DT nodes that contain these properties.
Supported generic properties are:

pins - the list of pins that properties in the node
apply to
apply to (either this or "group" has to be
specified)
group - the group to apply the properties to, if the driver
supports configuration of whole groups rather than
individual pins (either this or "pins" has to be
specified)
bias-disable - disable any pin bias
bias-high-impedance - high impedance mode ("third-state", "floating")
bias-bus-hold - latch weakly
Expand Down Expand Up @@ -190,6 +195,10 @@ state_1_node_a {
pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */
output-high;
};
state_2_node_a {
group = "foo-group";
bias-pull-up;
};

Some of the generic properties take arguments. For those that do, the
arguments are described below.
Expand Down

0 comments on commit 2cdef8f

Please sign in to comment.