aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-01-10 16:14:17 -0500
committerRob Herring <robh@kernel.org>2015-01-13 14:58:02 -0500
commit9a4305bde41e87a2c56b560ebd1783cf3fbbcea3 (patch)
tree5d46b2e82c7ffc7bedf145e706d509473b4da833
parent96225fdf69e229d190a39a49685e30fb2348fbc1 (diff)
pinctrl: fix up device tree bindings
After the Nomadik pin controller was force migrated to generic pin control bindings, some leftovers in the documentation need to be cleaned up. The code and device trees are already migrated. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt35
1 files changed, 20 insertions, 15 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt b/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt
index 6b33b9f18e88..f63fcb3ed352 100644
--- a/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt
+++ b/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt
@@ -16,17 +16,22 @@ mux function to select on those pin(s)/group(s), and various pin configuration
16parameters, such as input, output, pull up, pull down... 16parameters, such as input, output, pull up, pull down...
17 17
18The name of each subnode is not important; all subnodes should be enumerated 18The name of each subnode is not important; all subnodes should be enumerated
19and processed purely based on their content. 19and processed purely based on their content. The subnodes use the generic
20pin multiplexing node layout from the standard pin control bindings
21(see pinctrl-bindings.txt):
20 22
21Required subnode-properties: 23Required pin multiplexing subnode properties:
22- ste,pins : An array of strings. Each string contains the name of a pin or 24- function: A string containing the name of the function to mux to the
23 group.
24
25Optional subnode-properties:
26- ste,function: A string containing the name of the function to mux to the
27 pin or group. 25 pin or group.
26- groups : An array of strings. Each string contains the name of a pin
27 group that will be combined with the function to form a multiplexing
28 set-up.
28 29
29- ste,config: Handle of pin configuration node (e.g. ste,config = <&slpm_in_wkup_pdis>) 30Required pin configuration subnode properties:
31- pins: A string array describing the pins affected by the configuration
32 in the node.
33- ste,config: Handle of pin configuration node
34 (e.g. ste,config = <&slpm_in_wkup_pdis>)
30 35
31- ste,input : <0/1/2> 36- ste,input : <0/1/2>
32 0: input with no pull 37 0: input with no pull
@@ -97,32 +102,32 @@ Example board file extract:
97 uart0 { 102 uart0 {
98 uart0_default_mux: uart0_mux { 103 uart0_default_mux: uart0_mux {
99 u0_default_mux { 104 u0_default_mux {
100 ste,function = "u0"; 105 function = "u0";
101 ste,pins = "u0_a_1"; 106 pins = "u0_a_1";
102 }; 107 };
103 }; 108 };
104 uart0_default_mode: uart0_default { 109 uart0_default_mode: uart0_default {
105 uart0_default_cfg1 { 110 uart0_default_cfg1 {
106 ste,pins = "GPIO0", "GPIO2"; 111 pins = "GPIO0", "GPIO2";
107 ste,input = <1>; 112 ste,input = <1>;
108 }; 113 };
109 114
110 uart0_default_cfg2 { 115 uart0_default_cfg2 {
111 ste,pins = "GPIO1", "GPIO3"; 116 pins = "GPIO1", "GPIO3";
112 ste,output = <1>; 117 ste,output = <1>;
113 }; 118 };
114 }; 119 };
115 uart0_sleep_mode: uart0_sleep { 120 uart0_sleep_mode: uart0_sleep {
116 uart0_sleep_cfg1 { 121 uart0_sleep_cfg1 {
117 ste,pins = "GPIO0", "GPIO2"; 122 pins = "GPIO0", "GPIO2";
118 ste,config = <&slpm_in_wkup_pdis>; 123 ste,config = <&slpm_in_wkup_pdis>;
119 }; 124 };
120 uart0_sleep_cfg2 { 125 uart0_sleep_cfg2 {
121 ste,pins = "GPIO1"; 126 pins = "GPIO1";
122 ste,config = <&slpm_out_hi_wkup_pdis>; 127 ste,config = <&slpm_out_hi_wkup_pdis>;
123 }; 128 };
124 uart0_sleep_cfg3 { 129 uart0_sleep_cfg3 {
125 ste,pins = "GPIO3"; 130 pins = "GPIO3";
126 ste,config = <&slpm_out_wkup_pdis>; 131 ste,config = <&slpm_out_wkup_pdis>;
127 }; 132 };
128 }; 133 };