devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] media: i2c: Add driver for THine THP7312 ISP
@ 2023-10-17 13:21 Laurent Pinchart
  2023-10-17 13:21 ` [PATCH v4 1/3] dt-bindings: media: Add bindings " Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Laurent Pinchart @ 2023-10-17 13:21 UTC (permalink / raw)
  To: linux-media
  Cc: Paul Elder, Hans Verkuil, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Matthias Brugger, AngeloGioacchino Del Regno,
	Julien Stephan, Sakari Ailus, devicetree, linux-mediatek

Hello,

This patch series adds a new driver for the THine THP7312 ISP. It has
been tested on an OLogic Pumpkin i350, which has a Mediatek MT8365 SoC,
with the THine THSCG101 camera module.

Technically the driver itself (and its bindings) have no dependencies,
but to run/test this on the Pumpkin i350 with the mainline kernel, a
number of patches are needed to support the board and the MT8365 SoC.
Some of those patches are on their way to mainline, and some, like the
Pumpkin i350 board device tree, will require more work. For convenience
and reference, the needed patches are available in [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git/log/?h=mtk/v6.6/pumpkin/camera

Example overlays for DT integration of the THP7312 are available in that
branch, in
arch/arm64/boot/dts/mediatek/mt8365-pumpkin-csi0-thp7312-imx258.dtso and
arch/arm64/boot/dts/mediatek/mt8365-pumpkin-csi1-thp7312-imx258.dtso.

Compared to v3, small fixes and improvements to the driver have found
their way in 3/3. Please see the patch for a detailed changelog. The
series has also been rebased on top of the latest Linux media master
branch, and tested on v6.6-rc6.

Below is the mandatory v4l2-compliance report. Careful readers may
notice that my v4l2-utils version is three commits behind upstream, but
that makes no practical difference as those commits are not related to
v4l2-compliance

Laurent Pinchart (1):
  media: uapi: Add controls for the THP7312 ISP

Paul Elder (2):
  dt-bindings: media: Add bindings for THine THP7312 ISP
  media: i2c: Add driver for THine THP7312

 .../bindings/media/i2c/thine,thp7312.yaml     |  226 ++
 .../userspace-api/media/drivers/index.rst     |    1 +
 .../userspace-api/media/drivers/thp7312.rst   |   32 +
 MAINTAINERS                                   |   10 +
 drivers/media/i2c/Kconfig                     |   16 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/thp7312.c                   | 2339 +++++++++++++++++
 include/uapi/linux/thp7312.h                  |   19 +
 include/uapi/linux/v4l2-controls.h            |    6 +
 9 files changed, 2650 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/thine,thp7312.yaml
 create mode 100644 Documentation/userspace-api/media/drivers/thp7312.rst
 create mode 100644 drivers/media/i2c/thp7312.c
 create mode 100644 include/uapi/linux/thp7312.h


base-commit: 94e27fbeca27d8c772fc2bc807730aaee5886055
-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2023-10-31 16:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17 13:21 [PATCH v4 0/3] media: i2c: Add driver for THine THP7312 ISP Laurent Pinchart
2023-10-17 13:21 ` [PATCH v4 1/3] dt-bindings: media: Add bindings " Laurent Pinchart
2023-10-18 15:02   ` Krzysztof Kozlowski
2023-10-27 11:55   ` Sakari Ailus
2023-10-27 12:19     ` Laurent Pinchart
2023-10-27 12:35       ` Sakari Ailus
2023-10-27 12:46         ` Laurent Pinchart
2023-10-27 14:52           ` Sakari Ailus
2023-10-27 15:36             ` Laurent Pinchart
2023-10-27 16:27               ` Sakari Ailus
2023-10-28 15:21                 ` Laurent Pinchart
2023-10-17 13:21 ` [PATCH v4 2/3] media: uapi: Add controls for the " Laurent Pinchart
2023-10-17 13:21 ` [PATCH v4 3/3] media: i2c: Add driver for THine THP7312 Laurent Pinchart
2023-10-27 12:30   ` Sakari Ailus
2023-10-27 12:45     ` Laurent Pinchart
2023-10-27 13:59       ` Laurent Pinchart
2023-10-27 14:50       ` Sakari Ailus
2023-10-28 15:18         ` Laurent Pinchart
2023-10-30  8:09           ` Sakari Ailus
2023-10-30 10:42             ` Laurent Pinchart
2023-10-31 10:45               ` Sakari Ailus
2023-10-31 13:41                 ` Andy Shevchenko
2023-10-31 14:24                   ` Laurent Pinchart
2023-10-31 16:43                     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).