mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 19:46:27 +07:00
23c258763b
Updates for this cycle include: - New driver for Spreadtrum dma controller, ST MDMA and DMAMUX controllers - PM support for IMG MDC drivers - Updates to bcm-sba-raid driver and improvements to sun6i driver - Subsystem conversion for: - timers to use timer_setup() - remove usage of PCI pool API - usage of %p format specifier - Minor updates to bunch of drivers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJaCn48AAoJEHwUBw8lI4NHTe8P/RpJH8tDat/joT7Hl71stEod vKa0iSkW2fdwd6PeaRfd+UTloska1NE9rdgfh8pCVveoHjCPQBVBOC7V8DbMtlsi /IlJjFT74wl2R1aSHcSGoLGsIEyurz+9SK88qCU54OQSjVHSnfmyGI4ycTLQGH9U zce5JHWHB5MkdftM4eJaSE/t0Md1DBkxadFSQRkwQqqDqoLE7jgJUK0TADRukQqS fsDYPh/OhYAizAHlmEGuLZQheN0ld5W7n1sGsEnBD88wtBMvYHzAwT17B+BobxEp jyaoE5nV4AgqWh1mvixrmgKoj2KL3DDC+QeoHYCExdcgIrvc86xN3homx9g9y38a b99pgDDvXjw4N7S6AmRyQlm/5D0QyjUaoHgGklsaR3ix81dFwDY15aZa8/uQ4EAT iKH8DxAgOq6aG1MkUycQ/7QTenRbN4yWQQa+Mm5ncoNU8bpazyxf2l5L9OJWpFjX Q6VagNim+plGeUhpJ4IEfPi7LChXFaYsb1D7A/dqpIRvaYzwsy80b/DNhobGMDF6 eTpny64AKHnozWw/KP5k3DfcYvoU/ytcSsWf8h+CPN7EdLMBqUXFgkVwtyf6WKNc UPl+2in08GLgfGb+n2IAdaQzlJ4dK2P7f7mx0T4OvRymu35HXd8nJjmMJ5ZyBr1t Z/0JVfcA66AL+XSt179C =t9Ix -----END PGP SIGNATURE----- Merge tag 'dmaengine-4.15-rc1' of git://git.infradead.org/users/vkoul/slave-dma Pull dmaengine updates from Vinod Koul: "Updates for this cycle include: - new driver for Spreadtrum dma controller, ST MDMA and DMAMUX controllers - PM support for IMG MDC drivers - updates to bcm-sba-raid driver and improvements to sun6i driver - subsystem conversion for: - timers to use timer_setup() - remove usage of PCI pool API - usage of %p format specifier - minor updates to bunch of drivers" * tag 'dmaengine-4.15-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (49 commits) dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type dmaengine: dmatest: warn user when dma test times out dmaengine: Revert "rcar-dmac: use TCRB instead of TCR for residue" dmaengine: stm32_mdma: activate pack/unpack feature dmaengine: at_hdmac: Remove unnecessary 0x prefixes before %pad dmaengine: coh901318: Remove unnecessary 0x prefixes before %pad MAINTAINERS: Step down from a co-maintaner of DW DMAC driver dmaengine: pch_dma: Replace PCI pool old API dmaengine: Convert timers to use timer_setup() dmaengine: sprd: Add Spreadtrum DMA driver dt-bindings: dmaengine: Add Spreadtrum SC9860 DMA controller dmaengine: sun6i: Retrieve channel count/max request from devicetree dmaengine: Build bcm-sba-raid driver as loadable module for iProc SoCs dmaengine: bcm-sba-raid: Use common GPL comment header dmaengine: bcm-sba-raid: Use only single mailbox channel dmaengine: bcm-sba-raid: serialize dma_cookie_complete() using reqs_lock dmaengine: pl330: fix descriptor allocation fail dmaengine: rcar-dmac: use TCRB instead of TCR for residue dmaengine: sun6i: Add support for Allwinner A64 and compatibles arm64: allwinner: a64: Add devicetree binding for DMA controller ...
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
* STMicroelectronics STM32 DMA controller
|
|
|
|
The STM32 DMA is a general-purpose direct memory access controller capable of
|
|
supporting 8 independent DMA channels. Each channel can have up to 8 requests.
|
|
|
|
Required properties:
|
|
- compatible: Should be "st,stm32-dma"
|
|
- reg: Should contain DMA registers location and length. This should include
|
|
all of the per-channel registers.
|
|
- interrupts: Should contain all of the per-channel DMA interrupts in
|
|
ascending order with respect to the DMA channel index.
|
|
- clocks: Should contain the input clock of the DMA instance.
|
|
- #dma-cells : Must be <4>. See DMA client paragraph for more details.
|
|
|
|
Optional properties:
|
|
- dma-requests : Number of DMA requests supported.
|
|
- resets: Reference to a reset controller asserting the DMA controller
|
|
- st,mem2mem: boolean; if defined, it indicates that the controller supports
|
|
memory-to-memory transfer
|
|
|
|
Example:
|
|
|
|
dma2: dma-controller@40026400 {
|
|
compatible = "st,stm32-dma";
|
|
reg = <0x40026400 0x400>;
|
|
interrupts = <56>,
|
|
<57>,
|
|
<58>,
|
|
<59>,
|
|
<60>,
|
|
<68>,
|
|
<69>,
|
|
<70>;
|
|
clocks = <&clk_hclk>;
|
|
#dma-cells = <4>;
|
|
st,mem2mem;
|
|
resets = <&rcc 150>;
|
|
dma-requests = <8>;
|
|
};
|
|
|
|
* DMA client
|
|
|
|
DMA clients connected to the STM32 DMA controller must use the format
|
|
described in the dma.txt file, using a four-cell specifier for each
|
|
channel: a phandle to the DMA controller plus the following four integer cells:
|
|
|
|
1. The channel id
|
|
2. The request line number
|
|
3. A 32bit mask specifying the DMA channel configuration which are device
|
|
dependent:
|
|
-bit 9: Peripheral Increment Address
|
|
0x0: no address increment between transfers
|
|
0x1: increment address between transfers
|
|
-bit 10: Memory Increment Address
|
|
0x0: no address increment between transfers
|
|
0x1: increment address between transfers
|
|
-bit 15: Peripheral Increment Offset Size
|
|
0x0: offset size is linked to the peripheral bus width
|
|
0x1: offset size is fixed to 4 (32-bit alignment)
|
|
-bit 16-17: Priority level
|
|
0x0: low
|
|
0x1: medium
|
|
0x2: high
|
|
0x3: very high
|
|
4. A 32bit mask specifying the DMA FIFO threshold configuration which are device
|
|
dependent:
|
|
-bit 0-1: Fifo threshold
|
|
0x0: 1/4 full FIFO
|
|
0x1: 1/2 full FIFO
|
|
0x2: 3/4 full FIFO
|
|
0x3: full FIFO
|
|
|
|
Example:
|
|
|
|
usart1: serial@40011000 {
|
|
compatible = "st,stm32-uart";
|
|
reg = <0x40011000 0x400>;
|
|
interrupts = <37>;
|
|
clocks = <&clk_pclk2>;
|
|
dmas = <&dma2 2 4 0x10400 0x3>,
|
|
<&dma2 7 5 0x10200 0x3>;
|
|
dma-names = "rx", "tx";
|
|
};
|