From: sashiko-bot@kernel.org
To: "Richard Leitner" <richard.leitner@linux.dev>
Cc: robh@kernel.org, media-ci@linuxtv.org,
devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: media: i2c: Add vision-components,mipi-module-controller
Date: Tue, 15 Sep 2026 20:27:32 +0000 [thread overview]
Message-ID: <20260915202732.9B2B51F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260915-vc-mipi-ctrl-v1-2-8a42b693d889@linux.dev>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] dt-bindings: schema rejects i2c child nodes due to unevaluatedProperties
- [Low] dt-bindings: dtc warning unit_address_vs_reg due to missing reg in i2c node
--
commit 0c92fd00fde60c6a3a9d90ca2a635a3a6b317fc1
Author: Richard Leitner <richard.leitner@linux.dev>
dt-bindings: media: i2c: Add vision-components,mipi-module-controller
This commit adds device tree bindings for the Vision Components MIPI Camera
Module Controller. The controller abstracts the camera sensor behind a unified
register interface and exposes a tunneled downstream I2C bus for the attached
image sensor.
> diff --git a/Documentation/devicetree/bindings/media/i2c/vision-components,mipi-module-controller.yaml b/Documentation/devicetree/bindings/media/i2c/vision-components,mipi-module-controller.yaml
> new file mode 100644
> index 0000000000000..2a031aea68457
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/vision-components,mipi-module-controller.yaml
[ ... ]
> +required:
> + - compatible
> + - reg
> + - '#clock-cells'
> + - clock-frequency
> + - vcc-supply
> + - '#address-cells'
> + - '#size-cells'
> +
> +unevaluatedProperties: false
[Severity: Medium]
Will this constraint reject the downstream I2C bus child node?
Because unevaluatedProperties is set to false but there is no definition
(such as a patternProperties for ^i2c@[0-9a-f]+$) for the tunneled downstream
I2C bus child node in the properties section, make dt_binding_check will fail
validation for any device tree containing this hardware module's child node.
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + vc_mipi_ctrl: controller@10 {
> + compatible = "vision-components,mipi-module-controller";
> + reg = <0x10>;
> + #clock-cells = <0>;
> + clock-frequency = <37125000>;
> + vcc-supply = <&cam_3v3>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + i2c@0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
[Severity: Low]
Does this child node trigger a dtc unit_address_vs_reg warning?
The parent node controller@10 defines #address-cells = <1>, and this i2c@0
node has a unit address. Without a corresponding reg = <0>; property, it
violates Device Tree syntax and will trigger a warning during
make dt_binding_check.
Additionally, this example illustrates the usage of the i2c@0 child node,
which is paradoxically forbidden by the unevaluatedProperties schema
constraint mentioned above.
> +
> + vc_mipi_sensor: camera@60 {
> + compatible = "ovti,ov9281";
> + reg = <0x60>;
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915-vc-mipi-ctrl-v1-0-8a42b693d889@linux.dev?part=2
next prev parent reply other threads:[~2026-09-15 20:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 20:20 [PATCH 0/3] Add Vision Components MIPI Camera Module support Richard Leitner
2026-09-15 20:20 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add Vision Components GmbH Richard Leitner
2026-09-15 20:27 ` sashiko-bot
2026-09-15 20:20 ` [PATCH 2/3] dt-bindings: media: i2c: Add vision-components,mipi-module-controller Richard Leitner
2026-09-15 20:27 ` sashiko-bot [this message]
2026-09-15 21:57 ` Rob Herring (Arm)
2026-09-16 7:00 ` Krzysztof Kozlowski
2026-09-16 7:33 ` Richard Leitner
2026-09-16 7:45 ` Laurent Pinchart
2026-09-16 8:30 ` Krzysztof Kozlowski
2026-09-16 8:35 ` Krzysztof Kozlowski
2026-09-16 9:01 ` Richard Leitner
2026-09-16 13:41 ` Krzysztof Kozlowski
2026-09-16 14:57 ` Richard Leitner
2026-09-17 6:30 ` Krzysztof Kozlowski
2026-09-17 8:46 ` Laurent Pinchart
2026-09-28 9:30 ` Richard Leitner
2026-09-16 16:52 ` Laurent Pinchart
2026-09-17 6:18 ` Krzysztof Kozlowski
2026-09-17 7:55 ` Richard Leitner
2026-09-17 8:08 ` Krzysztof Kozlowski
2026-09-17 8:19 ` Laurent Pinchart
2026-09-17 8:28 ` Krzysztof Kozlowski
2026-09-17 8:17 ` Laurent Pinchart
2026-09-15 20:20 ` [PATCH 3/3] media: i2c: vc-mipi: add Vision Components MIPI Module Controller Richard Leitner
2026-09-15 20:30 ` 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=20260915202732.9B2B51F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=media-ci@linuxtv.org \
--cc=richard.leitner@linux.dev \
--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