From: sashiko-bot@kernel.org
To: "Lachlan Michael" <lachlan.michael@sony.com>
Cc: robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor
Date: Fri, 28 Aug 2026 06:55:35 +0000 [thread overview]
Message-ID: <20260828065535.A13791F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260828064843.65047-2-lachlan.michael@sony.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incorrect use of `additionalProperties: false` with a top-level `$ref`, which blocks inherited common properties.
--
commit 065f027b1ff1efb3cf1642216e2b0f54de8f7f54
Author: Lachlan Michael <lachlan.michael@sony.com>
media: dt-bindings: imx908: Add Sony IMX908 sensor
The Sony IMX908 is an 8.39 megapixel (3856x2176) CMOS image sensor
with a MIPI CSI-2 output interface, supporting RAW10 and RAW12 output
over 2 or 4 data lanes. Add device tree bindings for the 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:
[ ... ]
> +required:
> + - compatible
> + - reg
> + - clocks
> + - dvdd-supply
> + - ovdd-supply
> + - avdd-supply
> + - port
> +
> +additionalProperties: false
[Severity: Low]
Will this incorrectly reject valid device tree properties inherited from
video-interface-devices.yaml?
Since there is a top-level reference to video-interface-devices.yaml, using
additionalProperties here forbids common media properties like rotation,
orientation, or lens-focus from being evaluated. This will cause make
dtbs_check to fail if those properties are present in the device tree.
Should this be unevaluatedProperties: false instead?
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + i2c {
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828064843.65047-1-lachlan.michael@sony.com?part=1
next prev parent reply other threads:[~2026-08-28 6:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 6:48 [PATCH v3 0/2] Add bindings and driver for Sony IMX908 Lachlan Michael
2026-08-28 6:48 ` [PATCH v3 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor Lachlan Michael
2026-08-28 6:55 ` sashiko-bot [this message]
2026-08-28 16:32 ` Conor Dooley
2026-09-29 0:28 ` Laurent Pinchart
2026-08-28 6:48 ` [PATCH v3 2/2] media: i2c: Add Sony IMX908 image sensor driver Lachlan Michael
2026-08-28 7:04 ` sashiko-bot
2026-09-21 16:28 ` Jai Luthra
2026-09-29 1:26 ` Laurent Pinchart
2026-10-01 8:40 ` Lachlan Michael
2026-10-01 13:42 ` Laurent Pinchart
2026-10-01 8:36 ` Lachlan Michael
2026-10-01 12:24 ` Sakari Ailus
2026-10-01 13:31 ` Laurent Pinchart
2026-10-01 13:41 ` Laurent Pinchart
2026-10-01 13:45 ` Sakari Ailus
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=20260828065535.A13791F000E9@smtp.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.