aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bresticker <[email protected]>2015-03-30 16:16:54 -0700
committerLinus Walleij <[email protected]>2015-04-07 15:19:34 +0200
commitcec656501fc20a5d1b20a43cfa4679705fa7e1ef (patch)
treed9b773b5c7fd9c3c3050236267bdf755f8c425c5
parent7981c0015af26323281c937c8983dfeabc3395fe (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 <[email protected]> Cc: Rob Herring <[email protected]> Cc: Pawel Moll <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Ian Campbell <[email protected]> Cc: Kumar Gala <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt7
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:
function - the mux function to select
groups - the list of groups to select with this function
+ (either this or "pins" must be specified)
+pins - the list of pins to select with this function (either
+ this or "groups" must be specified)
Example:
@@ -148,6 +151,10 @@ state_1_node_a {
groups = "spi0pins";
};
};
+state_2_node_a {
+ function = "i2c0";
+ pins = "mfio29", "mfio30";
+};
== Generic pin configuration node content ==