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

Configure Feed

Select the types of activity you want to include in your feed.

at v4.6-rc2 38 lines 1.1 kB view raw
1* ZTE ZX296702 DMA controller 2 3Required properties: 4- compatible: Should be "zte,zx296702-dma" 5- reg: Should contain DMA registers location and length. 6- interrupts: Should contain one interrupt shared by all channel 7- #dma-cells: see dma.txt, should be 1, para number 8- dma-channels: physical channels supported 9- dma-requests: virtual channels supported, each virtual channel 10 have specific request line 11- clocks: clock required 12 13Example: 14 15Controller: 16 dma: dma-controller@0x09c00000{ 17 compatible = "zte,zx296702-dma"; 18 reg = <0x09c00000 0x1000>; 19 clocks = <&topclk ZX296702_DMA_ACLK>; 20 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; 21 #dma-cells = <1>; 22 dma-channels = <24>; 23 dma-requests = <24>; 24 }; 25 26Client: 27Use specific request line passing from dmax 28For example, spdif0 tx channel request line is 4 29 spdif0: spdif0@0b004000 { 30 #sound-dai-cells = <0>; 31 compatible = "zte,zx296702-spdif"; 32 reg = <0x0b004000 0x1000>; 33 clocks = <&lsp0clk ZX296702_SPDIF0_DIV>; 34 clock-names = "tx"; 35 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 36 dmas = <&dma 4>; 37 dma-names = "tx"; 38 }