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.15 46 lines 1.7 kB view raw
1* Renesas USB DMA Controller Device Tree bindings 2 3Required Properties: 4-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback. 5 Examples with soctypes are: 6 - "renesas,r8a7743-usb-dmac" (RZ/G1M) 7 - "renesas,r8a7745-usb-dmac" (RZ/G1E) 8 - "renesas,r8a7790-usb-dmac" (R-Car H2) 9 - "renesas,r8a7791-usb-dmac" (R-Car M2-W) 10 - "renesas,r8a7793-usb-dmac" (R-Car M2-N) 11 - "renesas,r8a7794-usb-dmac" (R-Car E2) 12 - "renesas,r8a7795-usb-dmac" (R-Car H3) 13 - "renesas,r8a7796-usb-dmac" (R-Car M3-W) 14- reg: base address and length of the registers block for the DMAC 15- interrupts: interrupt specifiers for the DMAC, one for each entry in 16 interrupt-names. 17- interrupt-names: one entry per channel, named "ch%u", where %u is the 18 channel number ranging from zero to the number of channels minus one. 19- clocks: a list of phandle + clock-specifier pairs. 20- #dma-cells: must be <1>, the cell specifies the channel number of the DMAC 21 port connected to the DMA client. 22- dma-channels: number of DMA channels 23 24Example: R8A7790 (R-Car H2) USB-DMACs 25 26 usb_dmac0: dma-controller@e65a0000 { 27 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac"; 28 reg = <0 0xe65a0000 0 0x100>; 29 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH 30 0 109 IRQ_TYPE_LEVEL_HIGH>; 31 interrupt-names = "ch0", "ch1"; 32 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>; 33 #dma-cells = <1>; 34 dma-channels = <2>; 35 }; 36 37 usb_dmac1: dma-controller@e65b0000 { 38 compatible = "renesas,usb-dmac"; 39 reg = <0 0xe65b0000 0 0x100>; 40 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH 41 0 110 IRQ_TYPE_LEVEL_HIGH>; 42 interrupt-names = "ch0", "ch1"; 43 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>; 44 #dma-cells = <1>; 45 dma-channels = <2>; 46 };