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/sprd-dma.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 * Spreadtrum DMA controller
    2 
    3 This binding follows the generic DMA bindings defined in dma.txt.
    4 
    5 Required properties:
    6 - compatible: Should be "sprd,sc9860-dma".
    7 - reg: Should contain DMA registers location and length.
    8 - interrupts: Should contain one interrupt shared by all channel.
    9 - #dma-cells: must be <1>. Used to represent the number of integer
   10         cells in the dmas property of client device.
   11 - dma-channels : Number of DMA channels supported. Should be 32.
   12 - clock-names: Should contain the clock of the DMA controller.
   13 - clocks: Should contain a clock specifier for each entry in clock-names.
   14 
   15 Deprecated properties:
   16 - #dma-channels : Number of DMA channels supported. Should be 32.
   17 
   18 Example:
   19 
   20 Controller:
   21 apdma: dma-controller@20100000 {
   22         compatible = "sprd,sc9860-dma";
   23         reg = <0x20100000 0x4000>;
   24         interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
   25         #dma-cells = <1>;
   26         dma-channels = <32>;
   27         clock-names = "enable";
   28         clocks = <&clk_ap_ahb_gates 5>;
   29 };
   30 
   31 
   32 Client:
   33 DMA clients connected to the Spreadtrum DMA controller must use the format
   34 described in the dma.txt file, using a two-cell specifier for each channel.
   35 The two cells in order are:
   36 1. A phandle pointing to the DMA controller.
   37 2. The slave id.
   38 
   39 spi0: spi@70a00000{
   40         ...
   41         dma-names = "rx_chn", "tx_chn";
   42         dmas = <&apdma 11>, <&apdma 12>;
   43         ...
   44 };

Cache object: ad20ec901d7adf73e0a0dac116154134


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