[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aPepRZOL1Ys4PH/u@lizhi-Precision-Tower-5810>
Date: Tue, 21 Oct 2025 11:39:49 -0400
From: Frank Li <Frank.li@....com>
To: Sakari Ailus <sakari.ailus@....fi>
Cc: Rui Miguel Silva <rmfrfs@...il.com>, Hans de Goede <hansg@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
"open list:OMNIVISION OV2680 SENSOR DRIVER" <linux-media@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>, imx@...ts.linux.dev
Subject: Re: [PATCH 1/1] media: dt-bindings: ovti,ov2680: Use
unevaluatedProperties for endpoint
On Tue, Oct 21, 2025 at 12:00:09PM +0300, Sakari Ailus wrote:
> Hi Frank,
>
> On Wed, Aug 27, 2025 at 03:49:18PM -0400, Frank Li wrote:
> > The endpoint ref to /schemas/media/video-interfaces.yaml#, so replace
> > additionalProperties with unevaluatedProperties to allow use common
> > properties.
> >
> > Fix below CHECK_DTBS warnings:
> > arch/arm/boot/dts/nxp/imx/imx7s-warp.dtb: camera@36 (ovti,ov2680): port:endpoint: 'clock-lanes', 'data-lanes' do not match any of the regexes: '^pinctrl-[0-9]+$'
> > from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov2680.yaml
> >
> > Signed-off-by: Frank Li <Frank.Li@....com>
> > ---
> > Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml
> > index 634d3b821b8c7..ec5c40684b6bd 100644
> > --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml
> > +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml
> > @@ -58,7 +58,7 @@ properties:
> > properties:
> > endpoint:
> > $ref: /schemas/media/video-interfaces.yaml#
> > - additionalProperties: false
> > + unevaluatedProperties: false
>
> There are a lot more than just data-lanes in video-interfaces.yaml.
>
> Could you instead drop data-lanes and clock-lanes from the bindings? They
> are redundant.
What's your means? drop data-lanes and clock-lanes from the dts file?
The board design may use less data-lanes, why it is reduntant?
Frank
>
> >
> > properties:
> > link-frequencies: true
>
> --
> Kind regards,
>
> Sakari Ailus
Powered by blists - more mailing lists