This adds support for V4L2 M2M based driver for E5010 JPEG Encoder which is a stateful JPEG encoder from Imagination technologies and is present in TI AM62A SoC. v4l2-compliance test : Link: https://gist.github.com/devarsht/867b1d646bca3f3877edb1f3638aae31 E5010 JPEG Encoder Manual tests : Link: https://gist.github.com/devarsht/ea31179199393c2026ae457219bb6321 Devarsh Thakkar (2): dt-bindings: media: Add bindings for Imagination E5010 JPEG Encoder drivers: media: imagination: Add E5010 JPEG Encoder driver .../bindings/media/img,e5010-jpeg-enc.yaml | 79 + MAINTAINERS | 7 + drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 1 + drivers/media/platform/imagination/Kconfig | 13 + drivers/media/platform/imagination/Makefile | 3 + .../platform/imagination/e5010-core-regs.h | 584 ++++++ .../platform/imagination/e5010-jpeg-enc-hw.c | 319 +++ .../platform/imagination/e5010-jpeg-enc-hw.h | 41 + .../platform/imagination/e5010-jpeg-enc.c | 1762 +++++++++++++++++ .../platform/imagination/e5010-jpeg-enc.h | 165 ++ .../platform/imagination/e5010-mmu-regs.h | 303 +++ 12 files changed, 3278 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml create mode 100644 drivers/media/platform/imagination/Kconfig create mode 100644 drivers/media/platform/imagination/Makefile create mode 100644 drivers/media/platform/imagination/e5010-core-regs.h create mode 100644 drivers/media/platform/imagination/e5010-jpeg-enc-hw.c create mode 100644 drivers/media/platform/imagination/e5010-jpeg-enc-hw.h create mode 100644 drivers/media/platform/imagination/e5010-jpeg-enc.c create mode 100644 drivers/media/platform/imagination/e5010-jpeg-enc.h create mode 100644 drivers/media/platform/imagination/e5010-mmu-regs.h -- 2.34.1