All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Massot <julien.massot@collabora.com>
To: mchehab@kernel.org, sakari.ailus@linux.intel.com,
	benjamin.mugnier@foss.st.com, sylvain.petinot@foss.st.com
Cc: linux-media@vger.kernel.org, kernel@collabora.com,
	Julien Massot <julien.massot@collabora.com>
Subject: [PATCH v2] media: dt-bindings: st-vgxy61: relax data-lanes restriction
Date: Fri, 15 Mar 2024 10:03:45 +0100	[thread overview]
Message-ID: <20240315090345.1213957-1-julien.massot@collabora.com> (raw)

The ST VGXY61 sensors support multiple lane numbers, as
well as lane mapping.
---
Changes in v2:
Add minimum/maximum items to restrict lane index to 1..4.
---
 .../devicetree/bindings/media/i2c/st,st-vgxy61.yaml       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml b/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
index 8c28848b226a..a76434ecf23a 100644
--- a/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/st,st-vgxy61.yaml
@@ -67,11 +67,11 @@ properties:
           data-lanes:
             description:
               CSI lanes to use
+            minItems: 1
+            maxItems: 4
             items:
-              - const: 1
-              - const: 2
-              - const: 3
-              - const: 4
+              minimum: 1
+              maximum: 4
 
           remote-endpoint: true
 
-- 
2.44.0


             reply	other threads:[~2024-03-15  9:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  9:03 Julien Massot [this message]
2024-03-15  9:22 ` [PATCH v2] media: dt-bindings: st-vgxy61: relax data-lanes restriction Sakari Ailus
2024-03-29  8:32   ` Benjamin Mugnier
2024-03-15 11:36 ` Krzysztof Kozlowski

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=20240315090345.1213957-1-julien.massot@collabora.com \
    --to=julien.massot@collabora.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=kernel@collabora.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.