Skip to contentSkip to conversation

dmaengine: ipu: Remove the driver

PATCH Applied Fabio Estevam 3 participants 3 messages Jul 29, 2023 – Aug 1, 2023 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: ipu: Remove the driver

From: Fabio Estevam <[email protected]>

The i.MX3 IPU driver does not support devicetree and i.MX has been converted to a DT-only platform since kernel 5.10.

As there is no user for this driver anymore, just remove it.

---
 drivers/dma/Kconfig          |   19 -
 drivers/dma/Makefile         |    1 -
 drivers/dma/ipu/Makefile     |    2 -
 drivers/dma/ipu/ipu_idmac.c  | 1801 ----------------------------------
 drivers/dma/ipu/ipu_intern.h |  173 ----
 drivers/dma/ipu/ipu_irq.c    |  367 -------
 6 files changed, 2363 deletions(-)
 delete mode 100644 drivers/dma/ipu/Makefile
 delete mode 100644 drivers/dma/ipu/ipu_idmac.c
 delete mode 100644 drivers/dma/ipu/ipu_intern.h
 delete mode 100644 drivers/dma/ipu/ipu_irq.c
drivers/dma/Kconfig +0 -19
index a4c148468b8f..4ccae1a3b884 100644
@@ -474,25 +474,6 @@ config MXS_DMA
 	  Support the MXS DMA engine. This engine including APBH-DMA
 	  and APBX-DMA is integrated into some Freescale chips.
 
-config MX3_IPU
-	bool "MX3x Image Processing Unit support"
-	depends on ARCH_MXC
-	select DMA_ENGINE
-	default y
-	help
-	  If you plan to use the Image Processing unit in the i.MX3x, say
-	  Y here. If unsure, select Y.
-
-config MX3_IPU_IRQS
-	int "Number of dynamically mapped interrupts for IPU"
-	depends on MX3_IPU
-	range 2 137
-	default 4
-	help
-	  Out of 137 interrupt sources on i.MX31 IPU only very few are used.
-	  To avoid bloating the irq_desc[] array we allocate a sufficient
-	  number of IRQ slots and map them dynamically to specific sources.
-
 config NBPFAXI_DMA
 	tristate "Renesas Type-AXI NBPF DMA support"
 	select DMA_ENGINE
drivers/dma/Makefile +0 -1
index a4fd1ce29510..07cdfd27d09c 100644
@@ -55,7 +55,6 @@ obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o
 obj-$(CONFIG_MV_XOR) += mv_xor.o
 obj-$(CONFIG_MV_XOR_V2) += mv_xor_v2.o
 obj-$(CONFIG_MXS_DMA) += mxs-dma.o
-obj-$(CONFIG_MX3_IPU) += ipu/
 obj-$(CONFIG_NBPFAXI_DMA) += nbpfaxi.o
 obj-$(CONFIG_OWL_DMA) += owl-dma.o
 obj-$(CONFIG_PCH_DMA) += pch_dma.o
drivers/dma/ipu/Makefile deleted +0 -2
deleted file mode 100644
index c79ff116daf6..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-obj-y	+= ipu_irq.o ipu_idmac.o
drivers/dma/ipu/ipu_idmac.c deleted +0 -1801

1,801 lines not on this page · raw message

drivers/dma/ipu/ipu_intern.h deleted +0 -173

173 lines not on this page · raw message

drivers/dma/ipu/ipu_irq.c deleted +0 -367

367 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 6 lines · Fabio Estevam

The i.MX3 IPU driver does not support devicetree and i.MX has been converted to a DT-only platform since kernel 5.10.

As there is no user for this driver anymore, just remove it.

Applied, thanks!

[1/1] dmaengine: ipu: Remove the driver

      commit: f1de55ff7c704b48389987f6c71ca31dc8cffe8d

Best regards,

Signature · 1 line
~Vinod