summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/dma/sun6i-dma.txt
blob: d13c136cef8c4384ae663626aa7318d5543e2333 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Allwinner A31 DMA Controller

This driver follows the generic DMA bindings defined in dma.txt.

Required properties:

- compatible:	Must be one of
		  "allwinner,sun6i-a31-dma"
		  "allwinner,sun8i-a23-dma"
		  "allwinner,sun8i-h3-dma"
- reg:		Should contain the registers base address and length
- interrupts:	Should contain a reference to the interrupt used by this device
- clocks:	Should contain a reference to the parent AHB clock
- resets:	Should contain a reference to the reset controller asserting
		this device in reset
- #dma-cells :	Should be 1, a single cell holding a line request number

Example:
	dma: dma-controller@01c02000 {
		compatible = "allwinner,sun6i-a31-dma";
		reg = <0x01c02000 0x1000>;
		interrupts = <0 50 4>;
		clocks = <&ahb1_gates 6>;
		resets = <&ahb1_rst 6>;
		#dma-cells = <1>;
	};

Clients:

DMA clients connected to the A31 DMA controller must use the format
described in the dma.txt file, using a two-cell specifier for each
channel: a phandle plus one integer cells.
The two cells in order are:

1. A phandle pointing to the DMA controller.
2. The port ID as specified in the datasheet

Example:
spi2: spi@01c6a000 {
	compatible = "allwinner,sun6i-a31-spi";
	reg = <0x01c6a000 0x1000>;
	interrupts = <0 67 4>;
	clocks = <&ahb1_gates 22>, <&spi2_clk>;
	clock-names = "ahb", "mod";
	dmas = <&dma 25>, <&dma 25>;
	dma-names = "rx", "tx";
	resets = <&ahb1_rst 22>;
};
ight'>|\ | * arm64: Make sure permission updates happen for pmd/pudLaura Abbott2018-05-241-6/+10 | * arm64: fault: Don't leak data in ESR context for user fault on kernel VAPeter Maydell2018-05-221-0/+51 | * arm64: export tishift functions to modulesJason A. Donenfeld2018-05-212-13/+10Star | * arm64: lse: Add early clobbers to some input/output asm operandsWill Deacon2018-05-211-12/+12 * | Merge tag 'powerpc-4.17-7' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds2018-05-252-0/+7 |\ \ | * | powerpc/64s: Clear PCR on bootMichael Neuling2018-05-182-0/+7 * | | Merge tag 'mmc-v4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ul...Linus Torvalds2018-05-252-8/+27 |\ \ \ | * | | mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnusCorneliu Doban2018-05-211-1/+1 | * | | mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE registerCorneliu Doban2018-05-211-5/+25 | * | | mmc: sdhci-iproc: remove hard coded mmc cap 1.8vSrinath Mannam2018-05-211-1/+0Star | * | | mmc: block: propagate correct returned value in mmc_rpmb_ioctlMathieu Malaterre2018-05-211-1/+1 * | | | Merge tag 'drm-fixes-for-v4.17-rc7' of git://people.freedesktop.org/~airlied/...Linus Torvalds2018-05-256-46/+58 |\ \ \ \ | * \ \ \ Merge branch 'vmwgfx-fixes-4.17' of git://people.freedesktop.org/~thomash/lin...Dave Airlie2018-05-255-46/+55 | |\ \ \ \ | | * | | | drm/vmwgfx: Schedule an fb dirty update after resumeThomas Hellstrom2018-05-233-21/+7Star | | * | | | drm/vmwgfx: Fix host logging / guestinfo reading error pathsThomas Hellstrom2018-05-231-17/+31 | | * | | | drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macrosThomas Hellstrom2018-05-231-8/+17 | * | | | | Merge branch 'drm/du/fixes' of git://linuxtv.org/pinchartl/media into drm-fixesDave Airlie2018-05-221-0/+3 | |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | * | | | drm: rcar-du: lvds: Fix crash in .atomic_check when disabling connectorLaurent Pinchart2018-05-201-0/+3 * | | | | | Merge tag 'sound-4.17-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2018-05-252-4/+6 |\ \ \ \ \ \ | * | | | | | ALSA: hda - Fix runtime PMLukas Wunner2018-05-241-2/+4 | * | | | | | ALSA: timer: Fix pause event notificationBen Hutchings2018-05-181-2/+2 * | | | | | | Merge branch 'stable/for-linus-4.17' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2018-05-241-1/+1 |\ \ \ \ \ \ \ | * | | | | | | xen-swiotlb: fix the check condition for xen_swiotlb_free_coherentJoe Jin2018-05-181-1/+1 * | | | | | | | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds2018-05-2429-98/+116 |\ \ \ \ \ \ \ \ | * | | | | | | | RDMA/hns: Move the location for initializing tmp_lenoulijun2018-05-231-1/+2 | * | | | | | | | RDMA/hns: Bugfix for cq record db for kerneloulijun2018-05-231-0/+1 | * | | | | | | | IB/uverbs: Fix uverbs_attr_get_objJason Gunthorpe2018-05-231-5/+5 | * | | | | | | | RDMA/qedr: Fix doorbell bar mapping for dpi > 1Kalderon, Michal2018-05-231-31/+29Star | * | | | | | | | IB/umem: Use the correct mm during ib_umem_releaseLidong Chen2018-05-16