[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <58958e05-882d-4866-809b-1daec897f59a@linaro.org>
Date: Wed, 9 Oct 2024 14:02:48 +0100
From: Bryan O'Donoghue <bryan.odonoghue@...aro.org>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>,
Jason Chen <jason.z.chen@...el.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH v5 2/4] media: dt-bindings: Add OmniVision OV08X40
On 05/10/2024 11:31, Bryan O'Donoghue wrote:
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes:
> + oneOf:
> + - items:
> + - const: 1
> + - const: 2
> + - items:
> + - const: 1
> + - const: 2
> + - const: 3
> + - const: 4
> +
> + required:
> + - data-lanes
> + - link-frequencies
I had some offline discussion with Laurent about this since, the logical
conclusion of this would be anything from
schemas/media/video-interfaces.yaml# would be valid.
And I'll admit I looked @ upstream examples and copied/pasted which also
implies that the upstream examples aren't correct.
So, I'll v6 this with
properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
_additionalProperties_: false
properties:
link-frequencies: true
data-lanes:
oneOf:
- items:
- const: 1
- const: 2
- items:
- const: 1
- const: 2
- const: 3
- const: 4
required:
- data-lanes
- link-frequencies
and then change the relevant upstream examples of unevaluatedProperties:
false to additionalProperties: false.
---
bod
Powered by blists - more mailing lists