From: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
To: Sergey Lebedev <lsa.uz@pm.me>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Sylvain Petinot <sylvain.petinot@foss.st.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Dan Scally <dan.scally@ideasonboard.com>,
Hans de Goede <hansg@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Peter Marshall <pm@petermarshall.ca>,
George Neacsu <geocausa@gmail.com>, Hao Yao <hao.yao@intel.com>,
Fernando Rimoli <fernandorimoli11@gmail.com>,
"D. Manresa" <dmanresa@gmail.com>, Jizhou Tong <fqwqf@fqwqf.xyz>,
<linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 1/4] dt-bindings: media: i2c: st,vd55g1: Add ST VD55G0
Date: Mon, 9 Nov 2026 11:28:35 +0100 [thread overview]
Message-ID: <66c9105b-4da7-4b57-a0a1-e33c093f1529@foss.st.com> (raw)
In-Reply-To: <20261109093353.3757-2-lsa.uz@pm.me>
Hi Sergey,
Le 09/11/2026 à 10:34, Sergey Lebedev a écrit :
> The VD55G0 is a monochrome global shutter sensor with a 644x604 active
> array, sending over a single MIPI CSI-2 lane, with the same supplies,
> reset and strobe GPIOs as the VD55G1. Its MIPI rate runs from 750 to
> 1200 Mbps (UM2829, 13.1), so its link frequency starts at 375 MHz, and
> its I2C address is set in its NVM rather than fixed.
>
> allOf moves below required to carry the if/then for that minimum.
>
> Signed-off-by: Sergey Lebedev <lsa.uz@pm.me>
> ---
> v3: no change.
>
> v2: the VD55G0 joins this file instead of a st,vd55g0.yaml of its own,
> with allOf below required for the if/then, as Krzysztof pointed to. It
> is Peter Marshall's 01/11 and 02/11 of his vd55g1 v2 squashed, as
> Krzysztof asked there, with the VD55G0's description added:
> https://lore.kernel.org/all/20260918221705.323510-3-pm@petermarshall.ca/
As vd55g1 and vd55g0 are two different drivers I think they should be
kept separated. Not sure what Krzysztof meant, maybe he just wanted to
point to a similar patchset. Krzysztof coud you clarify ?
Could this patch be reverted to v1 ? I see that similarly the
MAINTAINERS file as also been altered in the second patch.
>
> .../bindings/media/i2c/st,vd55g1.yaml | 27 ++++++++++++++++---
> 1 file changed, 23 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml b/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
> index dfd87beba06..0245673d105 100644
> --- a/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/st,vd55g1.yaml
> @@ -16,21 +16,23 @@ description: |-
> array size of 804H x 704V. It is programmable through I2C interface. The I2C
> address is fixed to 0x10.
>
> + The VD55G0 is a monochrome global shutter image sensor with an active array
> + size of 644H x 604V, programmable through I2C at an address set in its NVM.
> +
> Image data is sent through MIPI CSI-2, which is configured as only 1 data
> lane. The sensor provides 4 GPIOS that can be used for external LED signal
> (synchronized with sensor integration periods).
>
> -allOf:
> - - $ref: /schemas/media/video-interface-devices.yaml#
> -
> properties:
> compatible:
> enum:
> + - st,vd55g0
> - st,vd55g1
> - st,vd55g4
> - st,vd65g4
> description:
> - VD55G1 and VD55G4 are monochrome variants, while VD65G4 is a color one.
> + VD55G0, VD55G1 and VD55G4 are monochrome variants, while VD65G4 is a
> + color one.
>
> reg:
> maxItems: 1
> @@ -101,6 +103,23 @@ required:
> - reset-gpios
> - port
>
> +allOf:
> + - $ref: /schemas/media/video-interface-devices.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: st,vd55g0
> + then:
> + properties:
> + port:
> + properties:
> + endpoint:
> + properties:
> + link-frequencies:
> + items:
> + minimum: 375000000
> +
> unevaluatedProperties: false
>
> examples:
--
Regards,
Benjamin
next prev parent reply other threads:[~2026-11-09 10:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 9:34 [PATCH v3 0/4] media: Add the ST VD55G0 global shutter sensor Sergey Lebedev
2026-11-09 9:34 ` [PATCH v3 1/4] dt-bindings: media: i2c: st,vd55g1: Add ST VD55G0 Sergey Lebedev
2026-11-09 10:28 ` Benjamin Mugnier [this message]
2026-11-09 10:36 ` Sergey Lebedev
2026-11-09 9:34 ` [PATCH v3 2/4] media: i2c: Add ST VD55G0 global shutter sensor driver Sergey Lebedev
2026-11-09 9:34 ` [PATCH v3 3/4] media: ipu-bridge: Add ST VD55G0 Sergey Lebedev
2026-11-09 9:34 ` [PATCH v3 4/4] media: ipu-bridge: Add the Surface Pro 9 and 11 infrared illuminator Sergey Lebedev
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=66c9105b-4da7-4b57-a0a1-e33c093f1529@foss.st.com \
--to=benjamin.mugnier@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=dmanresa@gmail.com \
--cc=fernandorimoli11@gmail.com \
--cc=fqwqf@fqwqf.xyz \
--cc=geocausa@gmail.com \
--cc=hansg@kernel.org \
--cc=hao.yao@intel.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=lsa.uz@pm.me \
--cc=mchehab@kernel.org \
--cc=pm@petermarshall.ca \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=sylvain.petinot@foss.st.com \
/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
all inboxes | Powered by JetHome®