From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org,
Paul Elder <paul.elder@ideasonboard.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Julien Stephan <jstephan@baylibre.com>,
devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v4 1/3] dt-bindings: media: Add bindings for THine THP7312 ISP
Date: Sat, 28 Oct 2023 18:21:25 +0300 [thread overview]
Message-ID: <20231028152125.GC20465@pendragon.ideasonboard.com> (raw)
In-Reply-To: <ZTvk6RRXBQib_Qow@valkosipuli.retiisi.eu>
On Fri, Oct 27, 2023 at 04:27:21PM +0000, Sakari Ailus wrote:
> On Fri, Oct 27, 2023 at 06:36:49PM +0300, Laurent Pinchart wrote:
> > On Fri, Oct 27, 2023 at 02:52:38PM +0000, Sakari Ailus wrote:
> > > On Fri, Oct 27, 2023 at 03:46:34PM +0300, Laurent Pinchart wrote:
> > > > > > > > + port:
> > > > > > > > + $ref: /schemas/graph.yaml#/$defs/port-base
> > > > > > > > + additionalProperties: false
> > > > > > > > +
> > > > > > > > + properties:
> > > > > > > > + endpoint:
> > > > > > > > + $ref: /schemas/media/video-interfaces.yaml#
> > > > > > > > + unevaluatedProperties: false
> > > > > > > > +
> > > > > > > > + properties:
> > > > > > > > + data-lanes:
> > > > > > > > + description:
> > > > > > > > + This property is for lane reordering between the THP7312 and the
> > > > > > > > + SoC. The sensor supports either two-lane, or four-lane operation.
> > > > > > > > + If this property is omitted four-lane operation is assumed. For
> > > > > > > > + two-lane operation the property must be set to <1 2>.
> > > > > > >
> > > > > > > How are link frequencies determined by the device?
> > > > > >
> > > > > > The link frequency is not under direct control of the host. There are
> > > > > > registers to select between mode presets, each of them producing a
> > > > > > particular link frequency.
> > > > >
> > > > > If they are known, one could only allow setting the modes with known-good
> > > > > link requencies. This could be added later on, too, affecting systems with
> > > > > link-frequencies set. I guess you could also add it now, as optional.
> > > >
> > > > I vote for later :-)
> > > >
> > > > > Where's the link frequency information available? In documentation or in
> > > > > on the firmware API?
> > > >
> > > > In the documentation (which is not public I'm afraid).
> > >
> > > Could you add this information in the driver?
> > >
> > > Co-incidentally, the driver is lacking the LINK_FREQ control. It should be
> > > added.
> >
> > Oops. Seems I got caught red-handed. I'll fix that (and add the
> > PIXEL_RATE control too).
>
> :-)
>
> The PIXEL_RATE is intended to be the pixel rate on the pixel array. The
> driver doesn't have HBLANK or VBLANK so is it even useful to have
> PIXEL_RATE?
I don't mind leaving it out, it's easier.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2023-10-28 15:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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
[not found] ` <ZTuueXYFeEqqpD6Z@valkosipuli.retiisi.eu>
[not found] ` <20231027124634.GB19539@pendragon.ideasonboard.com>
[not found] ` <ZTvOtnbRrykdr7oW@valkosipuli.retiisi.eu>
[not found] ` <20231027153649.GE12144@pendragon.ideasonboard.com>
[not found] ` <ZTvk6RRXBQib_Qow@valkosipuli.retiisi.eu>
2023-10-28 15:21 ` Laurent Pinchart [this message]
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
[not found] ` <ZTutbU1XG_jKZbIp@valkosipuli.retiisi.eu>
[not found] ` <20231027124529.GA19539@pendragon.ideasonboard.com>
[not found] ` <ZTvOIQSmpytUisUD@valkosipuli.retiisi.eu>
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
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=20231028152125.GC20465@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jstephan@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=paul.elder@ideasonboard.com \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@iki.fi \
/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