devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Elder <paul.elder@ideasonboard.com>
To: linux-media@vger.kernel.org
Cc: Paul Elder <paul.elder@ideasonboard.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: [PATCH 0/3] media: i2c: Add driver for THine THP7312 ISP
Date: Wed,  6 Sep 2023 08:31:15 +0900	[thread overview]
Message-ID: <20230905233118.183140-1-paul.elder@ideasonboard.com> (raw)

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


             reply	other threads:[~2023-09-05 23:31 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 23:31 Paul Elder [this message]
2023-09-05 23:31 ` [PATCH 1/3] dt-bindings: media: Add THine THP7312 ISP Paul Elder
2023-09-06  0:10   ` Rob Herring
2023-09-06  7:18   ` Krzysztof Kozlowski
2023-09-06  8:15     ` Laurent Pinchart
2023-09-07 14:49       ` Paul Elder
2023-09-07 14:56         ` Laurent Pinchart
2023-09-07 14:53     ` Paul Elder
2023-09-05 23:31 ` [PATCH 2/3] media: i2c: Add driver for THine THP7312 Paul Elder
2023-09-06  7:25   ` Krzysztof Kozlowski
2023-09-06  9:03     ` Laurent Pinchart
2023-09-06 10:50   ` Dave Stevenson
2023-09-07 14:54     ` Paul Elder
2023-09-06 10:58   ` Laurent Pinchart
2023-09-05 23:31 ` [PATCH 3/3] arm64: dts: mediatek: mt8365-pumpkin: Add overlays for thp7312 cameras Paul Elder
2023-09-06  7:27   ` Krzysztof Kozlowski
2023-09-06  8:32     ` Laurent Pinchart
2023-09-06  8:48       ` Krzysztof Kozlowski
2023-09-06  9:00         ` Laurent Pinchart
2023-09-06  9:21           ` Krzysztof Kozlowski
2023-09-06  9:35             ` Laurent Pinchart
2023-09-06 11:01               ` Kieran Bingham
2023-09-06 11:14                 ` Laurent Pinchart
2023-09-07 14:55                   ` Paul Elder
2023-09-07 15:04                     ` Laurent Pinchart
2023-09-07 15:04                       ` Laurent Pinchart
2023-09-08 20:52   ` Rob Herring
2023-09-09 15:37     ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230905233118.183140-1-paul.elder@ideasonboard.com \
    --to=paul.elder@ideasonboard.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).