Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: Lachlan Michael <lachlan.michael@sony.com>,
	devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v5 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor
Date: Mon, 19 Oct 2026 19:21:50 +0100	[thread overview]
Message-ID: <20261019-cause-decline-feb5a68f0d06@spud> (raw)
In-Reply-To: <sashiko-outbox-176511@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1956 bytes --]

On Mon, Oct 19, 2026 at 01:53:48AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] dt-bindings: media: imx908: additionalProperties: false blocks allOf schema
> --
> 
> commit ff8a8181af73cacaf3f8a03e0acde33eb53bb18b
> Author: Lachlan Michael <lachlan.michael@sony.com>
> 
> media: dt-bindings: imx908: Add Sony IMX908 sensor
> 
> This commit adds device tree bindings and a MAINTAINERS entry for the Sony
> IMX908 8.39 megapixel MIPI CSI-2 CMOS image sensor.
> 
> > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml
> > new file mode 100644
> > index 0000000000000..828db1175e2f5
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml
> > @@ -0,0 +1,108 @@
> [ ... ]
> > +allOf:
> > +  - $ref: /schemas/media/video-interface-devices.yaml#
> > +
> > +properties:
> > +  compatible:
> > +    const: sony,imx908
> [ ... ]
> > +required:
> > +  - compatible
> > +  - reg
> > +  - clocks
> > +  - dvdd-supply
> > +  - ovdd-supply
> > +  - avdd-supply
> > +  - port
> > +
> > +additionalProperties: false
> 
> [Severity: Medium]
> Should this be unevaluatedProperties: false instead of
> additionalProperties: false?

Only if the properties outside of what's already explicitly used in the
binding are possible.

> 
> Because the schema references /schemas/media/video-interface-devices.yaml#
> in allOf without listing common properties such as rotation, orientation,
> lens-focus, or flash-leds under the local properties block, using
> additionalProperties: false will cause dtbs_check to reject any
> sony,imx908 node that uses those inherited properties.
> 
> [ ... ]
> 
> -- 
> Sashiko AI review · https://sashiko.dev/#/patchset/20261019014720.2635-1-lachlan.michael@sony.com?part=1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-10-19 18:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  1:47 [PATCH v5 0/2] Add bindings and driver for Sony IMX908 Lachlan Michael
2026-10-19  1:47 ` [PATCH v5 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor Lachlan Michael
2026-10-19  1:53   ` sashiko-bot
2026-10-19 18:21     ` Conor Dooley [this message]
2026-10-20  1:37       ` Lachlan Michael
2026-10-19  1:47 ` [PATCH v5 2/2] media: i2c: Add Sony IMX908 image sensor driver Lachlan Michael
2026-10-20 10:47   ` Sakari Ailus
2026-10-20 12:56     ` Laurent Pinchart
2026-10-20 14:50       ` Dave Stevenson

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=20261019-cause-decline-feb5a68f0d06@spud \
    --to=conor@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lachlan.michael@sony.com \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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