~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/dma/atmel-xdma.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/dma/atmel-xdma.txt (Architecture mips) and /Documentation/devicetree/bindings/dma/atmel-xdma.txt (Architecture ppc)


  1 * Atmel Extensible Direct Memory Access Contro      1 * Atmel Extensible Direct Memory Access Controller (XDMAC)
  2                                                     2 
  3 * XDMA Controller                                   3 * XDMA Controller
  4 Required properties:                                4 Required properties:
  5 - compatible: Should be "atmel,sama5d4-dma", "      5 - compatible: Should be "atmel,sama5d4-dma", "microchip,sam9x60-dma" or
  6   "microchip,sama7g5-dma" or                        6   "microchip,sama7g5-dma" or
  7   "microchip,sam9x7-dma", "atmel,sama5d4-dma".      7   "microchip,sam9x7-dma", "atmel,sama5d4-dma".
  8 - reg: Should contain DMA registers location a      8 - reg: Should contain DMA registers location and length.
  9 - interrupts: Should contain DMA interrupt.         9 - interrupts: Should contain DMA interrupt.
 10 - #dma-cells: Must be <1>, used to represent t     10 - #dma-cells: Must be <1>, used to represent the number of integer cells in
 11 the dmas property of client devices.               11 the dmas property of client devices.
 12   - The 1st cell specifies the channel configu     12   - The 1st cell specifies the channel configuration register:
 13     - bit 13: SIF, source interface identifier     13     - bit 13: SIF, source interface identifier, used to get the memory
 14     interface identifier,                          14     interface identifier,
 15     - bit 14: DIF, destination interface ident     15     - bit 14: DIF, destination interface identifier, used to get the peripheral
 16     interface identifier,                          16     interface identifier,
 17     - bit 30-24: PERID, peripheral identifier.     17     - bit 30-24: PERID, peripheral identifier.
 18                                                    18 
 19 Example:                                           19 Example:
 20                                                    20 
 21 dma1: dma-controller@f0004000 {                    21 dma1: dma-controller@f0004000 {
 22         compatible = "atmel,sama5d4-dma";          22         compatible = "atmel,sama5d4-dma";
 23         reg = <0xf0004000 0x200>;                  23         reg = <0xf0004000 0x200>;
 24         interrupts = <50 4 0>;                     24         interrupts = <50 4 0>;
 25         #dma-cells = <1>;                          25         #dma-cells = <1>;
 26 };                                                 26 };
 27                                                    27 
 28                                                    28 
 29 * DMA clients                                      29 * DMA clients
 30 DMA clients connected to the Atmel XDMA contro     30 DMA clients connected to the Atmel XDMA controller must use the format
 31 described in the dma.txt file, using a one-cel     31 described in the dma.txt file, using a one-cell specifier for each channel.
 32 The two cells in order are:                        32 The two cells in order are:
 33 1. A phandle pointing to the DMA controller.       33 1. A phandle pointing to the DMA controller.
 34 2. Channel configuration register. Configurabl     34 2. Channel configuration register. Configurable fields are:
 35     - bit 13: SIF, source interface identifier     35     - bit 13: SIF, source interface identifier, used to get the memory
 36     interface identifier,                          36     interface identifier,
 37     - bit 14: DIF, destination interface ident     37     - bit 14: DIF, destination interface identifier, used to get the peripheral
 38     interface identifier,                          38     interface identifier,
 39   - bit 30-24: PERID, peripheral identifier.       39   - bit 30-24: PERID, peripheral identifier.
 40                                                    40 
 41 Example:                                           41 Example:
 42                                                    42 
 43 i2c2: i2c@f8024000 {                               43 i2c2: i2c@f8024000 {
 44         compatible = "atmel,at91sam9x5-i2c";       44         compatible = "atmel,at91sam9x5-i2c";
 45         reg = <0xf8024000 0x4000>;                 45         reg = <0xf8024000 0x4000>;
 46         interrupts = <34 4 6>;                     46         interrupts = <34 4 6>;
 47         dmas = <&dma1                              47         dmas = <&dma1
 48                 (AT91_XDMAC_DT_MEM_IF(0) | AT9     48                 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
 49                  | AT91_XDMAC_DT_PERID(6))>,       49                  | AT91_XDMAC_DT_PERID(6))>,
 50                <&dma1                              50                <&dma1
 51                 (AT91_XDMAC_DT_MEM_IF(0) | AT9     51                 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
 52                 | AT91_XDMAC_DT_PERID(7))>;        52                 | AT91_XDMAC_DT_PERID(7))>;
 53         dma-names = "tx", "rx";                    53         dma-names = "tx", "rx";
 54 };                                                 54 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php