Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add Arm Mali-C55 Image Signal Processor Driver
@ 2024-03-05 16:48 Daniel Scally
  2024-03-05 16:48 ` [PATCH v3 1/5] media: uapi: Add MEDIA_BUS_FMT_RGB202020_1X60 format code Daniel Scally
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Daniel Scally @ 2024-03-05 16:48 UTC (permalink / raw)
  To: linux-media, devicetree, linux-arm-kernel
  Cc: jacopo.mondi, nayden.kanchev, robh+dt, mchehab,
	krzysztof.kozlowski+dt, conor+dt, jerome.forissier,
	kieran.bingham, laurent.pinchart, Daniel Scally

Hello all

This patchset introduces a driver for Arm's Mali-C55 Image Signal Processor.
The driver uses the media controller API and in this initial support implements
both of the ISP's capture pipelines allowing a range of output formats plus
downscaling and cropping. The capture pipelines are named "Full resolution" and
"Downscale" and so abbreviated FR and DS throughout the driver.

The driver exposes 4 V4L2 subdevices:

- mali-c55 isp: input data formatting
- mali-c55 tpg: test pattern generator (modeled as a camera sensor entity)
- mali-c55 resizer fr: downscale / crop and format setting for the FR pipe
- mali-c55 resizer ds: downscale / crop and format setting for the DS pipe

Conspicuously missing from the list are subdevices for the ISP's statistics and
parameters; work is progressing in these areas and we plan on introducing them
in later series on top of this one.

Thanks
Dan


Daniel Scally (5):
  media: uapi: Add MEDIA_BUS_FMT_RGB202020_1X60 format code
  dt-bindings: media: Add bindings for ARM mali-c55
  media: mali-c55: Add Mali-C55 ISP driver
  media: Documentation: Add Mali-C55 ISP Documentation
  MAINTAINERS: Add entry for mali-c55 driver

 .../admin-guide/media/mali-c55-graph.dot      |  19 +
 Documentation/admin-guide/media/mali-c55.rst  | 330 ++++++
 .../admin-guide/media/v4l-drivers.rst         |   1 +
 .../bindings/media/arm,mali-c55.yaml          |  76 ++
 .../media/v4l/subdev-formats.rst              | 168 +++
 MAINTAINERS                                   |  10 +
 drivers/media/platform/Kconfig                |   1 +
 drivers/media/platform/Makefile               |   1 +
 drivers/media/platform/arm/Kconfig            |   5 +
 drivers/media/platform/arm/Makefile           |   2 +
 drivers/media/platform/arm/mali-c55/Kconfig   |  18 +
 drivers/media/platform/arm/mali-c55/Makefile  |   9 +
 .../platform/arm/mali-c55/mali-c55-capture.c  | 958 ++++++++++++++++++
 .../platform/arm/mali-c55/mali-c55-common.h   | 266 +++++
 .../platform/arm/mali-c55/mali-c55-core.c     | 745 ++++++++++++++
 .../platform/arm/mali-c55/mali-c55-isp.c      | 703 +++++++++++++
 .../arm/mali-c55/mali-c55-registers.h         | 180 ++++
 .../arm/mali-c55/mali-c55-resizer-coefs.h     | 382 +++++++
 .../platform/arm/mali-c55/mali-c55-resizer.c  | 740 ++++++++++++++
 .../platform/arm/mali-c55/mali-c55-tpg.c      | 425 ++++++++
 include/uapi/linux/media-bus-format.h         |   3 +-
 21 files changed, 5041 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/admin-guide/media/mali-c55-graph.dot
 create mode 100644 Documentation/admin-guide/media/mali-c55.rst
 create mode 100644 Documentation/devicetree/bindings/media/arm,mali-c55.yaml
 create mode 100644 drivers/media/platform/arm/Kconfig
 create mode 100644 drivers/media/platform/arm/Makefile
 create mode 100644 drivers/media/platform/arm/mali-c55/Kconfig
 create mode 100644 drivers/media/platform/arm/mali-c55/Makefile
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-capture.c
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-common.h
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-core.c
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-isp.c
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-registers.h
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-resizer-coefs.h
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-resizer.c
 create mode 100644 drivers/media/platform/arm/mali-c55/mali-c55-tpg.c

-- 
2.34.1


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

end of thread, other threads:[~2024-03-08 10:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 16:48 [PATCH v3 0/5] Add Arm Mali-C55 Image Signal Processor Driver Daniel Scally
2024-03-05 16:48 ` [PATCH v3 1/5] media: uapi: Add MEDIA_BUS_FMT_RGB202020_1X60 format code Daniel Scally
2024-03-05 17:04   ` Jacopo Mondi
2024-03-05 16:48 ` [PATCH v3 2/5] dt-bindings: media: Add bindings for ARM mali-c55 Daniel Scally
2024-03-06  7:36   ` Krzysztof Kozlowski
2024-03-06  9:44     ` Dan Scally
2024-03-05 16:48 ` [PATCH v3 3/5] media: mali-c55: Add Mali-C55 ISP driver Daniel Scally
2024-03-05 16:48 ` [PATCH v3 4/5] media: Documentation: Add Mali-C55 ISP Documentation Daniel Scally
2024-03-05 17:24   ` Jacopo Mondi
2024-03-06 10:03     ` Dan Scally
2024-03-08 10:23       ` Jacopo Mondi
2024-03-08 10:41         ` Dan Scally
2024-03-05 16:48 ` [PATCH v3 5/5] MAINTAINERS: Add entry for mali-c55 driver Daniel Scally

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