From: sashiko-bot@kernel.org
To: "Jai Luthra" <jai.luthra@ideasonboard.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: media: i2c: Add imx708 image sensor
Date: Wed, 15 Jul 2026 17:39:59 +0000 [thread overview]
Message-ID: <20260715173959.838B11F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260715-imx708-v1-1-1f36f54e14d4@ideasonboard.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The IMX708 device tree binding strictly prohibits standard camera properties like `rotation`, `orientation`, and `lens-focus` by omitting the common video-interface-devices schema reference.
--
--- Patch [1]: [PATCH 1/2] dt-bindings: media: i2c: Add imx708 image sensor ---
commit 6db06a28573083737d3c74ac1c5d01840d0d4fc3
Author: Jai Luthra <jai.luthra@ideasonboard.com>
dt-bindings: media: i2c: Add imx708 image sensor
This commit adds the device tree binding schema for the Sony IMX708 CMOS
sensor. It defines the I2C configuration, required power supplies, and
MIPI CSI-2 interface properties.
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml
[ ... ]
> +required:
> + - compatible
> + - reg
> + - clocks
> + - vdig-supply
> + - vana1-supply
> + - vana2-supply
> + - vddl-supply
> + - port
> +
> +additionalProperties: false
[Severity: Medium]
Will this strict additionalProperties constraint incorrectly reject standard
camera properties like rotation or orientation?
Because this binding in Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml
does not reference the common video-interface-devices schema, standard device
tree properties describing the physical mounting of the sensor will fail
validation during dt_binding_check.
Should this binding include an allOf reference to the common schema and use
unevaluatedProperties instead of additionalProperties at the top level?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260715-imx708-v1-0-1f36f54e14d4@ideasonboard.com?part=1
next prev parent reply other threads:[~2026-07-15 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 17:31 [PATCH 0/2] media: Add bindings and driver for Sony IMX708 Jai Luthra
2026-07-15 17:31 ` [PATCH 1/2] dt-bindings: media: i2c: Add imx708 image sensor Jai Luthra
2026-07-15 17:39 ` sashiko-bot [this message]
2026-07-15 18:00 ` Jai Luthra
2026-07-15 17:31 ` [PATCH 2/2] media: i2c: Add a driver for Sony IMX708 Jai Luthra
2026-07-15 17:43 ` sashiko-bot
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=20260715173959.838B11F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jai.luthra@ideasonboard.com \
--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