Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+173 -42
+1
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt
··· 9 9 - compatible : Should contain "nvidia,tegra<chip>-pmc". 10 10 - reg : Offset and length of the register set for the device 11 11 - clocks : Must contain an entry for each entry in clock-names. 12 + See ../clocks/clock-bindings.txt for details. 12 13 - clock-names : Must include the following entries: 13 14 "pclk" (The Tegra clock of that name), 14 15 "clk32k_in" (The 32KHz clock input to Tegra).
+3
Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
··· 5 5 - reg: Should contain DMA registers location and length. This shuld include 6 6 all of the per-channel registers. 7 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 11 Examples: 10 12 ··· 29 27 0 149 0x04 30 28 0 150 0x04 31 29 0 151 0x04 >; 30 + clocks = <&tegra_car 34>; 32 31 };
+59
Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
··· 9 9 - #size-cells: The number of cells used to represent the size of an address 10 10 range in the host1x address space. Should be 1. 11 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 15 The host1x top-level node defines a number of children, each representing one 14 16 of the following host1x client modules: ··· 21 19 - compatible: "nvidia,tegra<chip>-mpe" 22 20 - reg: Physical base address and length of the controller's registers. 23 21 - interrupts: The interrupt outputs from the controller. 22 + - clocks: Must contain one entry, for the module clock. 23 + See ../clocks/clock-bindings.txt for details. 24 24 25 25 - vi: video input 26 26 ··· 30 26 - compatible: "nvidia,tegra<chip>-vi" 31 27 - reg: Physical base address and length of the controller's registers. 32 28 - interrupts: The interrupt outputs from the controller. 29 + - clocks: Must contain one entry, for the module clock. 30 + See ../clocks/clock-bindings.txt for details. 33 31 34 32 - epp: encoder pre-processor 35 33 ··· 39 33 - compatible: "nvidia,tegra<chip>-epp" 40 34 - reg: Physical base address and length of the controller's registers. 41 35 - interrupts: The interrupt outputs from the controller. 36 + - clocks: Must contain one entry, for the module clock. 37 + See ../clocks/clock-bindings.txt for details. 42 38 43 39 - isp: image signal processor 44 40 ··· 48 40 - compatible: "nvidia,tegra<chip>-isp" 49 41 - reg: Physical base address and length of the controller's registers. 50 42 - interrupts: The interrupt outputs from the controller. 43 + - clocks: Must contain one entry, for the module clock. 44 + See ../clocks/clock-bindings.txt for details. 51 45 52 46 - gr2d: 2D graphics engine 53 47 ··· 57 47 - compatible: "nvidia,tegra<chip>-gr2d" 58 48 - reg: Physical base address and length of the controller's registers. 59 49 - interrupts: The interrupt outputs from the controller. 50 + - clocks: Must contain one entry, for the module clock. 51 + See ../clocks/clock-bindings.txt for details. 60 52 61 53 - gr3d: 3D graphics engine 62 54 63 55 Required properties: 64 56 - compatible: "nvidia,tegra<chip>-gr3d" 65 57 - reg: Physical base address and length of the controller's registers. 58 + - clocks: Must contain an entry for each entry in clock-names. 59 + See ../clocks/clock-bindings.txt for details. 60 + - clock-names: Must include the following entries: 61 + (This property may be omitted if the only clock in the list is "3d") 62 + - 3d 63 + This MUST be the first entry. 64 + - 3d2 (Only required on SoCs with two 3D clocks) 66 65 67 66 - dc: display controller 68 67 ··· 79 60 - compatible: "nvidia,tegra<chip>-dc" 80 61 - reg: Physical base address and length of the controller's registers. 81 62 - interrupts: The interrupt outputs from the controller. 63 + - clocks: Must contain an entry for each entry in clock-names. 64 + See ../clocks/clock-bindings.txt for details. 65 + - clock-names: Must include the following entries: 66 + - dc 67 + This MUST be the first entry. 68 + - parent 82 69 83 70 Each display controller node has a child node, named "rgb", that represents 84 71 the RGB output associated with the controller. It can take the following ··· 101 76 - interrupts: The interrupt outputs from the controller. 102 77 - vdd-supply: regulator for supply voltage 103 78 - pll-supply: regulator for PLL 79 + - clocks: Must contain an entry for each entry in clock-names. 80 + See ../clocks/clock-bindings.txt for details. 81 + - clock-names: Must include the following entries: 82 + - hdmi 83 + This MUST be the first entry. 84 + - parent 104 85 105 86 Optional properties: 106 87 - nvidia,ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing ··· 119 88 - compatible: "nvidia,tegra<chip>-tvo" 120 89 - reg: Physical base address and length of the controller's registers. 121 90 - interrupts: The interrupt outputs from the controller. 91 + - clocks: Must contain one entry, for the module clock. 92 + See ../clocks/clock-bindings.txt for details. 122 93 123 94 - dsi: display serial interface 124 95 125 96 Required properties: 126 97 - compatible: "nvidia,tegra<chip>-dsi" 127 98 - reg: Physical base address and length of the controller's registers. 99 + - clocks: Must contain an entry for each entry in clock-names. 100 + See ../clocks/clock-bindings.txt for details. 101 + - clock-names: Must include the following entries: 102 + - dsi 103 + This MUST be the first entry. 104 + - parent 128 105 129 106 Example: 130 107 ··· 144 105 reg = <0x50000000 0x00024000>; 145 106 interrupts = <0 65 0x04 /* mpcore syncpt */ 146 107 0 67 0x04>; /* mpcore general */ 108 + clocks = <&tegra_car TEGRA20_CLK_HOST1X>; 147 109 148 110 #address-cells = <1>; 149 111 #size-cells = <1>; ··· 155 115 compatible = "nvidia,tegra20-mpe"; 156 116 reg = <0x54040000 0x00040000>; 157 117 interrupts = <0 68 0x04>; 118 + clocks = <&tegra_car TEGRA20_CLK_MPE>; 158 119 }; 159 120 160 121 vi { 161 122 compatible = "nvidia,tegra20-vi"; 162 123 reg = <0x54080000 0x00040000>; 163 124 interrupts = <0 69 0x04>; 125 + clocks = <&tegra_car TEGRA20_CLK_VI>; 164 126 }; 165 127 166 128 epp { 167 129 compatible = "nvidia,tegra20-epp"; 168 130 reg = <0x540c0000 0x00040000>; 169 131 interrupts = <0 70 0x04>; 132 + clocks = <&tegra_car TEGRA20_CLK_EPP>; 170 133 }; 171 134 172 135 isp { 173 136 compatible = "nvidia,tegra20-isp"; 174 137 reg = <0x54100000 0x00040000>; 175 138 interrupts = <0 71 0x04>; 139 + clocks = <&tegra_car TEGRA20_CLK_ISP>; 176 140 }; 177 141 178 142 gr2d { 179 143 compatible = "nvidia,tegra20-gr2d"; 180 144 reg = <0x54140000 0x00040000>; 181 145 interrupts = <0 72 0x04>; 146 + clocks = <&tegra_car TEGRA20_CLK_GR2D>; 182 147 }; 183 148 184 149 gr3d { 185 150 compatible = "nvidia,tegra20-gr3d"; 186 151 reg = <0x54180000 0x00040000>; 152 + clocks = <&tegra_car TEGRA20_CLK_GR3D>; 187 153 }; 188 154 189 155 dc@54200000 { 190 156 compatible = "nvidia,tegra20-dc"; 191 157 reg = <0x54200000 0x00040000>; 192 158 interrupts = <0 73 0x04>; 159 + clocks = <&tegra_car TEGRA20_CLK_DISP1>, 160 + <&tegra_car TEGRA20_CLK_PLL_P>; 161 + clock-names = "disp1", "parent"; 193 162 194 163 rgb { 195 164 status = "disabled"; ··· 209 160 compatible = "nvidia,tegra20-dc"; 210 161 reg = <0x54240000 0x00040000>; 211 162 interrupts = <0 74 0x04>; 163 + clocks = <&tegra_car TEGRA20_CLK_DISP2>, 164 + <&tegra_car TEGRA20_CLK_PLL_P>; 165 + clock-names = "disp2", "parent"; 212 166 213 167 rgb { 214 168 status = "disabled"; ··· 222 170 compatible = "nvidia,tegra20-hdmi"; 223 171 reg = <0x54280000 0x00040000>; 224 172 interrupts = <0 75 0x04>; 173 + clocks = <&tegra_car TEGRA20_CLK_HDMI>, 174 + <&tegra_car TEGRA20_CLK_PLL_D_OUT0>; 175 + clock-names = "hdmi", "parent"; 225 176 status = "disabled"; 226 177 }; 227 178 ··· 232 177 compatible = "nvidia,tegra20-tvo"; 233 178 reg = <0x542c0000 0x00040000>; 234 179 interrupts = <0 76 0x04>; 180 + clocks = <&tegra_car TEGRA20_CLK_TVO>; 235 181 status = "disabled"; 236 182 }; 237 183 238 184 dsi { 239 185 compatible = "nvidia,tegra20-dsi"; 240 186 reg = <0x54300000 0x00040000>; 187 + clocks = <&tegra_car TEGRA20_CLK_DSI>, 188 + <&tegra_car TEGRA20_CLK_PLL_D_OUT0>; 189 + clock-names = "dsi", "parent"; 241 190 status = "disabled"; 242 191 }; 243 192 };
+8 -6
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
··· 39 39 - interrupts: Should contain I2C controller interrupts. 40 40 - address-cells: Address cells for I2C device address. 41 41 - size-cells: Size of the I2C device address. 42 - - clocks: Clock ID as per 43 - Documentation/devicetree/bindings/clock/tegra<chip-id>.txt 44 - for I2C controller. 45 - - clock-names: Name of the clock: 46 - Tegra20/Tegra30 I2C controller: "div-clk and "fast-clk". 47 - Tegra114 I2C controller: "div-clk". 42 + - clocks: Must contain an entry for each entry in clock-names. 43 + See ../clocks/clock-bindings.txt for details. 44 + - clock-names: Must include the following entries: 45 + Tegra20/Tegra30: 46 + - div-clk 47 + - fast-clk 48 + Tegra114: 49 + - div-clk 48 50 49 51 Example: 50 52
+3
Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt
··· 13 13 array of pin numbers which is used as column. 14 14 - linux,keymap: The keymap for keys as described in the binding document 15 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 19 Optional properties, in addition to those specified by the shared 18 20 matrix-keyboard bindings: ··· 33 31 compatible = "nvidia,tegra20-kbc"; 34 32 reg = <0x7000e200 0x100>; 35 33 interrupts = <0 85 0x04>; 34 + clocks = <&tegra_car 36>; 36 35 nvidia,ghost-filter; 37 36 nvidia,debounce-delay-ms = <640>; 38 37 nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */
+3
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
··· 8 8 9 9 Required properties: 10 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 14 Optional properties: 13 15 - power-gpios : Specify GPIOs for power control ··· 20 18 compatible = "nvidia,tegra20-sdhci"; 21 19 reg = <0xc8000200 0x200>; 22 20 interrupts = <47>; 21 + clocks = <&tegra_car 14>; 23 22 cd-gpios = <&gpio 69 0>; /* gpio PI5 */ 24 23 wp-gpios = <&gpio 57 0>; /* gpio PH1 */ 25 24 power-gpios = <&gpio 155 0>; /* gpio PT3 */
+8
Documentation/devicetree/bindings/nvec/nvidia,nvec.txt
··· 7 7 - clock-frequency : the frequency of the i2c bus 8 8 - gpios : the gpio used for ec request 9 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
+7 -7
Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
··· 42 42 - 0xc2000000: prefetchable memory region 43 43 Please refer to the standard PCI bus binding document for a more detailed 44 44 explanation. 45 - - clocks: List of clock inputs of the controller. Must contain an entry for 46 - each entry in the clock-names property. 45 + - clocks: Must contain an entry for each entry in clock-names. 46 + See ../clocks/clock-bindings.txt for details. 47 47 - clock-names: Must include the following entries: 48 - "pex": The Tegra clock of that name 49 - "afi": The Tegra clock of that name 50 - "pcie_xclk": The Tegra clock of that name 51 - "pll_e": The Tegra clock of that name 52 - "cml": The Tegra clock of that name (not required for Tegra20) 48 + - pex 49 + - afi 50 + - pcie_xclk 51 + - pll_e 52 + - cml (not required for Tegra20) 53 53 54 54 Root ports are defined as subnodes of the PCIe controller node. 55 55
+3
Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt
··· 7 7 - reg: physical base address and length of the controller's registers 8 8 - #pwm-cells: should be 2. See pwm.txt in this directory for a description of 9 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 13 Example: 12 14 ··· 16 14 compatible = "nvidia,tegra20-pwm"; 17 15 reg = <0x7000a000 0x100>; 18 16 #pwm-cells = <2>; 17 + clocks = <&tegra_car 17>; 19 18 };
+3
Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt
··· 9 9 - compatible : should be "nvidia,tegra20-rtc". 10 10 - reg : Specifies base physical address and size of the registers. 11 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 15 Example: 14 16 ··· 18 16 compatible = "nvidia,tegra20-rtc"; 19 17 reg = <0x7000e000 0x100>; 20 18 interrupts = <0 2 0x04>; 19 + clocks = <&tegra_car 4>; 21 20 };
+3
Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt
··· 6 6 - interrupts: Should contain UART controller interrupts. 7 7 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 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 12 Optional properties: 11 13 - nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable ··· 22 20 interrupts = <0 36 0x04>; 23 21 nvidia,dma-request-selector = <&apbdma 8>; 24 22 nvidia,enable-modem-interrupt; 23 + clocks = <&tegra_car 6>; 25 24 status = "disabled"; 26 25 };
+4 -3
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra-audio-alc5632" 5 5 - clocks : Must contain an entry for each entry in clock-names. 6 + See ../clocks/clock-bindings.txt for details. 6 7 - clock-names : Must include the following entries: 7 - "pll_a" (The Tegra clock of that name), 8 - "pll_a_out0" (The Tegra clock of that name), 9 - "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 8 + - pll_a 9 + - pll_a_out0 10 + - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10 11 - nvidia,model : The user-visible name of this sound complex. 11 12 - nvidia,audio-routing : A list of the connections between audio components. 12 13 Each entry is a pair of strings, the first being the connection's sink,
+4 -3
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra-audio-rt5640" 5 5 - clocks : Must contain an entry for each entry in clock-names. 6 + See ../clocks/clock-bindings.txt for details. 6 7 - clock-names : Must include the following entries: 7 - "pll_a" (The Tegra clock of that name), 8 - "pll_a_out0" (The Tegra clock of that name), 9 - "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 8 + - pll_a 9 + - pll_a_out0 10 + - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10 11 - nvidia,model : The user-visible name of this sound complex. 11 12 - nvidia,audio-routing : A list of the connections between audio components. 12 13 Each entry is a pair of strings, the first being the connection's sink,
+4 -3
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra-audio-wm8753" 5 5 - clocks : Must contain an entry for each entry in clock-names. 6 + See ../clocks/clock-bindings.txt for details. 6 7 - clock-names : Must include the following entries: 7 - "pll_a" (The Tegra clock of that name), 8 - "pll_a_out0" (The Tegra clock of that name), 9 - "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 8 + - pll_a 9 + - pll_a_out0 10 + - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10 11 - nvidia,model : The user-visible name of this sound complex. 11 12 - nvidia,audio-routing : A list of the connections between audio components. 12 13 Each entry is a pair of strings, the first being the connection's sink,
+4 -3
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra-audio-wm8903" 5 5 - clocks : Must contain an entry for each entry in clock-names. 6 + See ../clocks/clock-bindings.txt for details. 6 7 - clock-names : Must include the following entries: 7 - "pll_a" (The Tegra clock of that name), 8 - "pll_a_out0" (The Tegra clock of that name), 9 - "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 8 + - pll_a 9 + - pll_a_out0 10 + - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10 11 - nvidia,model : The user-visible name of this sound complex. 11 12 - nvidia,audio-routing : A list of the connections between audio components. 12 13 Each entry is a pair of strings, the first being the connection's sink,
+4 -3
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra-audio-wm9712" 5 5 - clocks : Must contain an entry for each entry in clock-names. 6 + See ../clocks/clock-bindings.txt for details. 6 7 - clock-names : Must include the following entries: 7 - "pll_a" (The Tegra clock of that name), 8 - "pll_a_out0" (The Tegra clock of that name), 9 - "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 8 + - pll_a 9 + - pll_a_out0 10 + - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 10 11 - nvidia,model : The user-visible name of this sound complex. 11 12 - nvidia,audio-routing : A list of the connections between audio components. 12 13 Each entry is a pair of strings, the first being the connection's sink,
+4
Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt
··· 4 4 - compatible : "nvidia,tegra20-ac97" 5 5 - reg : Should contain AC97 controller registers location and length 6 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 9 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 10 request selector for the AC97 controller 9 11 - nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number 10 12 of the GPIO used to reset the external AC97 codec 11 13 - nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number 12 14 of the GPIO corresponding with the AC97 DAP _FS line 15 + 13 16 Example: 14 17 15 18 ac97@70002000 { ··· 22 19 nvidia,dma-request-selector = <&apbdma 12>; 23 20 nvidia,codec-reset-gpio = <&gpio 170 0>; 24 21 nvidia,codec-sync-gpio = <&gpio 120 0>; 22 + clocks = <&tegra_car 3>; 25 23 };
+3
Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt
··· 4 4 - compatible : "nvidia,tegra20-i2s" 5 5 - reg : Should contain I2S registers location and length 6 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 9 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 10 request selector for this I2S controller 9 11 ··· 16 14 reg = <0x70002800 0x200>; 17 15 interrupts = < 45 >; 18 16 nvidia,dma-request-selector = < &apbdma 2 >; 17 + clocks = <&tegra_car 11>; 19 18 };
+17 -4
Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt
··· 12 12 If a single entry is present, the request selectors for the channels are 13 13 assumed to be contiguous, and increment from this value. 14 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 17 - clock-names : Must include the following entries: 17 - - Tegra30: Requires d_audio, apbif, i2s0, i2s1, i2s2, i2s3, i2s4, dam0, 18 - dam1, dam2, spdif_in. 19 - - Tegra114: Additionally requires amx, adx. 18 + Tegra30 and later: 19 + - d_audio 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 33 - ranges : The bus address mapping for the configlink register bus. 21 34 Can be empty since the mapping is 1:1. 22 35 - #address-cells : For the configlink bus. Should be <1>;
+4 -1
Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.txt
··· 3 3 Required properties: 4 4 - compatible : "nvidia,tegra30-i2s" 5 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 8 - nvidia,ahub-cif-ids : The list of AHUB CIF IDs for this port, rx (playback) 7 9 first, tx (capture) second. See nvidia,tegra30-ahub.txt for values. 8 10 9 11 Example: 10 12 11 - i2s@70002800 { 13 + i2s@70080300 { 12 14 compatible = "nvidia,tegra30-i2s"; 13 15 reg = <0x70080300 0x100>; 14 16 nvidia,ahub-cif-ids = <4 4>; 17 + clocks = <&tegra_car 11>; 15 18 };
+6 -2
Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
··· 6 6 - interrupts: Should contain SPI interrupts. 7 7 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 8 request selector for this SPI controller. 9 - - This is also require clock named "spi" as per binding document 10 - Documentation/devicetree/bindings/clock/clock-bindings.txt 9 + - clocks : Must contain an entry for each entry in clock-names. 10 + See ../clocks/clock-bindings.txt for details. 11 + - clock-names : Must include the following entries: 12 + - spi 11 13 12 14 Recommended properties: 13 15 - spi-max-frequency: Definition as per ··· 24 22 spi-max-frequency = <25000000>; 25 23 #address-cells = <1>; 26 24 #size-cells = <0>; 25 + clocks = <&tegra_car 44>; 26 + clock-names = "spi"; 27 27 status = "disabled"; 28 28 };
+3 -1
Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt
··· 6 6 - interrupts: Should contain SFLASH interrupts. 7 7 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 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 12 Recommended properties: 11 13 - spi-max-frequency: Definition as per ··· 23 21 spi-max-frequency = <25000000>; 24 22 #address-cells = <1>; 25 23 #size-cells = <0>; 24 + clocks = <&tegra_car 43>; 26 25 status = "disabled"; 27 26 }; 28 -
+3 -1
Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt
··· 6 6 - interrupts: Should contain SLINK interrupts. 7 7 - nvidia,dma-request-selector : The Tegra DMA controller's phandle and 8 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 12 Recommended properties: 11 13 - spi-max-frequency: Definition as per ··· 23 21 spi-max-frequency = <25000000>; 24 22 #address-cells = <1>; 25 23 #size-cells = <0>; 24 + clocks = <&tegra_car 44>; 26 25 status = "disabled"; 27 26 }; 28 -
+3
Documentation/devicetree/bindings/timer/nvidia,tegra20-timer.txt
··· 8 8 - compatible : should be "nvidia,tegra20-timer". 9 9 - reg : Specifies base physical address and size of the registers. 10 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 14 Example: 13 15 ··· 20 18 0 1 0x04 21 19 0 41 0x04 22 20 0 42 0x04>; 21 + clocks = <&tegra_car 132>; 23 22 };
+3
Documentation/devicetree/bindings/timer/nvidia,tegra30-timer.txt
··· 10 10 - reg : Specifies base physical address and size of the registers. 11 11 - interrupts : A list of 6 interrupts; one per each of timer channels 1 12 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 16 timer { 15 17 compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer"; ··· 22 20 0 42 0x04 23 21 0 121 0x04 24 22 0 122 0x04>; 23 + clocks = <&tegra_car 214>; 25 24 };
+2 -1
Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
··· 8 8 Required properties : 9 9 - compatible : Should be "nvidia,tegra20-ehci". 10 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 14 Optional properties: 14 15 - nvidia,needs-double-reset : boolean is to be set for some of the Tegra20
+2 -2
arch/arm/boot/dts/tegra20.dtsi
··· 75 75 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 76 76 clocks = <&tegra_car TEGRA20_CLK_DISP1>, 77 77 <&tegra_car TEGRA20_CLK_PLL_P>; 78 - clock-names = "disp1", "parent"; 78 + clock-names = "dc", "parent"; 79 79 80 80 rgb { 81 81 status = "disabled"; ··· 88 88 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 89 89 clocks = <&tegra_car TEGRA20_CLK_DISP2>, 90 90 <&tegra_car TEGRA20_CLK_PLL_P>; 91 - clock-names = "disp2", "parent"; 91 + clock-names = "dc", "parent"; 92 92 93 93 rgb { 94 94 status = "disabled";
+2 -2
arch/arm/boot/dts/tegra30.dtsi
··· 147 147 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 148 148 clocks = <&tegra_car TEGRA30_CLK_DISP1>, 149 149 <&tegra_car TEGRA30_CLK_PLL_P>; 150 - clock-names = "disp1", "parent"; 150 + clock-names = "dc", "parent"; 151 151 152 152 rgb { 153 153 status = "disabled"; ··· 160 160 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 161 161 clocks = <&tegra_car TEGRA30_CLK_DISP2>, 162 162 <&tegra_car TEGRA30_CLK_PLL_P>; 163 - clock-names = "disp2", "parent"; 163 + clock-names = "dc", "parent"; 164 164 165 165 rgb { 166 166 status = "disabled";