Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH v8 0/2] media: imx: staging cleanup and remove frame interval monitor
@ 2026-12-01 15:26 Jiaqi Shi
  2026-12-01 15:26 ` [PATCH v8 1/2] media: imx: remove legacy video node control and format handling Jiaqi Shi
  2026-12-01 15:26 ` [PATCH v8 2/2] media: imx: remove frame interval monitor Jiaqi Shi
  0 siblings, 2 replies; 4+ messages in thread
From: Jiaqi Shi @ 2026-12-01 15:26 UTC (permalink / raw)
  To: linux-media, imx, linux-staging
  Cc: slongerbeam, p.zabel, mchehab, gregkh, Frank.Li, kernel, festevam,
	Jiaqi Shi

Changes in v8:
- Rebase onto the linux-media media-committers next branch. v7 was
  generated against Linus' master, which has diverged from the media
  tree (e.g. devm_kzalloc_obj vs devm_kzalloc), so the CI could not
  apply it. The patches now apply cleanly on top of media-committers
  next.
- Follow-up on the FIM removal: with FIM and the CSI core ops gone, the
  CSI subdev no longer registers any control or event, so drop the empty
  ctrl_hdlr, its init/free, and V4L2_SUBDEV_FL_HAS_EVENTS.

Patch 1 removes legacy control inheritance and source-dependent format
handling from the capture video nodes. legacy_api is intentionally left
enabled: the remaining legacy-only ioctls (STD, frame-interval) are
outside the TODO scope, and the MC path does not yet implement
g_selection or SOURCE_CHANGE, so switching would silently drop them.

Patch 2 removes the i.MX-private frame interval monitor, as the media
maintainer did not want it exported to v4l2-core and considers it
dubious; it is disabled by default, undocumented for real use, and has
no standard equivalent.

Validation:
- builds on media-committers next; applies cleanly with git am
- checkpatch.pl --strict is clean
- i.MX register-level and hardware DMA paths remain untested

Jiaqi Shi (2):
  media: imx: remove legacy video node control and format handling
  media: imx: remove frame interval monitor

 Documentation/admin-guide/media/imx.rst       |  31 +-
 .../userspace-api/media/drivers/imx-uapi.rst  | 125 -----
 .../userspace-api/media/drivers/index.rst     |   1 -
 MAINTAINERS                                   |   2 -
 drivers/staging/media/imx/Makefile            |   2 +-
 drivers/staging/media/imx/TODO                |  13 -
 drivers/staging/media/imx/imx-ic-prp.c        |   1 -
 drivers/staging/media/imx/imx-ic-prpencvf.c   |  11 +-
 drivers/staging/media/imx/imx-media-capture.c | 418 ++++++-----------
 drivers/staging/media/imx/imx-media-csi.c     |  84 +---
 .../staging/media/imx/imx-media-dev-common.c  | 113 +----
 drivers/staging/media/imx/imx-media-dev.c     |   1 -
 drivers/staging/media/imx/imx-media-fim.c     | 430 ------------------
 drivers/staging/media/imx/imx-media-utils.c   |   9 +-
 drivers/staging/media/imx/imx-media-vdic.c    |   1 -
 drivers/staging/media/imx/imx-media.h         |  21 +-
 include/linux/imx-media.h                     |  25 -
 include/media/imx.h                           |  11 -
 18 files changed, 182 insertions(+), 1117 deletions(-)
 delete mode 100644 Documentation/userspace-api/media/drivers/imx-uapi.rst
 delete mode 100644 drivers/staging/media/imx/TODO
 delete mode 100644 drivers/staging/media/imx/imx-media-fim.c
 delete mode 100644 include/linux/imx-media.h
 delete mode 100644 include/media/imx.h

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 15:26 [PATCH v8 0/2] media: imx: staging cleanup and remove frame interval monitor Jiaqi Shi
2026-12-01 15:26 ` [PATCH v8 1/2] media: imx: remove legacy video node control and format handling Jiaqi Shi
2026-12-01 16:21   ` Frank Li
2026-12-01 15:26 ` [PATCH v8 2/2] media: imx: remove frame interval monitor Jiaqi Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox