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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/dma/img-mdc-dma.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/img-mdc-dma.txt (Architecture alpha) and /Documentation/devicetree/bindings/dma/img-mdc-dma.txt (Architecture sparc)


  1 * IMG Multi-threaded DMA Controller (MDC)           1 * IMG Multi-threaded DMA Controller (MDC)
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4 - compatible: Must be "img,pistachio-mdc-dma".      4 - compatible: Must be "img,pistachio-mdc-dma".
  5 - reg: Must contain the base address and lengt      5 - reg: Must contain the base address and length of the MDC registers.
  6 - interrupts: Must contain all the per-channel      6 - interrupts: Must contain all the per-channel DMA interrupts.
  7 - clocks: Must contain an entry for each entry      7 - clocks: Must contain an entry for each entry in clock-names.
  8   See ../clock/clock-bindings.txt for details.      8   See ../clock/clock-bindings.txt for details.
  9 - clock-names: Must include the following entr      9 - clock-names: Must include the following entries:
 10   - sys: MDC system interface clock.               10   - sys: MDC system interface clock.
 11 - img,cr-periph: Must contain a phandle to the     11 - img,cr-periph: Must contain a phandle to the peripheral control syscon
 12   node which contains the DMA request to chann     12   node which contains the DMA request to channel mapping registers.
 13 - img,max-burst-multiplier: Must be the maximu     13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
 14   The maximum burst size is this value multipl     14   The maximum burst size is this value multiplied by the hardware-reported bus
 15   width.                                           15   width.
 16 - #dma-cells: Must be 3:                           16 - #dma-cells: Must be 3:
 17   - The first cell is the peripheral's DMA req     17   - The first cell is the peripheral's DMA request line.
 18   - The second cell is a bitmap specifying to      18   - The second cell is a bitmap specifying to which channels the DMA request
 19     line may be mapped (i.e. bit N set indicat     19     line may be mapped (i.e. bit N set indicates channel N is usable).
 20   - The third cell is the thread ID to be used     20   - The third cell is the thread ID to be used by the channel.
 21                                                    21 
 22 Optional properties:                               22 Optional properties:
 23 - dma-channels: Number of supported DMA channe     23 - dma-channels: Number of supported DMA channels, up to 32.  If not specified
 24   the number reported by the hardware is used.     24   the number reported by the hardware is used.
 25                                                    25 
 26 Example:                                           26 Example:
 27                                                    27 
 28 mdc: dma-controller@18143000 {                     28 mdc: dma-controller@18143000 {
 29         compatible = "img,pistachio-mdc-dma";      29         compatible = "img,pistachio-mdc-dma";
 30         reg = <0x18143000 0x1000>;                 30         reg = <0x18143000 0x1000>;
 31         interrupts = <GIC_SHARED 27 IRQ_TYPE_L     31         interrupts = <GIC_SHARED 27 IRQ_TYPE_LEVEL_HIGH>,
 32                      <GIC_SHARED 28 IRQ_TYPE_L     32                      <GIC_SHARED 28 IRQ_TYPE_LEVEL_HIGH>,
 33                      <GIC_SHARED 29 IRQ_TYPE_L     33                      <GIC_SHARED 29 IRQ_TYPE_LEVEL_HIGH>,
 34                      <GIC_SHARED 30 IRQ_TYPE_L     34                      <GIC_SHARED 30 IRQ_TYPE_LEVEL_HIGH>,
 35                      <GIC_SHARED 31 IRQ_TYPE_L     35                      <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>,
 36                      <GIC_SHARED 32 IRQ_TYPE_L     36                      <GIC_SHARED 32 IRQ_TYPE_LEVEL_HIGH>,
 37                      <GIC_SHARED 33 IRQ_TYPE_L     37                      <GIC_SHARED 33 IRQ_TYPE_LEVEL_HIGH>,
 38                      <GIC_SHARED 34 IRQ_TYPE_L     38                      <GIC_SHARED 34 IRQ_TYPE_LEVEL_HIGH>,
 39                      <GIC_SHARED 35 IRQ_TYPE_L     39                      <GIC_SHARED 35 IRQ_TYPE_LEVEL_HIGH>,
 40                      <GIC_SHARED 36 IRQ_TYPE_L     40                      <GIC_SHARED 36 IRQ_TYPE_LEVEL_HIGH>,
 41                      <GIC_SHARED 37 IRQ_TYPE_L     41                      <GIC_SHARED 37 IRQ_TYPE_LEVEL_HIGH>,
 42                      <GIC_SHARED 38 IRQ_TYPE_L     42                      <GIC_SHARED 38 IRQ_TYPE_LEVEL_HIGH>;
 43         clocks = <&system_clk>;                    43         clocks = <&system_clk>;
 44         clock-names = "sys";                       44         clock-names = "sys";
 45                                                    45 
 46         img,max-burst-multiplier = <16>;           46         img,max-burst-multiplier = <16>;
 47         img,cr-periph = <&cr_periph>;              47         img,cr-periph = <&cr_periph>;
 48                                                    48 
 49         #dma-cells = <3>;                          49         #dma-cells = <3>;
 50 };                                                 50 };
 51                                                    51 
 52 spi@18100f00 {                                     52 spi@18100f00 {
 53         ...                                        53         ...
 54         dmas = <&mdc 9 0xffffffff 0>, <&mdc 10     54         dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
 55         dma-names = "tx", "rx";                    55         dma-names = "tx", "rx";
 56         ...                                        56         ...
 57 };                                                 57 };
                                                      

~ [ 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