From: Jiaqi Shi <shijiaqi_develop@163.com>
To: linux-media@vger.kernel.org, imx@lists.linux.dev,
linux-staging@lists.linux.dev
Cc: slongerbeam@gmail.com, p.zabel@pengutronix.de,
mchehab@kernel.org, gregkh@linuxfoundation.org, Frank.Li@nxp.com,
kernel@pengutronix.de, festevam@gmail.com,
Jiaqi Shi <shijiaqi_develop@163.com>
Subject: [PATCH v8 0/2] media: imx: staging cleanup and remove frame interval monitor
Date: Tue, 1 Dec 2026 23:26:45 +0800 [thread overview]
Message-ID: <20261201152647.847238-1-shijiaqi_develop@163.com> (raw)
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
next reply other threads:[~2026-12-01 15:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 15:26 Jiaqi Shi [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201152647.847238-1-shijiaqi_develop@163.com \
--to=shijiaqi_develop@163.com \
--cc=Frank.Li@nxp.com \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=slongerbeam@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox