From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Julien Stephan <jstephan@baylibre.com>,
Louis Kuo <louis.kuo@mediatek.com>,
Phi-bang Nguyen <pnguyen@baylibre.com>,
Florian Sylvestre <fsylvestre@baylibre.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Andy Hsieh <andy.hsieh@mediatek.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Conor Dooley <conor+dt@kernel.org>,
daoyuan huang <daoyuan.huang@mediatek.com>,
devicetree@vger.kernel.org,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-media@vger.kernel.org,
Matthias Brugger <matthias.bgg@gmail.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Moudy Ho <moudy.ho@mediatek.com>,
Rob Herring <robh+dt@kernel.org>,
Vasily Gorbik <gor@linux.ibm.com>
Subject: Re: [PATCH v2 2/4] media: platform: mediatek: isp_30: add mediatek ISP3.0 sensor interface
Date: Mon, 3 Jul 2023 15:18:53 +0300 [thread overview]
Message-ID: <20230703121853.GA16531@pendragon.ideasonboard.com> (raw)
In-Reply-To: <CAAOTY_9SFRMb7d3c62SVDnZY00hRAZ=9wBi9QCcv1UKuc8iBtQ@mail.gmail.com>
On Sun, Jul 02, 2023 at 05:20:25PM +0800, Chun-Kuang Hu wrote:
> Chun-Kuang Hu <chunkuang.hu@kernel.org> 於 2023年7月2日 週日 上午7:35寫道:
> > Julien Stephan <jstephan@baylibre.com> 於 2023年6月30日 週五 下午6:05寫道:
> > >
> > > From: Louis Kuo <louis.kuo@mediatek.com>
> > >
> > > This will add the mediatek ISP3.0 seninf (sensor interface) driver found
> > > on several Mediatek SoCs such as the mt8365.
> > >
> > > Then seninf module has 4 physical CSI-2 inputs. Depending on the soc they
> > > may not be all connected.
> > >
> > > Signed-off-by: Louis Kuo <louis.kuo@mediatek.com>
> > > Signed-off-by: Phi-bang Nguyen <pnguyen@baylibre.com>
> > > Signed-off-by: Florian Sylvestre <fsylvestre@baylibre.com>
> > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > > Signed-off-by: Julien Stephan <jstephan@baylibre.com>
> > >
> >
> > [snip]
> >
> > > +
> > > +static const struct mtk_seninf_conf seninf_8365_conf = {
> > > + .model = "mtk-camsys-3.0",
> > > + .nb_inputs = 4,
> > > + .nb_muxes = 6,
> > > + .nb_outputs = 4,
> > > +};
> > > +
> > > +static const struct of_device_id mtk_seninf_of_match[] = {
> > > + {
> > > + .compatible = "mediatek,mt8365-seninf",
> > > + .data = &seninf_8365_conf,
> >
> > Now only support one SoC, so it's necessary to select the SoC data and
> > you could directly place the data in the code. After support other
>
> Typo.
>
> Now only support one SoC, so it's not necessary to select the SoC data
> and you could directly place the data in the code.
I think Julien has visibility on other SoCs that could use the same
driver, and has designed the mtk_seninf_conf structure accordingly. I'll
let Julien confirm (or tell I'm wrong).
> > SoC, so we could know what should be placed in struct mtg_seninf_conf
> > (Now we have no any information).
> >
> > > + },
> > > + {
> > > + },
> > > +};
> > > +MODULE_DEVICE_TABLE(of, mtk_seninf_of_match);
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2023-07-03 12:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 10:01 [PATCH v2 0/4] Add Mediatek ISP3.0 Julien Stephan
2023-06-30 10:01 ` [PATCH v2 1/4] dt-bindings: media: add mediatek ISP3.0 sensor interface Julien Stephan
2023-06-30 11:23 ` Rob Herring
2023-06-30 14:32 ` Rob Herring
2023-06-30 10:01 ` [PATCH v2 2/4] media: platform: mediatek: isp_30: " Julien Stephan
2023-07-01 23:13 ` Chun-Kuang Hu
2023-07-01 23:35 ` Chun-Kuang Hu
2023-07-02 9:20 ` Chun-Kuang Hu
2023-07-03 12:18 ` Laurent Pinchart [this message]
2023-07-03 12:30 ` AngeloGioacchino Del Regno
2023-07-03 11:02 ` AngeloGioacchino Del Regno
2023-08-04 14:50 ` Julien Stephan
2023-08-04 15:05 ` Laurent Pinchart
2023-06-30 10:01 ` [PATCH v2 3/4] dt-bindings: media: add mediatek ISP3.0 camsv Julien Stephan
2023-06-30 11:23 ` Rob Herring
2023-06-30 14:33 ` Rob Herring
2023-06-30 10:01 ` [PATCH v2 4/4] media: platform: mediatek: isp_30: " Julien Stephan
2023-07-02 9:50 ` Chun-Kuang Hu
2023-07-03 12:21 ` AngeloGioacchino Del Regno
2023-08-03 9:53 ` Julien Stephan
2023-08-03 22:30 ` Laurent Pinchart
2023-08-04 7:34 ` AngeloGioacchino Del Regno
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=20230703121853.GA16531@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=agordeev@linux.ibm.com \
--cc=andy.hsieh@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daoyuan.huang@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=fsylvestre@baylibre.com \
--cc=gor@linux.ibm.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jstephan@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--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=louis.kuo@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=moudy.ho@mediatek.com \
--cc=pnguyen@baylibre.com \
--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