Lines Matching +full:sc9860 +full:- +full:dma
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/dma/sprd,sc9860-dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum SC9860 DMA controller
10 There are three DMA controllers: AP DMA, AON DMA and AGCP DMA. For AGCP
11 DMA controller, it can or do not request the IRQ, which will save
12 system power without resuming system by DMA interrupts if AGCP DMA
16 - Orson Zhai <orsonzhai@gmail.com>
17 - Baolin Wang <baolin.wang7@gmail.com>
18 - Chunyan Zhang <zhang.lyra@gmail.com>
22 const: sprd,sc9860-dma
33 - description: DMA enable clock
34 - description: optional ashb_eb clock, only for the AGCP DMA controller
36 clock-names:
39 - const: enable
40 - const: ashb_eb
42 '#dma-cells':
45 dma-channels:
48 '#dma-channels':
53 - compatible
54 - reg
55 - clocks
56 - clock-names
57 - '#dma-cells'
58 - dma-channels
61 - $ref: dma-controller.yaml#
66 - |
67 #include <dt-bindings/clock/sprd,sc9860-clk.h>
68 #include <dt-bindings/interrupt-controller/arm-gic.h>
69 #include <dt-bindings/interrupt-controller/irq.h>
71 /* AP DMA controller */
72 dma-controller@20100000 {
73 compatible = "sprd,sc9860-dma";
77 clock-names = "enable";
78 #dma-cells = <1>;
79 dma-channels = <32>;
82 /* AGCP DMA controller */
83 dma-controller@41580000 {
84 compatible = "sprd,sc9860-dma";
88 clock-names = "enable", "ashb_eb";
89 #dma-cells = <1>;
90 dma-channels = <32>;