diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-11-06 16:00:25 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-11 18:41:55 -0500 |
commit | d8f64797c5ff3351a54830bba2cbc7e0b00e4613 (patch) | |
tree | 6df5a7b5c0fe9effa08aef6df00d8d8dc6b08014 /Documentation | |
parent | e9827d9be9777cf287dd1340e6e7a8526f9e0b70 (diff) |
ARM: tegra: add missing clock documentation to DT bindings
Many of the Tegra DT binding documents say nothing about the clocks or
clock-names properties, yet those are present and required in DT files.
This patch simply updates the documentation file to match the implicit
definition of the binding, based on real-world DT content.
All Tegra bindings that mention clocks are updated to have consistent
wording and formatting of the clock-related properties.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'Documentation')
26 files changed, 169 insertions, 38 deletions
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt index 1608a54e90e1..68ac65f82a1c 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt | |||
@@ -9,6 +9,7 @@ Required properties: | |||
9 | - compatible : Should contain "nvidia,tegra<chip>-pmc". | 9 | - compatible : Should contain "nvidia,tegra<chip>-pmc". |
10 | - reg : Offset and length of the register set for the device | 10 | - reg : Offset and length of the register set for the device |
11 | - clocks : Must contain an entry for each entry in clock-names. | 11 | - clocks : Must contain an entry for each entry in clock-names. |
12 | See ../clocks/clock-bindings.txt for details. | ||
12 | - clock-names : Must include the following entries: | 13 | - clock-names : Must include the following entries: |
13 | "pclk" (The Tegra clock of that name), | 14 | "pclk" (The Tegra clock of that name), |
14 | "clk32k_in" (The 32KHz clock input to Tegra). | 15 | "clk32k_in" (The 32KHz clock input to Tegra). |
diff --git a/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt b/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt index 90fa7da525b8..e0a68b972891 100644 --- a/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt +++ b/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt | |||
@@ -5,6 +5,8 @@ Required properties: | |||
5 | - reg: Should contain DMA registers location and length. This shuld include | 5 | - reg: Should contain DMA registers location and length. This shuld include |
6 | all of the per-channel registers. | 6 | all of the per-channel registers. |
7 | - interrupts: Should contain all of the per-channel DMA interrupts. | 7 | - interrupts: Should contain all of the per-channel DMA interrupts. |
8 | - clocks: Must contain one entry, for the module clock. | ||
9 | See ../clocks/clock-bindings.txt for details. | ||
8 | 10 | ||
9 | Examples: | 11 | Examples: |
10 | 12 | ||
@@ -27,4 +29,5 @@ apbdma: dma@6000a000 { | |||
27 | 0 149 0x04 | 29 | 0 149 0x04 |
28 | 0 150 0x04 | 30 | 0 150 0x04 |
29 | 0 151 0x04 >; | 31 | 0 151 0x04 >; |
32 | clocks = <&tegra_car 34>; | ||
30 | }; | 33 | }; |
diff --git a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt index b4fa934ae3a2..8b4367f86b95 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt | |||
@@ -9,6 +9,8 @@ Required properties: | |||
9 | - #size-cells: The number of cells used to represent the size of an address | 9 | - #size-cells: The number of cells used to represent the size of an address |
10 | range in the host1x address space. Should be 1. | 10 | range in the host1x address space. Should be 1. |
11 | - ranges: The mapping of the host1x address space to the CPU address space. | 11 | - ranges: The mapping of the host1x address space to the CPU address space. |
12 | - clocks: Must contain one entry, for the module clock. | ||
13 | See ../clocks/clock-bindings.txt for details. | ||
12 | 14 | ||
13 | The host1x top-level node defines a number of children, each representing one | 15 | The host1x top-level node defines a number of children, each representing one |
14 | of the following host1x client modules: | 16 | of the following host1x client modules: |
@@ -19,6 +21,8 @@ of the following host1x client modules: | |||
19 | - compatible: "nvidia,tegra<chip>-mpe" | 21 | - compatible: "nvidia,tegra<chip>-mpe" |
20 | - reg: Physical base address and length of the controller's registers. | 22 | - reg: Physical base address and length of the controller's registers. |
21 | - interrupts: The interrupt outputs from the controller. | 23 | - interrupts: The interrupt outputs from the controller. |
24 | - clocks: Must contain one entry, for the module clock. | ||
25 | See ../clocks/clock-bindings.txt for details. | ||
22 | 26 | ||
23 | - vi: video input | 27 | - vi: video input |
24 | 28 | ||
@@ -26,6 +30,8 @@ of the following host1x client modules: | |||
26 | - compatible: "nvidia,tegra<chip>-vi" | 30 | - compatible: "nvidia,tegra<chip>-vi" |
27 | - reg: Physical base address and length of the controller's registers. | 31 | - reg: Physical base address and length of the controller's registers. |
28 | - interrupts: The interrupt outputs from the controller. | 32 | - interrupts: The interrupt outputs from the controller. |
33 | - clocks: Must contain one entry, for the module clock. | ||
34 | See ../clocks/clock-bindings.txt for details. | ||
29 | 35 | ||
30 | - epp: encoder pre-processor | 36 | - epp: encoder pre-processor |
31 | 37 | ||
@@ -33,6 +39,8 @@ of the following host1x client modules: | |||
33 | - compatible: "nvidia,tegra<chip>-epp" | 39 | - compatible: "nvidia,tegra<chip>-epp" |
34 | - reg: Physical base address and length of the controller's registers. | 40 | - reg: Physical base address and length of the controller's registers. |
35 | - interrupts: The interrupt outputs from the controller. | 41 | - interrupts: The interrupt outputs from the controller. |
42 | - clocks: Must contain one entry, for the module clock. | ||
43 | See ../clocks/clock-bindings.txt for details. | ||
36 | 44 | ||
37 | - isp: image signal processor | 45 | - isp: image signal processor |
38 | 46 | ||
@@ -40,6 +48,8 @@ of the following host1x client modules: | |||
40 | - compatible: "nvidia,tegra<chip>-isp" | 48 | - compatible: "nvidia,tegra<chip>-isp" |
41 | - reg: Physical base address and length of the controller's registers. | 49 | - reg: Physical base address and length of the controller's registers. |
42 | - interrupts: The interrupt outputs from the controller. | 50 | - interrupts: The interrupt outputs from the controller. |
51 | - clocks: Must contain one entry, for the module clock. | ||
52 | See ../clocks/clock-bindings.txt for details. | ||
43 | 53 | ||
44 | - gr2d: 2D graphics engine | 54 | - gr2d: 2D graphics engine |
45 | 55 | ||
@@ -47,12 +57,21 @@ of the following host1x client modules: | |||
47 | - compatible: "nvidia,tegra<chip>-gr2d" | 57 | - compatible: "nvidia,tegra<chip>-gr2d" |
48 | - reg: Physical base address and length of the controller's registers. | 58 | - reg: Physical base address and length of the controller's registers. |
49 | - interrupts: The interrupt outputs from the controller. | 59 | - interrupts: The interrupt outputs from the controller. |
60 | - clocks: Must contain one entry, for the module clock. | ||
61 | See ../clocks/clock-bindings.txt for details. | ||
50 | 62 | ||
51 | - gr3d: 3D graphics engine | 63 | - gr3d: 3D graphics engine |
52 | 64 | ||
53 | Required properties: | 65 | Required properties: |
54 | - compatible: "nvidia,tegra<chip>-gr3d" | 66 | - compatible: "nvidia,tegra<chip>-gr3d" |
55 | - reg: Physical base address and length of the controller's registers. | 67 | - reg: Physical base address and length of the controller's registers. |
68 | - clocks: Must contain an entry for each entry in clock-names. | ||
69 | See ../clocks/clock-bindings.txt for details. | ||
70 | - clock-names: Must include the following entries: | ||
71 | (This property may be omitted if the only clock in the list is "3d") | ||
72 | - 3d | ||
73 | This MUST be the first entry. | ||
74 | - 3d2 (Only required on SoCs with two 3D clocks) | ||
56 | 75 | ||
57 | - dc: display controller | 76 | - dc: display controller |
58 | 77 | ||
@@ -60,6 +79,12 @@ of the following host1x client modules: | |||
60 | - compatible: "nvidia,tegra<chip>-dc" | 79 | - compatible: "nvidia,tegra<chip>-dc" |
61 | - reg: Physical base address and length of the controller's registers. | 80 | - reg: Physical base address and length of the controller's registers. |
62 | - interrupts: The interrupt outputs from the controller. | 81 | - interrupts: The interrupt outputs from the controller. |
82 | - clocks: Must contain an entry for each entry in clock-names. | ||
83 | See ../clocks/clock-bindings.txt for details. | ||
84 | - clock-names: Must include the following entries: | ||
85 | - dc | ||
86 | This MUST be the first entry. | ||
87 | - parent | ||
63 | 88 | ||
64 | Each display controller node has a child node, named "rgb", that represents | 89 | Each display controller node has a child node, named "rgb", that represents |
65 | the RGB output associated with the controller. It can take the following | 90 | the RGB output associated with the controller. It can take the following |
@@ -76,6 +101,12 @@ of the following host1x client modules: | |||
76 | - interrupts: The interrupt outputs from the controller. | 101 | - interrupts: The interrupt outputs from the controller. |
77 | - vdd-supply: regulator for supply voltage | 102 | - vdd-supply: regulator for supply voltage |
78 | - pll-supply: regulator for PLL | 103 | - pll-supply: regulator for PLL |
104 | - clocks: Must contain an entry for each entry in clock-names. | ||
105 | See ../clocks/clock-bindings.txt for details. | ||
106 | - clock-names: Must include the following entries: | ||
107 | - hdmi | ||
108 | This MUST be the first entry. | ||
109 | - parent | ||
79 | 110 | ||
80 | Optional properties: | 111 | Optional properties: |
81 | - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing | 112 | - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing |
@@ -88,12 +119,20 @@ of the following host1x client modules: | |||
88 | - compatible: "nvidia,tegra<chip>-tvo" | 119 | - compatible: "nvidia,tegra<chip>-tvo" |
89 | - reg: Physical base address and length of the controller's registers. | 120 | - reg: Physical base address and length of the controller's registers. |
90 | - interrupts: The interrupt outputs from the controller. | 121 | - interrupts: The interrupt outputs from the controller. |
122 | - clocks: Must contain one entry, for the module clock. | ||
123 | See ../clocks/clock-bindings.txt for details. | ||
91 | 124 | ||
92 | - dsi: display serial interface | 125 | - dsi: display serial interface |
93 | 126 | ||
94 | Required properties: | 127 | Required properties: |
95 | - compatible: "nvidia,tegra<chip>-dsi" | 128 | - compatible: "nvidia,tegra<chip>-dsi" |
96 | - reg: Physical base address and length of the controller's registers. | 129 | - reg: Physical base address and length of the controller's registers. |
130 | - clocks: Must contain an entry for each entry in clock-names. | ||
131 | See ../clocks/clock-bindings.txt for details. | ||
132 | - clock-names: Must include the following entries: | ||
133 | - dsi | ||
134 | This MUST be the first entry. | ||
135 | - parent | ||
97 | 136 | ||
98 | Example: | 137 | Example: |
99 | 138 | ||
@@ -105,6 +144,7 @@ Example: | |||
105 | reg = <0x50000000 0x00024000>; | 144 | reg = <0x50000000 0x00024000>; |
106 | interrupts = <0 65 0x04 /* mpcore syncpt */ | 145 | interrupts = <0 65 0x04 /* mpcore syncpt */ |
107 | 0 67 0x04>; /* mpcore general */ | 146 | 0 67 0x04>; /* mpcore general */ |
147 | clocks = <&tegra_car TEGRA20_CLK_HOST1X>; | ||
108 | 148 | ||
109 | #address-cells = <1>; | 149 | #address-cells = <1>; |
110 | #size-cells = <1>; | 150 | #size-cells = <1>; |
@@ -115,41 +155,50 @@ Example: | |||
115 | compatible = "nvidia,tegra20-mpe"; | 155 | compatible = "nvidia,tegra20-mpe"; |
116 | reg = <0x54040000 0x00040000>; | 156 | reg = <0x54040000 0x00040000>; |
117 | interrupts = <0 68 0x04>; | 157 | interrupts = <0 68 0x04>; |
158 | clocks = <&tegra_car TEGRA20_CLK_MPE>; | ||
118 | }; | 159 | }; |
119 | 160 | ||
120 | vi { | 161 | vi { |
121 | compatible = "nvidia,tegra20-vi"; | 162 | compatible = "nvidia,tegra20-vi"; |
122 | reg = <0x54080000 0x00040000>; | 163 | reg = <0x54080000 0x00040000>; |
123 | interrupts = <0 69 0x04>; | 164 | interrupts = <0 69 0x04>; |
165 | clocks = <&tegra_car TEGRA20_CLK_VI>; | ||
124 | }; | 166 | }; |
125 | 167 | ||
126 | epp { | 168 | epp { |
127 | compatible = "nvidia,tegra20-epp"; | 169 | compatible = "nvidia,tegra20-epp"; |
128 | reg = <0x540c0000 0x00040000>; | 170 | reg = <0x540c0000 0x00040000>; |
129 | interrupts = <0 70 0x04>; | 171 | interrupts = <0 70 0x04>; |
172 | clocks = <&tegra_car TEGRA20_CLK_EPP>; | ||
130 | }; | 173 | }; |
131 | 174 | ||
132 | isp { | 175 | isp { |
133 | compatible = "nvidia,tegra20-isp"; | 176 | compatible = "nvidia,tegra20-isp"; |
134 | reg = <0x54100000 0x00040000>; | 177 | reg = <0x54100000 0x00040000>; |
135 | interrupts = <0 71 0x04>; | 178 | interrupts = <0 71 0x04>; |
179 | clocks = <&tegra_car TEGRA20_CLK_ISP>; | ||
136 | }; | 180 | }; |
137 | 181 | ||
138 | gr2d { | 182 | gr2d { |
139 | compatible = "nvidia,tegra20-gr2d"; | 183 | compatible = "nvidia,tegra20-gr2d"; |
140 | reg = <0x54140000 0x00040000>; | 184 | reg = <0x54140000 0x00040000>; |
141 | interrupts = <0 72 0x04>; | 185 | interrupts = <0 72 0x04>; |
186 | clocks = <&tegra_car TEGRA20_CLK_GR2D>; | ||
142 | }; | 187 | }; |
143 | 188 | ||
144 | gr3d { | 189 | gr3d { |
145 | compatible = "nvidia,tegra20-gr3d"; | 190 | compatible = "nvidia,tegra20-gr3d"; |
146 | reg = <0x54180000 0x00040000>; | 191 | reg = <0x54180000 0x00040000>; |
192 | clocks = <&tegra_car TEGRA20_CLK_GR3D>; | ||
147 | }; | 193 | }; |
148 | 194 | ||
149 | dc@54200000 { | 195 | dc@54200000 { |
150 | compatible = "nvidia,tegra20-dc"; | 196 | compatible = "nvidia,tegra20-dc"; |
151 | reg = <0x54200000 0x00040000>; | 197 | reg = <0x54200000 0x00040000>; |
152 | interrupts = <0 73 0x04>; | 198 | interrupts = <0 73 0x04>; |
199 | clocks = <&tegra_car TEGRA20_CLK_DISP1>, | ||
200 | <&tegra_car TEGRA20_CLK_PLL_P>; | ||
201 | clock-names = "disp1", "parent"; | ||
153 | 202 | ||
154 | rgb { | 203 | rgb { |
155 | status = "disabled"; | 204 | status = "disabled"; |
@@ -160,6 +209,9 @@ Example: | |||
160 | compatible = "nvidia,tegra20-dc"; | 209 | compatible = "nvidia,tegra20-dc"; |
161 | reg = <0x54240000 0x00040000>; | 210 | reg = <0x54240000 0x00040000>; |
162 | interrupts = <0 74 0x04>; | 211 | interrupts = <0 74 0x04>; |
212 | clocks = <&tegra_car TEGRA20_CLK_DISP2>, | ||
213 | <&tegra_car TEGRA20_CLK_PLL_P>; | ||
214 | clock-names = "disp2", "parent"; | ||
163 | 215 | ||
164 | rgb { | 216 | rgb { |
165 | status = "disabled"; | 217 | status = "disabled"; |
@@ -170,6 +222,9 @@ Example: | |||
170 | compatible = "nvidia,tegra20-hdmi"; | 222 | compatible = "nvidia,tegra20-hdmi"; |
171 | reg = <0x54280000 0x00040000>; | 223 | reg = <0x54280000 0x00040000>; |
172 | interrupts = <0 75 0x04>; | 224 | interrupts = <0 75 0x04>; |
225 | clocks = <&tegra_car TEGRA20_CLK_HDMI>, | ||
226 | <&tegra_car TEGRA20_CLK_PLL_D_OUT0>; | ||
227 | clock-names = "hdmi", "parent"; | ||
173 | status = "disabled"; | 228 | status = "disabled"; |
174 | }; | 229 | }; |
175 | 230 | ||
@@ -177,12 +232,16 @@ Example: | |||
177 | compatible = "nvidia,tegra20-tvo"; | 232 | compatible = "nvidia,tegra20-tvo"; |
178 | reg = <0x542c0000 0x00040000>; | 233 | reg = <0x542c0000 0x00040000>; |
179 | interrupts = <0 76 0x04>; | 234 | interrupts = <0 76 0x04>; |
235 | clocks = <&tegra_car TEGRA20_CLK_TVO>; | ||
180 | status = "disabled"; | 236 | status = "disabled"; |
181 | }; | 237 | }; |
182 | 238 | ||
183 | dsi { | 239 | dsi { |
184 | compatible = "nvidia,tegra20-dsi"; | 240 | compatible = "nvidia,tegra20-dsi"; |
185 | reg = <0x54300000 0x00040000>; | 241 | reg = <0x54300000 0x00040000>; |
242 | clocks = <&tegra_car TEGRA20_CLK_DSI>, | ||
243 | <&tegra_car TEGRA20_CLK_PLL_D_OUT0>; | ||
244 | clock-names = "dsi", "parent"; | ||
186 | status = "disabled"; | 245 | status = "disabled"; |
187 | }; | 246 | }; |
188 | }; | 247 | }; |
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt index ef77cc7a0e46..173fbaab687b 100644 --- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | |||
@@ -39,12 +39,14 @@ Required properties: | |||
39 | - interrupts: Should contain I2C controller interrupts. | 39 | - interrupts: Should contain I2C controller interrupts. |
40 | - address-cells: Address cells for I2C device address. | 40 | - address-cells: Address cells for I2C device address. |
41 | - size-cells: Size of the I2C device address. | 41 | - size-cells: Size of the I2C device address. |
42 | - clocks: Clock ID as per | 42 | - clocks: Must contain an entry for each entry in clock-names. |
43 | Documentation/devicetree/bindings/clock/tegra<chip-id>.txt | 43 | See ../clocks/clock-bindings.txt for details. |
44 | for I2C controller. | 44 | - clock-names: Must include the following entries: |
45 | - clock-names: Name of the clock: | 45 | Tegra20/Tegra30: |
46 | Tegra20/Tegra30 I2C controller: "div-clk and "fast-clk". | 46 | - div-clk |
47 | Tegra114 I2C controller: "div-clk". | 47 | - fast-clk |
48 | Tegra114: | ||
49 | - div-clk | ||
48 | 50 | ||
49 | Example: | 51 | Example: |
50 | 52 | ||
diff --git a/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt index 2995fae7ee47..7d5a53dd77d1 100644 --- a/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt +++ b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt | |||
@@ -13,6 +13,8 @@ Required properties: | |||
13 | array of pin numbers which is used as column. | 13 | array of pin numbers which is used as column. |
14 | - linux,keymap: The keymap for keys as described in the binding document | 14 | - linux,keymap: The keymap for keys as described in the binding document |
15 | devicetree/bindings/input/matrix-keymap.txt. | 15 | devicetree/bindings/input/matrix-keymap.txt. |
16 | - clocks: Must contain one entry, for the module clock. | ||
17 | See ../clocks/clock-bindings.txt for details. | ||
16 | 18 | ||
17 | Optional properties, in addition to those specified by the shared | 19 | Optional properties, in addition to those specified by the shared |
18 | matrix-keyboard bindings: | 20 | matrix-keyboard bindings: |
@@ -31,6 +33,7 @@ keyboard: keyboard { | |||
31 | compatible = "nvidia,tegra20-kbc"; | 33 | compatible = "nvidia,tegra20-kbc"; |
32 | reg = <0x7000e200 0x100>; | 34 | reg = <0x7000e200 0x100>; |
33 | interrupts = <0 85 0x04>; | 35 | interrupts = <0 85 0x04>; |
36 | clocks = <&tegra_car 36>; | ||
34 | nvidia,ghost-filter; | 37 | nvidia,ghost-filter; |
35 | nvidia,debounce-delay-ms = <640>; | 38 | nvidia,debounce-delay-ms = <640>; |
36 | nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */ | 39 | nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */ |
diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt index c6d7b11db9eb..f727902a9e8d 100644 --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | |||
@@ -8,6 +8,8 @@ by mmc.txt and the properties used by the sdhci-tegra driver. | |||
8 | 8 | ||
9 | Required properties: | 9 | Required properties: |
10 | - compatible : Should be "nvidia,<chip>-sdhci" | 10 | - compatible : Should be "nvidia,<chip>-sdhci" |
11 | - clocks : Must contain one entry, for the module clock. | ||
12 | See ../clocks/clock-bindings.txt for details. | ||
11 | 13 | ||
12 | Optional properties: | 14 | Optional properties: |
13 | - power-gpios : Specify GPIOs for power control | 15 | - power-gpios : Specify GPIOs for power control |
@@ -18,6 +20,7 @@ sdhci@c8000200 { | |||
18 | compatible = "nvidia,tegra20-sdhci"; | 20 | compatible = "nvidia,tegra20-sdhci"; |
19 | reg = <0xc8000200 0x200>; | 21 | reg = <0xc8000200 0x200>; |
20 | interrupts = <47>; | 22 | interrupts = <47>; |
23 | clocks = <&tegra_car 14>; | ||
21 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ | 24 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ |
22 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ | 25 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ |
23 | power-gpios = <&gpio 155 0>; /* gpio PT3 */ | 26 | power-gpios = <&gpio 155 0>; /* gpio PT3 */ |
diff --git a/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt index 5aeee53ff9f4..a97fe575ca29 100644 --- a/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt +++ b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt | |||
@@ -7,3 +7,11 @@ Required properties: | |||
7 | - clock-frequency : the frequency of the i2c bus | 7 | - clock-frequency : the frequency of the i2c bus |
8 | - gpios : the gpio used for ec request | 8 | - gpios : the gpio used for ec request |
9 | - slave-addr: the i2c address of the slave controller | 9 | - slave-addr: the i2c address of the slave controller |
10 | - clocks : Must contain an entry for each entry in clock-names. | ||
11 | See ../clocks/clock-bindings.txt for details. | ||
12 | - clock-names : Must include the following entries: | ||
13 | Tegra20/Tegra30: | ||
14 | - div-clk | ||
15 | - fast-clk | ||
16 | Tegra114: | ||
17 | - div-clk | ||
diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt index 6b7510775c50..9e22da7393a3 100644 --- a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt | |||
@@ -42,14 +42,14 @@ Required properties: | |||
42 | - 0xc2000000: prefetchable memory region | 42 | - 0xc2000000: prefetchable memory region |
43 | Please refer to the standard PCI bus binding document for a more detailed | 43 | Please refer to the standard PCI bus binding document for a more detailed |
44 | explanation. | 44 | explanation. |
45 | - clocks: List of clock inputs of the controller. Must contain an entry for | 45 | - clocks: Must contain an entry for each entry in clock-names. |
46 | each entry in the clock-names property. | 46 | See ../clocks/clock-bindings.txt for details. |
47 | - clock-names: Must include the following entries: | 47 | - clock-names: Must include the following entries: |
48 | "pex": The Tegra clock of that name | 48 | - pex |
49 | "afi": The Tegra clock of that name | 49 | - afi |
50 | "pcie_xclk": The Tegra clock of that name | 50 | - pcie_xclk |
51 | "pll_e": The Tegra clock of that name | 51 | - pll_e |
52 | "cml": The Tegra clock of that name (not required for Tegra20) | 52 | - cml (not required for Tegra20) |
53 | 53 | ||
54 | Root ports are defined as subnodes of the PCIe controller node. | 54 | Root ports are defined as subnodes of the PCIe controller node. |
55 | 55 | ||
diff --git a/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt b/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt index c3fc57af8772..f28128717dcc 100644 --- a/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt +++ b/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt | |||
@@ -7,6 +7,8 @@ Required properties: | |||
7 | - reg: physical base address and length of the controller's registers | 7 | - reg: physical base address and length of the controller's registers |
8 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of | 8 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of |
9 | the cells format. | 9 | the cells format. |
10 | - clocks: Must contain one entry, for the module clock. | ||
11 | See ../clocks/clock-bindings.txt for details. | ||
10 | 12 | ||
11 | Example: | 13 | Example: |
12 | 14 | ||
@@ -14,4 +16,5 @@ Example: | |||
14 | compatible = "nvidia,tegra20-pwm"; | 16 | compatible = "nvidia,tegra20-pwm"; |
15 | reg = <0x7000a000 0x100>; | 17 | reg = <0x7000a000 0x100>; |
16 | #pwm-cells = <2>; | 18 | #pwm-cells = <2>; |
19 | clocks = <&tegra_car 17>; | ||
17 | }; | 20 | }; |
diff --git a/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt b/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt index 93f45e9dce7c..652d1ff2e8be 100644 --- a/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt | |||
@@ -9,6 +9,8 @@ Required properties: | |||
9 | - compatible : should be "nvidia,tegra20-rtc". | 9 | - compatible : should be "nvidia,tegra20-rtc". |
10 | - reg : Specifies base physical address and size of the registers. | 10 | - reg : Specifies base physical address and size of the registers. |
11 | - interrupts : A single interrupt specifier. | 11 | - interrupts : A single interrupt specifier. |
12 | - clocks : Must contain one entry, for the module clock. | ||
13 | See ../clocks/clock-bindings.txt for details. | ||
12 | 14 | ||
13 | Example: | 15 | Example: |
14 | 16 | ||
@@ -16,4 +18,5 @@ timer { | |||
16 | compatible = "nvidia,tegra20-rtc"; | 18 | compatible = "nvidia,tegra20-rtc"; |
17 | reg = <0x7000e000 0x100>; | 19 | reg = <0x7000e000 0x100>; |
18 | interrupts = <0 2 0x04>; | 20 | interrupts = <0 2 0x04>; |
21 | clocks = <&tegra_car 4>; | ||
19 | }; | 22 | }; |
diff --git a/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt b/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt index 392a4493eebd..11eb6e71ddd6 100644 --- a/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt +++ b/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt | |||
@@ -6,6 +6,8 @@ Required properties: | |||
6 | - interrupts: Should contain UART controller interrupts. | 6 | - interrupts: Should contain UART controller interrupts. |
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for this UART controller. | 8 | request selector for this UART controller. |
9 | - clocks: Must contain one entry, for the module clock. | ||
10 | See ../clocks/clock-bindings.txt for details. | ||
9 | 11 | ||
10 | Optional properties: | 12 | Optional properties: |
11 | - nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable | 13 | - nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable |
@@ -20,5 +22,6 @@ serial@70006000 { | |||
20 | interrupts = <0 36 0x04>; | 22 | interrupts = <0 36 0x04>; |
21 | nvidia,dma-request-selector = <&apbdma 8>; | 23 | nvidia,dma-request-selector = <&apbdma 8>; |
22 | nvidia,enable-modem-interrupt; | 24 | nvidia,enable-modem-interrupt; |
25 | clocks = <&tegra_car 6>; | ||
23 | status = "disabled"; | 26 | status = "disabled"; |
24 | }; | 27 | }; |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt index 8b8903ef0800..57f40f93453e 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt | |||
@@ -3,10 +3,11 @@ NVIDIA Tegra audio complex | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra-audio-alc5632" | 4 | - compatible : "nvidia,tegra-audio-alc5632" |
5 | - clocks : Must contain an entry for each entry in clock-names. | 5 | - clocks : Must contain an entry for each entry in clock-names. |
6 | See ../clocks/clock-bindings.txt for details. | ||
6 | - clock-names : Must include the following entries: | 7 | - clock-names : Must include the following entries: |
7 | "pll_a" (The Tegra clock of that name), | 8 | - pll_a |
8 | "pll_a_out0" (The Tegra clock of that name), | 9 | - pll_a_out0 |
9 | "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
10 | - nvidia,model : The user-visible name of this sound complex. | 11 | - nvidia,model : The user-visible name of this sound complex. |
11 | - nvidia,audio-routing : A list of the connections between audio components. | 12 | - nvidia,audio-routing : A list of the connections between audio components. |
12 | Each entry is a pair of strings, the first being the connection's sink, | 13 | Each entry is a pair of strings, the first being the connection's sink, |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt index dc6224994d69..7788808dcd0b 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt | |||
@@ -3,10 +3,11 @@ NVIDIA Tegra audio complex, with RT5640 CODEC | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra-audio-rt5640" | 4 | - compatible : "nvidia,tegra-audio-rt5640" |
5 | - clocks : Must contain an entry for each entry in clock-names. | 5 | - clocks : Must contain an entry for each entry in clock-names. |
6 | See ../clocks/clock-bindings.txt for details. | ||
6 | - clock-names : Must include the following entries: | 7 | - clock-names : Must include the following entries: |
7 | "pll_a" (The Tegra clock of that name), | 8 | - pll_a |
8 | "pll_a_out0" (The Tegra clock of that name), | 9 | - pll_a_out0 |
9 | "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
10 | - nvidia,model : The user-visible name of this sound complex. | 11 | - nvidia,model : The user-visible name of this sound complex. |
11 | - nvidia,audio-routing : A list of the connections between audio components. | 12 | - nvidia,audio-routing : A list of the connections between audio components. |
12 | Each entry is a pair of strings, the first being the connection's sink, | 13 | Each entry is a pair of strings, the first being the connection's sink, |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt index aab6ce0ad2fc..96f6a57dd6b4 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt | |||
@@ -3,10 +3,11 @@ NVIDIA Tegra audio complex | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra-audio-wm8753" | 4 | - compatible : "nvidia,tegra-audio-wm8753" |
5 | - clocks : Must contain an entry for each entry in clock-names. | 5 | - clocks : Must contain an entry for each entry in clock-names. |
6 | See ../clocks/clock-bindings.txt for details. | ||
6 | - clock-names : Must include the following entries: | 7 | - clock-names : Must include the following entries: |
7 | "pll_a" (The Tegra clock of that name), | 8 | - pll_a |
8 | "pll_a_out0" (The Tegra clock of that name), | 9 | - pll_a_out0 |
9 | "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
10 | - nvidia,model : The user-visible name of this sound complex. | 11 | - nvidia,model : The user-visible name of this sound complex. |
11 | - nvidia,audio-routing : A list of the connections between audio components. | 12 | - nvidia,audio-routing : A list of the connections between audio components. |
12 | Each entry is a pair of strings, the first being the connection's sink, | 13 | Each entry is a pair of strings, the first being the connection's sink, |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt index 4b44dfb6ca0d..b795d282818d 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | |||
@@ -3,10 +3,11 @@ NVIDIA Tegra audio complex | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra-audio-wm8903" | 4 | - compatible : "nvidia,tegra-audio-wm8903" |
5 | - clocks : Must contain an entry for each entry in clock-names. | 5 | - clocks : Must contain an entry for each entry in clock-names. |
6 | See ../clocks/clock-bindings.txt for details. | ||
6 | - clock-names : Must include the following entries: | 7 | - clock-names : Must include the following entries: |
7 | "pll_a" (The Tegra clock of that name), | 8 | - pll_a |
8 | "pll_a_out0" (The Tegra clock of that name), | 9 | - pll_a_out0 |
9 | "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
10 | - nvidia,model : The user-visible name of this sound complex. | 11 | - nvidia,model : The user-visible name of this sound complex. |
11 | - nvidia,audio-routing : A list of the connections between audio components. | 12 | - nvidia,audio-routing : A list of the connections between audio components. |
12 | Each entry is a pair of strings, the first being the connection's sink, | 13 | Each entry is a pair of strings, the first being the connection's sink, |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt index ad589b163639..436f6cd9d07c 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt | |||
@@ -3,10 +3,11 @@ NVIDIA Tegra audio complex | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra-audio-wm9712" | 4 | - compatible : "nvidia,tegra-audio-wm9712" |
5 | - clocks : Must contain an entry for each entry in clock-names. | 5 | - clocks : Must contain an entry for each entry in clock-names. |
6 | See ../clocks/clock-bindings.txt for details. | ||
6 | - clock-names : Must include the following entries: | 7 | - clock-names : Must include the following entries: |
7 | "pll_a" (The Tegra clock of that name), | 8 | - pll_a |
8 | "pll_a_out0" (The Tegra clock of that name), | 9 | - pll_a_out0 |
9 | "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) | 10 | - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) |
10 | - nvidia,model : The user-visible name of this sound complex. | 11 | - nvidia,model : The user-visible name of this sound complex. |
11 | - nvidia,audio-routing : A list of the connections between audio components. | 12 | - nvidia,audio-routing : A list of the connections between audio components. |
12 | Each entry is a pair of strings, the first being the connection's sink, | 13 | Each entry is a pair of strings, the first being the connection's sink, |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt index c1454979c1ef..37f4ebf5b184 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt | |||
@@ -4,12 +4,15 @@ Required properties: | |||
4 | - compatible : "nvidia,tegra20-ac97" | 4 | - compatible : "nvidia,tegra20-ac97" |
5 | - reg : Should contain AC97 controller registers location and length | 5 | - reg : Should contain AC97 controller registers location and length |
6 | - interrupts : Should contain AC97 interrupt | 6 | - interrupts : Should contain AC97 interrupt |
7 | - clocks : Must contain one entry, for the module clock. | ||
8 | See ../clocks/clock-bindings.txt for details. | ||
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 9 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for the AC97 controller | 10 | request selector for the AC97 controller |
9 | - nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number | 11 | - nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number |
10 | of the GPIO used to reset the external AC97 codec | 12 | of the GPIO used to reset the external AC97 codec |
11 | - nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number | 13 | - nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number |
12 | of the GPIO corresponding with the AC97 DAP _FS line | 14 | of the GPIO corresponding with the AC97 DAP _FS line |
15 | |||
13 | Example: | 16 | Example: |
14 | 17 | ||
15 | ac97@70002000 { | 18 | ac97@70002000 { |
@@ -19,4 +22,5 @@ ac97@70002000 { | |||
19 | nvidia,dma-request-selector = <&apbdma 12>; | 22 | nvidia,dma-request-selector = <&apbdma 12>; |
20 | nvidia,codec-reset-gpio = <&gpio 170 0>; | 23 | nvidia,codec-reset-gpio = <&gpio 170 0>; |
21 | nvidia,codec-sync-gpio = <&gpio 120 0>; | 24 | nvidia,codec-sync-gpio = <&gpio 120 0>; |
25 | clocks = <&tegra_car 3>; | ||
22 | }; | 26 | }; |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt index 0df2b5c816e3..ba0c9452916d 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt | |||
@@ -4,6 +4,8 @@ Required properties: | |||
4 | - compatible : "nvidia,tegra20-i2s" | 4 | - compatible : "nvidia,tegra20-i2s" |
5 | - reg : Should contain I2S registers location and length | 5 | - reg : Should contain I2S registers location and length |
6 | - interrupts : Should contain I2S interrupt | 6 | - interrupts : Should contain I2S interrupt |
7 | - clocks : Must contain one entry, for the module clock. | ||
8 | See ../clocks/clock-bindings.txt for details. | ||
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 9 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for this I2S controller | 10 | request selector for this I2S controller |
9 | 11 | ||
@@ -14,4 +16,5 @@ i2s@70002800 { | |||
14 | reg = <0x70002800 0x200>; | 16 | reg = <0x70002800 0x200>; |
15 | interrupts = < 45 >; | 17 | interrupts = < 45 >; |
16 | nvidia,dma-request-selector = < &apbdma 2 >; | 18 | nvidia,dma-request-selector = < &apbdma 2 >; |
19 | clocks = <&tegra_car 11>; | ||
17 | }; | 20 | }; |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt index 0e5c12c66523..7299eeadd588 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt | |||
@@ -12,11 +12,24 @@ Required properties: | |||
12 | If a single entry is present, the request selectors for the channels are | 12 | If a single entry is present, the request selectors for the channels are |
13 | assumed to be contiguous, and increment from this value. | 13 | assumed to be contiguous, and increment from this value. |
14 | If multiple values are given, one value must be given per channel. | 14 | If multiple values are given, one value must be given per channel. |
15 | - clocks : Must contain an entry for each required entry in clock-names. | 15 | - clocks : Must contain an entry for each entry in clock-names. |
16 | See ../clocks/clock-bindings.txt for details. | ||
16 | - clock-names : Must include the following entries: | 17 | - clock-names : Must include the following entries: |
17 | - Tegra30: Requires d_audio, apbif, i2s0, i2s1, i2s2, i2s3, i2s4, dam0, | 18 | Tegra30 and later: |
18 | dam1, dam2, spdif_in. | 19 | - d_audio |
19 | - Tegra114: Additionally requires amx, adx. | 20 | - apbif |
21 | - i2s0 | ||
22 | - i2s1 | ||
23 | - i2s2 | ||
24 | - i2s3 | ||
25 | - i2s4 | ||
26 | - dam0 | ||
27 | - dam1 | ||
28 | - dam2 | ||
29 | - spdif_in | ||
30 | Tegra114 and later additionally require: | ||
31 | - amx | ||
32 | - adx | ||
20 | - ranges : The bus address mapping for the configlink register bus. | 33 | - ranges : The bus address mapping for the configlink register bus. |
21 | Can be empty since the mapping is 1:1. | 34 | Can be empty since the mapping is 1:1. |
22 | - #address-cells : For the configlink bus. Should be <1>; | 35 | - #address-cells : For the configlink bus. Should be <1>; |
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.txt index dfa6c037124a..7a3112bc135c 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.txt | |||
@@ -3,13 +3,16 @@ NVIDIA Tegra30 I2S controller | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra30-i2s" | 4 | - compatible : "nvidia,tegra30-i2s" |
5 | - reg : Should contain I2S registers location and length | 5 | - reg : Should contain I2S registers location and length |
6 | - clocks : Must contain one entry, for the module clock. | ||
7 | See ../clocks/clock-bindings.txt for details. | ||
6 | - nvidia,ahub-cif-ids : The list of AHUB CIF IDs for this port, rx (playback) | 8 | - nvidia,ahub-cif-ids : The list of AHUB CIF IDs for this port, rx (playback) |
7 | first, tx (capture) second. See nvidia,tegra30-ahub.txt for values. | 9 | first, tx (capture) second. See nvidia,tegra30-ahub.txt for values. |
8 | 10 | ||
9 | Example: | 11 | Example: |
10 | 12 | ||
11 | i2s@70002800 { | 13 | i2s@70080300 { |
12 | compatible = "nvidia,tegra30-i2s"; | 14 | compatible = "nvidia,tegra30-i2s"; |
13 | reg = <0x70080300 0x100>; | 15 | reg = <0x70080300 0x100>; |
14 | nvidia,ahub-cif-ids = <4 4>; | 16 | nvidia,ahub-cif-ids = <4 4>; |
17 | clocks = <&tegra_car 11>; | ||
15 | }; | 18 | }; |
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt index 91ff771c7e77..d4f2d534934b 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt | |||
@@ -6,8 +6,10 @@ Required properties: | |||
6 | - interrupts: Should contain SPI interrupts. | 6 | - interrupts: Should contain SPI interrupts. |
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for this SPI controller. | 8 | request selector for this SPI controller. |
9 | - This is also require clock named "spi" as per binding document | 9 | - clocks : Must contain an entry for each entry in clock-names. |
10 | Documentation/devicetree/bindings/clock/clock-bindings.txt | 10 | See ../clocks/clock-bindings.txt for details. |
11 | - clock-names : Must include the following entries: | ||
12 | - spi | ||
11 | 13 | ||
12 | Recommended properties: | 14 | Recommended properties: |
13 | - spi-max-frequency: Definition as per | 15 | - spi-max-frequency: Definition as per |
@@ -22,5 +24,7 @@ spi@7000d600 { | |||
22 | spi-max-frequency = <25000000>; | 24 | spi-max-frequency = <25000000>; |
23 | #address-cells = <1>; | 25 | #address-cells = <1>; |
24 | #size-cells = <0>; | 26 | #size-cells = <0>; |
27 | clocks = <&tegra_car 44>; | ||
28 | clock-names = "spi"; | ||
25 | status = "disabled"; | 29 | status = "disabled"; |
26 | }; | 30 | }; |
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt index 7b53da5cb75b..66e16c7f5939 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt | |||
@@ -6,6 +6,8 @@ Required properties: | |||
6 | - interrupts: Should contain SFLASH interrupts. | 6 | - interrupts: Should contain SFLASH interrupts. |
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for this SFLASH controller. | 8 | request selector for this SFLASH controller. |
9 | - clocks : Must contain one entry, for the module clock. | ||
10 | See ../clocks/clock-bindings.txt for details. | ||
9 | 11 | ||
10 | Recommended properties: | 12 | Recommended properties: |
11 | - spi-max-frequency: Definition as per | 13 | - spi-max-frequency: Definition as per |
@@ -21,6 +23,6 @@ spi@7000c380 { | |||
21 | spi-max-frequency = <25000000>; | 23 | spi-max-frequency = <25000000>; |
22 | #address-cells = <1>; | 24 | #address-cells = <1>; |
23 | #size-cells = <0>; | 25 | #size-cells = <0>; |
26 | clocks = <&tegra_car 43>; | ||
24 | status = "disabled"; | 27 | status = "disabled"; |
25 | }; | 28 | }; |
26 | |||
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt index eefe15e3d95e..0e6e94eb2b2a 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt | |||
@@ -6,6 +6,8 @@ Required properties: | |||
6 | - interrupts: Should contain SLINK interrupts. | 6 | - interrupts: Should contain SLINK interrupts. |
7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and | 7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
8 | request selector for this SLINK controller. | 8 | request selector for this SLINK controller. |
9 | - clocks : Must contain one entry, for the module clock. | ||
10 | See ../clocks/clock-bindings.txt for details. | ||
9 | 11 | ||
10 | Recommended properties: | 12 | Recommended properties: |
11 | - spi-max-frequency: Definition as per | 13 | - spi-max-frequency: Definition as per |
@@ -21,6 +23,6 @@ spi@7000d600 { | |||
21 | spi-max-frequency = <25000000>; | 23 | spi-max-frequency = <25000000>; |
22 | #address-cells = <1>; | 24 | #address-cells = <1>; |
23 | #size-cells = <0>; | 25 | #size-cells = <0>; |
26 | clocks = <&tegra_car 44>; | ||
24 | status = "disabled"; | 27 | status = "disabled"; |
25 | }; | 28 | }; |
26 | |||
diff --git a/Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt b/Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt index e019fdc38773..4a864bd10d3d 100644 --- a/Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt +++ b/Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt | |||
@@ -8,6 +8,8 @@ Required properties: | |||
8 | - compatible : should be "nvidia,tegra20-timer". | 8 | - compatible : should be "nvidia,tegra20-timer". |
9 | - reg : Specifies base physical address and size of the registers. | 9 | - reg : Specifies base physical address and size of the registers. |
10 | - interrupts : A list of 4 interrupts; one per timer channel. | 10 | - interrupts : A list of 4 interrupts; one per timer channel. |
11 | - clocks : Must contain one entry, for the module clock. | ||
12 | See ../clocks/clock-bindings.txt for details. | ||
11 | 13 | ||
12 | Example: | 14 | Example: |
13 | 15 | ||
@@ -18,4 +20,5 @@ timer { | |||
18 | 0 1 0x04 | 20 | 0 1 0x04 |
19 | 0 41 0x04 | 21 | 0 41 0x04 |
20 | 0 42 0x04>; | 22 | 0 42 0x04>; |
23 | clocks = <&tegra_car 132>; | ||
21 | }; | 24 | }; |
diff --git a/Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt b/Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt index 906109d4c593..b5082a1cf461 100644 --- a/Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt +++ b/Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt | |||
@@ -10,6 +10,8 @@ Required properties: | |||
10 | - reg : Specifies base physical address and size of the registers. | 10 | - reg : Specifies base physical address and size of the registers. |
11 | - interrupts : A list of 6 interrupts; one per each of timer channels 1 | 11 | - interrupts : A list of 6 interrupts; one per each of timer channels 1 |
12 | through 5, and one for the shared interrupt for the remaining channels. | 12 | through 5, and one for the shared interrupt for the remaining channels. |
13 | - clocks : Must contain one entry, for the module clock. | ||
14 | See ../clocks/clock-bindings.txt for details. | ||
13 | 15 | ||
14 | timer { | 16 | timer { |
15 | compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer"; | 17 | compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer"; |
@@ -20,4 +22,5 @@ timer { | |||
20 | 0 42 0x04 | 22 | 0 42 0x04 |
21 | 0 121 0x04 | 23 | 0 121 0x04 |
22 | 0 122 0x04>; | 24 | 0 122 0x04>; |
25 | clocks = <&tegra_car 214>; | ||
23 | }; | 26 | }; |
diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt index df0933043a5b..b98d0bdfa248 100644 --- a/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt | |||
@@ -8,7 +8,8 @@ and additions : | |||
8 | Required properties : | 8 | Required properties : |
9 | - compatible : Should be "nvidia,tegra20-ehci". | 9 | - compatible : Should be "nvidia,tegra20-ehci". |
10 | - nvidia,phy : phandle of the PHY that the controller is connected to. | 10 | - nvidia,phy : phandle of the PHY that the controller is connected to. |
11 | - clocks : Contains a single entry which defines the USB controller's clock. | 11 | - clocks : Must contain one entry, for the module clock. |
12 | See ../clocks/clock-bindings.txt for details. | ||
12 | 13 | ||
13 | Optional properties: | 14 | Optional properties: |
14 | - nvidia,needs-double-reset : boolean is to be set for some of the Tegra20 | 15 | - nvidia,needs-double-reset : boolean is to be set for some of the Tegra20 |