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

ARM: dt: tegra: Add Tegra APB DMA device tree binding

Document binding, and add the node to tegra*.dtsi.

The driver isn't actually instantiated from this node yet, but the I2S
binding will rely on being able to refer to the APB DMA node using a
phandle.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>

authored by

Stephen Warren and committed by
Olof Johansson
8051b75a f8196b01

+88
+30
Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
··· 1 + * NVIDIA Tegra APB DMA controller 2 + 3 + Required properties: 4 + - compatible: Should be "nvidia,<chip>-apbdma" 5 + - reg: Should contain DMA registers location and length. This shuld include 6 + all of the per-channel registers. 7 + - interrupts: Should contain all of the per-channel DMA interrupts. 8 + 9 + Examples: 10 + 11 + apbdma: dma@6000a000 { 12 + compatible = "nvidia,tegra20-apbdma"; 13 + reg = <0x6000a000 0x1200>; 14 + interrupts = < 0 136 0x04 15 + 0 137 0x04 16 + 0 138 0x04 17 + 0 139 0x04 18 + 0 140 0x04 19 + 0 141 0x04 20 + 0 142 0x04 21 + 0 143 0x04 22 + 0 144 0x04 23 + 0 145 0x04 24 + 0 146 0x04 25 + 0 147 0x04 26 + 0 148 0x04 27 + 0 149 0x04 28 + 0 150 0x04 29 + 0 151 0x04 >; 30 + };
+21
arch/arm/boot/dts/tegra20.dtsi
··· 12 12 < 0x50040100 0x0100 >; 13 13 }; 14 14 15 + apbdma: dma@6000a000 { 16 + compatible = "nvidia,tegra20-apbdma"; 17 + reg = <0x6000a000 0x1200>; 18 + interrupts = < 0 104 0x04 19 + 0 105 0x04 20 + 0 106 0x04 21 + 0 107 0x04 22 + 0 108 0x04 23 + 0 109 0x04 24 + 0 110 0x04 25 + 0 111 0x04 26 + 0 112 0x04 27 + 0 113 0x04 28 + 0 114 0x04 29 + 0 115 0x04 30 + 0 116 0x04 31 + 0 117 0x04 32 + 0 118 0x04 33 + 0 119 0x04 >; 34 + }; 35 + 15 36 i2c@7000c000 { 16 37 #address-cells = <1>; 17 38 #size-cells = <0>;
+37
arch/arm/boot/dts/tegra30.dtsi
··· 12 12 < 0x50040100 0x0100 >; 13 13 }; 14 14 15 + apbdma: dma@6000a000 { 16 + compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; 17 + reg = <0x6000a000 0x1400>; 18 + interrupts = < 0 104 0x04 19 + 0 105 0x04 20 + 0 106 0x04 21 + 0 107 0x04 22 + 0 108 0x04 23 + 0 109 0x04 24 + 0 110 0x04 25 + 0 111 0x04 26 + 0 112 0x04 27 + 0 113 0x04 28 + 0 114 0x04 29 + 0 115 0x04 30 + 0 116 0x04 31 + 0 117 0x04 32 + 0 118 0x04 33 + 0 119 0x04 34 + 0 128 0x04 35 + 0 129 0x04 36 + 0 130 0x04 37 + 0 131 0x04 38 + 0 132 0x04 39 + 0 133 0x04 40 + 0 134 0x04 41 + 0 135 0x04 42 + 0 136 0x04 43 + 0 137 0x04 44 + 0 138 0x04 45 + 0 139 0x04 46 + 0 140 0x04 47 + 0 141 0x04 48 + 0 142 0x04 49 + 0 143 0x04 >; 50 + }; 51 + 15 52 i2c@7000c000 { 16 53 #address-cells = <1>; 17 54 #size-cells = <0>;