Commit 1c8963f8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Vinod Koul
Browse files

dmaengine: remove zte zx driver



The zte zx platform is getting removed, so this driver is no
longer needed.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Jun Nie <jun.nie@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Link: https://lore.kernel.org/r/20210120131859.2056308-3-arnd@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent ec6ab42f
Loading
Loading
Loading
Loading
+0 −38
Original line number Diff line number Diff line
* ZTE ZX296702 DMA controller

Required properties:
- compatible: Should be "zte,zx296702-dma"
- reg: Should contain DMA registers location and length.
- interrupts: Should contain one interrupt shared by all channel
- #dma-cells: see dma.txt, should be 1, para number
- dma-channels: physical channels supported
- dma-requests: virtual channels supported, each virtual channel
		have specific request line
- clocks: clock required

Example:

Controller:
	dma: dma-controller@09c00000{
		compatible = "zte,zx296702-dma";
		reg = <0x09c00000 0x1000>;
		clocks = <&topclk ZX296702_DMA_ACLK>;
		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
		#dma-cells = <1>;
		dma-channels = <24>;
		dma-requests = <24>;
	};

Client:
Use specific request line passing from dmax
For example, spdif0 tx channel request line is 4
	spdif0: spdif0@b004000 {
		#sound-dai-cells = <0>;
		compatible = "zte,zx296702-spdif";
		reg = <0x0b004000 0x1000>;
		clocks = <&lsp0clk ZX296702_SPDIF0_DIV>;
		clock-names = "tx";
		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
		dmas = <&dma 4>;
		dma-names = "tx";
	}
+0 −9
Original line number Diff line number Diff line
@@ -703,15 +703,6 @@ config XILINX_ZYNQMP_DPDMA
	  driver provides the dmaengine required by the DisplayPort subsystem
	  display driver.

config ZX_DMA
	tristate "ZTE ZX DMA support"
	depends on ARCH_ZX || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Support the DMA engine for ZTE ZX family platform devices.


# driver files
source "drivers/dma/bestcomm/Kconfig"

+0 −1
Original line number Diff line number Diff line
@@ -78,7 +78,6 @@ obj-$(CONFIG_TIMB_DMA) += timb_dma.o
obj-$(CONFIG_UNIPHIER_MDMAC) += uniphier-mdmac.o
obj-$(CONFIG_UNIPHIER_XDMAC) += uniphier-xdmac.o
obj-$(CONFIG_XGENE_DMA) += xgene-dma.o
obj-$(CONFIG_ZX_DMA) += zx_dma.o
obj-$(CONFIG_ST_FDMA) += st_fdma.o
obj-$(CONFIG_FSL_DPAA2_QDMA) += fsl-dpaa2-qdma/
obj-$(CONFIG_INTEL_LDMA) += lgm/

drivers/dma/zx_dma.c

deleted100644 → 0
+0 −941

File deleted.

Preview size limit exceeded, changes collapsed.