All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lachlan Michael" <lachlan.michael@sony.com>, devicetree@vger.kernel.org
Cc: 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 01:53:48 +0000	[thread overview]
Message-ID: <sashiko-outbox-176511@kernel.org> (raw)
In-Reply-To: <20261019014720.2635-2-lachlan.michael@sony.com>

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?

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

  reply	other threads:[~2026-10-19  1:53 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 [this message]
2026-10-19 18:21     ` Conor Dooley
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=sashiko-outbox-176511@kernel.org \
    --to=sashiko-bot@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 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.