media: imx: staging cleanup and FIM export to v4l2-core
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 0 repliesNew
- v42 patches 0 repliesSuperseded
- v32 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 0 replies | Superseded | |
| v1 | 3 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- Use the source-independent frame-size enumeration for legacy capture nodes as well, instead of pairing generic pixel-format enumeration with source-dependent frame-size enumeration.
- Restrict IC capture format enumeration and fallback to YUV/RGB formats; CSI capture nodes continue to support the full format set.
- Keep the remaining STD and frame-interval legacy ioctls unchanged.
- Add kernel-doc for the public FIM configuration and helper APIs, including ownership, callback context, and locking rules.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: imx: remove legacy video node control and format handlingDocumentation/ drivers/ drivers/ +5 more | +169 | 0 replies | |
| 2/2 | media: v4l2-core: add frame interval monitor helperdrivers/ drivers/ drivers/ +4 more | +503 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/2] media: imx: staging cleanup and FIM export to v4l2-core
Changes in v5:
- Use the source-independent frame-size enumeration for legacy capture nodes as well, instead of pairing generic pixel-format enumeration with source-dependent frame-size enumeration.
- Restrict IC capture format enumeration and fallback to YUV/RGB formats; CSI capture nodes continue to support the full format set.
- Keep the remaining STD and frame-interval legacy ioctls unchanged.
- Add kernel-doc for the public FIM configuration and helper APIs, including ownership, callback context, and locking rules.
This series continues the i.MX staging media driver cleanup by removing legacy control inheritance and source-dependent format handling from capture video nodes, and exports the generic Frame Interval Monitor to v4l2-core while retaining the i.MX input capture controls locally.
The new FIM files are already covered by the existing MEDIA INPUT INFRASTRUCTURE entries for drivers/media/ and include/media/.
Validation:
- allmodconfig build and sparse
- scripts/kernel-doc -none on the FIM header and implementation
- local FIM KUnit tests, not included in this series: 13/13 passed
- local white-box i.MX capture format tests, not included: 21/21 passed
- QEMU vivid: v4l2-compliance 125/125, 30-frame streaming passed
- QEMU vim2m: v4l2-compliance 49/49, 10-frame streaming passed
- i.MX register-level and hardware DMA paths remain untested
Jiaqi Shi (2):
media: imx: remove legacy video node control and format handling
media: v4l2-core: add frame interval monitor helper
Documentation/admin-guide/media/imx.rst | 20 +- drivers/media/v4l2-core/Kconfig | 4 + drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/v4l2-fim.c | 385 +++++++++++++++++ drivers/staging/media/imx/Kconfig | 1 + drivers/staging/media/imx/TODO | 13 - drivers/staging/media/imx/imx-ic-prpencvf.c | 10 +- drivers/staging/media/imx/imx-media-capture.c | 391 +++++++----------- drivers/staging/media/imx/imx-media-csi.c | 10 +- .../staging/media/imx/imx-media-dev-common.c | 113 +---- drivers/staging/media/imx/imx-media-fim.c | 361 +++------------- drivers/staging/media/imx/imx-media-utils.c | 9 +- drivers/staging/media/imx/imx-media.h | 11 +- include/media/v4l2-fim.h | 57 +++ 14 files changed, 672 insertions(+), 714 deletions(-) create mode 100644 drivers/media/v4l2-core/v4l2-fim.c delete mode 100644 drivers/staging/media/imx/TODO create mode 100644 include/media/v4l2-fim.h
Signature · 1 line
2.53.0