[PATCH v3 0/3] media: imx-jpeg: Add v1 hardware encoder support for i.MX952

From: ming . qian

Date: Mon Feb 02 2026 - 05:07:49 EST


From: Ming Qian <ming.qian@xxxxxxxxxxx>

Support the upgraded JPEG encoder v1 found on i.MX952 SoC.

V1 hardware uses enhanced descriptors with mode, quality, and
threshold fields, configured in a single phase via setup_desc
callback.
V0 hardware continues using the existing two-phase manual configuration.

---
Change logs
v3
- Split the changes into separate patches

v2
- Improve commit message
- Use GENMASK_U32
- make mxc_jpeg_get_version() static
- Check version in probe()
- Remove noise that update copyright years


Ming Qian (3):
media: imx-jpeg: Simplify descriptor initialization with memset
media: mxc-jpeg: Add encoder ops layer for hardware abstraction
media: mxc-jpeg: Add support for encoder v1 descriptor configuration

.../media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 1 +
.../media/platform/nxp/imx-jpeg/mxc-jpeg.c | 104 +++++++++++++++---
.../media/platform/nxp/imx-jpeg/mxc-jpeg.h | 22 ++++
3 files changed, 113 insertions(+), 14 deletions(-)


base-commit: c824345288d11e269ce41b36c105715bc2286050
prerequisite-patch-id: 0000000000000000000000000000000000000000
--
2.52.0