The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/dma/zxdma.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * ZTE ZX296702 DMA controller
    2 
    3 Required 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 
   13 Example:
   14 
   15 Controller:
   16         dma: dma-controller@09c00000{
   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 
   26 Client:
   27 Use specific request line passing from dmax
   28 For example, spdif0 tx channel request line is 4
   29         spdif0: spdif0@b004000 {
   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         }

Cache object: 047117f9431eb82db30857da1d42dd40


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.