Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Bhavin Sharma" <bhavin.sharma@siliconsignals.io>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v2 1/2] dt-bindings: media: i2c: Add os05e10 sensor
Date: Fri, 04 Dec 2026 13:41:28 +0000	[thread overview]
Message-ID: <sashiko-outbox-249886@kernel.org> (raw)
In-Reply-To: <20261204132832.130979-2-bhavin.sharma@siliconsignals.io>

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] dt-bindings: media: ovti,os05e10: missing
  video-interface-devices.yaml ref
- [Low] dt-bindings: media: ovti,os05e10: duplicate schema of
  ovti,os05b10.yaml
- [Low] dt-bindings: media: ovti,os05e10: unused cam_out label in DTS
  example
--

commit bd32b1864e36dd611516233af8da64feaf69cf5c
Author: Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>

dt-bindings: media: i2c: Add os05e10 sensor

This commit adds a devicetree binding schema for the OmniVision OS05E10
image sensor and registers it in MAINTAINERS.

> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,os05e10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,os05e10.yaml
> new file mode 100644
> index 0000000000000..d5b361940f055
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,os05e10.yaml
> @@ -0,0 +1,103 @@

[ ... ]

> +properties:
> +  compatible:
> +    const: ovti,os05e10

[Severity: Low]
Could ovti,os05e10 be added to a compatible enum in ovti,os05b10.yaml
instead of introducing a new schema file?

All properties, supplies, clock, reset-gpios, port/endpoint constraints,
and required entries here are identical to ovti,os05b10.yaml.  Merging
them avoids maintaining two duplicate schemas and matches other
OmniVision family bindings such as ovti,og0ve1b.yaml.

[ ... ]

> +additionalProperties: false

[Severity: Medium]
Should this schema reference /schemas/media/video-interface-devices.yaml#
in allOf and use unevaluatedProperties: false instead?

Without it, board devicetrees setting standard camera properties such as
orientation or rotation on an ovti,os05e10 node fail make dtbs_check,
even though the companion driver parses them via
v4l2_fwnode_device_parse().

[ ... ]

> +            port {
> +                cam_out: endpoint {
> +                    remote-endpoint = <&mipi_in_cam>;

[Severity: Low]
Can the cam_out label be dropped from this example?  It is never
referenced with &cam_out, which triggers an unused-labels warning in
scripts/dtc/dt-check-style strict mode.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204132832.130979-1-bhavin.sharma@siliconsignals.io?part=1

  reply	other threads:[~2026-12-04 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 13:28 [PATCH v2 0/2] media: i2c: Add os05e10 camera sensor driver Bhavin Sharma
2026-12-04 13:28 ` [PATCH v2 1/2] dt-bindings: media: i2c: Add os05e10 sensor Bhavin Sharma
2026-12-04 13:41   ` sashiko-bot [this message]
2026-12-04 13:28 ` [PATCH v2 2/2] media: i2c: add os05e10 image sensor driver Bhavin Sharma
2026-12-04 13:57   ` 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=sashiko-outbox-249886@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bhavin.sharma@siliconsignals.io \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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