linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute
@ 2023-04-19 15:58 Luca Weiss
  2023-04-21 20:50 ` Rob Herring
  2023-05-08  7:32 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Weiss @ 2023-04-19 15:58 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Shunqian Zheng,
	Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Sakari Ailus, Hans Verkuil
  Cc: Krzysztof Kozlowski, linux-media, devicetree, linux-kernel, Luca Weiss

When adapting the original doc conversion to support 2 lanes, minItems
should've been added as well since the sensor supports either 1 or 2
lanes. Add minItems to make the validation happy again.

Fixes: 8d561d78aeab ("media: dt-bindings: ov2685: convert to dtschema")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml
index 8b389314c352..e2ffe0a9c26b 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml
@@ -49,6 +49,7 @@ properties:
 
         properties:
           data-lanes:
+            minItems: 1
             maxItems: 2
 
         required:

---
base-commit: 4aa1da8d99724f6c0b762b58a71cee7c5e2e109b
change-id: 20230419-ov2685-dtschema-fixup-b04549453978

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute
  2023-04-19 15:58 [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute Luca Weiss
@ 2023-04-21 20:50 ` Rob Herring
  2023-05-08  7:32 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-04-21 20:50 UTC (permalink / raw)
  To: Luca Weiss
  Cc: Krzysztof Kozlowski, Shunqian Zheng, devicetree, linux-kernel,
	Rob Herring, Hans Verkuil, Krzysztof Kozlowski,
	~postmarketos/upstreaming, Mauro Carvalho Chehab, Sakari Ailus,
	linux-media, phone-devel


On Wed, 19 Apr 2023 17:58:27 +0200, Luca Weiss wrote:
> When adapting the original doc conversion to support 2 lanes, minItems
> should've been added as well since the sensor supports either 1 or 2
> lanes. Add minItems to make the validation happy again.
> 
> Fixes: 8d561d78aeab ("media: dt-bindings: ov2685: convert to dtschema")
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute
  2023-04-19 15:58 [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute Luca Weiss
  2023-04-21 20:50 ` Rob Herring
@ 2023-05-08  7:32 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-08  7:32 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Shunqian Zheng,
	Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Sakari Ailus, Hans Verkuil, Luca Weiss
  Cc: Krzysztof Kozlowski, linux-media, devicetree, linux-kernel


On Wed, 19 Apr 2023 17:58:27 +0200, Luca Weiss wrote:
> When adapting the original doc conversion to support 2 lanes, minItems
> should've been added as well since the sensor supports either 1 or 2
> lanes. Add minItems to make the validation happy again.
> 
> 

Applied, thanks!

[1/1] media: dt-bindings: ov2685: Correct data-lanes attribute
      https://git.kernel.org/krzk/linux-dt/c/048bce15da19e46ce5e866a48338929c76ca4152

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-08  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19 15:58 [PATCH] media: dt-bindings: ov2685: Correct data-lanes attribute Luca Weiss
2023-04-21 20:50 ` Rob Herring
2023-05-08  7:32 ` Krzysztof Kozlowski

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).