Skip to contentSkip to conversation

media: staging: atmel-isc: Remove driver

PATCH New Eugen Hristev 1 participant 1 message May 13

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: staging: atmel-isc: Remove driver

atmel-isc has been in staging pending removal since 2022. Hence remove now.

---
Please let me know if there is still someone actively using this driver.

---
 MAINTAINERS                                        |    2 -
 drivers/staging/media/Kconfig                      |    4 -
 drivers/staging/media/Makefile                     |    1 -
 drivers/staging/media/deprecated/atmel/Kconfig     |   47 -
 drivers/staging/media/deprecated/atmel/Makefile    |    8 -
 drivers/staging/media/deprecated/atmel/TODO        |   34 -
 .../media/deprecated/atmel/atmel-isc-base.c        | 2008 --------------------
 .../staging/media/deprecated/atmel/atmel-isc-clk.c |  311 ---
 .../media/deprecated/atmel/atmel-isc-regs.h        |  413 ----
 drivers/staging/media/deprecated/atmel/atmel-isc.h |  362 ----
 .../media/deprecated/atmel/atmel-sama5d2-isc.c     |  644 -------
 .../media/deprecated/atmel/atmel-sama7g5-isc.c     |  607 ------
 12 files changed, 4441 deletions(-)
MAINTAINERS +0 -2
index f877e5aaf2c7..8dae38de2775 100644
@@ -17432,8 +17432,6 @@ F:	Documentation/devicetree/bindings/media/atmel,isc.yaml
 F:	Documentation/devicetree/bindings/media/microchip,xisc.yaml
 F:	drivers/media/platform/microchip/microchip-isc*
 F:	drivers/media/platform/microchip/microchip-sama*-isc*
-F:	drivers/staging/media/deprecated/atmel/atmel-isc*
-F:	drivers/staging/media/deprecated/atmel/atmel-sama*-isc*
 F:	include/linux/atmel-isc-media.h
 
 MICROCHIP ISI DRIVER
drivers/staging/media/Kconfig +0 -4
index 1aa31bddf970..06cbc5c548ca 100644
@@ -50,8 +50,4 @@ menuconfig STAGING_MEDIA_DEPRECATED
 
 	  If in doubt, say N here.
 
-if STAGING_MEDIA_DEPRECATED
-source "drivers/staging/media/deprecated/atmel/Kconfig"
-endif
-
 endif
drivers/staging/media/Makefile +0 -1
index 6f78b0edde1e..6fd7179733d8 100644
@@ -1,5 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE)	+= deprecated/atmel/
 obj-$(CONFIG_INTEL_ATOMISP)     += atomisp/
 obj-$(CONFIG_VIDEO_IMX_MEDIA)	+= imx/
 obj-$(CONFIG_VIDEO_MAX96712)	+= max96712/
drivers/staging/media/deprecated/atmel/Kconfig deleted +0 -47

47 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/Makefile deleted +0 -8
deleted file mode 100644
index 34eaeeac5bba..000000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-atmel-isc-objs = atmel-sama5d2-isc.o
-atmel-xisc-objs = atmel-sama7g5-isc.o
-atmel-isc-common-objs = atmel-isc-base.o atmel-isc-clk.o
-
-obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE) += atmel-isc-common.o
-obj-$(CONFIG_VIDEO_ATMEL_ISC) += atmel-isc.o
-obj-$(CONFIG_VIDEO_ATMEL_XISC) += atmel-xisc.o
drivers/staging/media/deprecated/atmel/TODO deleted +0 -34
deleted file mode 100644
index 71691df07a80..000000000000
@@ -1,34 +0,0 @@
-The Atmel ISC driver is not compliant with media controller specification.
-In order to evolve this driver, it has to move to media controller, to
-support enhanced features and future products which embed it.
-The move to media controller involves several changes which are
-not backwards compatible with the current usability of the driver.
-
-The best example is the way the format is propagated from the top video
-driver /dev/videoX down to the sensor.
-
-In a simple configuration sensor ==> isc , the isc just calls subdev s_fmt
-and controls the sensor directly. This is achieved by having a lot of code
-inside the driver that will query the subdev at probe time and make a list
-of formats which are usable.
-Basically the user has nothing to configure, as the isc will handle
-everything at the top level. This is an easy way to capture, but also comes
-with the drawback of lack of flexibility.
-In a more complicated pipeline
-sensor ==> controller 1 ==> controller 2 ==> isc
-this will not be achievable, as controller 1 and controller 2 might be
-media-controller configurable, and will not propagate the formats down to
-the sensor.
-
-After discussions with the media maintainers, the decision is to move
-Atmel ISC to staging as-is, to keep the Kconfig symbols and the users
-to the driver in staging. Thus, all the existing users of the non
-media-controller paradigm will continue to be happy and use the old config
-way.
-
-The new driver was added in the media subsystem with a different
-symbol, with the conversion to media controller done, and new users
-of the driver will be able to use all the new features.
-
-The replacement driver is named VIDEO_MICROCHIP_ISC or
-VIDEO_MICROCHIP_XISC depending on the product flavor.
drivers/staging/media/deprecated/atmel/atmel-isc-base.c deleted +0 -2008

2,008 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/atmel-isc-clk.c deleted +0 -311

311 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/atmel-isc-regs.h deleted +0 -413

413 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/atmel-isc.h deleted +0 -362

158 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c deleted +0 -644

644 lines not on this page · raw message

drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c deleted +0 -607

607 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

---
base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83
change-id: 20260513-remove_isc-1cf8a9ca51f8

Best regards,

Signature · 1 line
Eugen Hristev <[email protected]>

Part of the diff is not shown here. View the raw message.