[PATCH 0/3] media: i2c: Add driver for THine THP7312 ISP

Paul Elder paul.elder at ideasonboard.com
Tue Sep 5 16:31:15 PDT 2023


This patch series adds support for 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 i350, a bunch of patches from Baylibre are
required. I have these organized in a branch [1], and I have another
branch on top which includes the patches from this series [2].

Patch 3 depends on the device tree for the Pumpkin board, which as far
as I know will be handled by Baylibre. I expect this patch to go in
alone, separately, and at a later date.

[1] https://git.uk.ideasonboard.com/THine/linux/src/branch/epaul/v6.5-rc1/base/thine/thp7312
[2] https://git.uk.ideasonboard.com/THine/linux/src/branch/epaul/v6.5-rc1/rc/thine/thp7312

Paul Elder (3):
  dt-bindings: media: Add THine THP7312 ISP
  media: i2c: Add driver for THine THP7312
  arm64: dts: mediatek: mt8365-pumpkin: Add overlays for thp7312 cameras

 .../bindings/media/thine,thp7312.yaml         |  170 ++
 arch/arm64/boot/dts/mediatek/Makefile         |    4 +
 .../mt8365-pumpkin-common-thp7312.dtsi        |   23 +
 .../mt8365-pumpkin-csi0-thp7312-imx258.dtso   |   73 +
 .../mt8365-pumpkin-csi1-thp7312-imx258.dtso   |   73 +
 drivers/media/i2c/Kconfig                     |    9 +
 drivers/media/i2c/Makefile                    |    1 +
 drivers/media/i2c/thp7312.c                   | 1674 +++++++++++++++++
 8 files changed, 2027 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/thine,thp7312.yaml
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-pumpkin-common-thp7312.dtsi
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-pumpkin-csi0-thp7312-imx258.dtso
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-pumpkin-csi1-thp7312-imx258.dtso
 create mode 100644 drivers/media/i2c/thp7312.c

-- 
2.39.2




More information about the Linux-mediatek mailing list