Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hermes Wu" <Hermes.wu@ite.com.tw>
Cc: conor+dt@kernel.org, media-ci@linuxtv.org,
	devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v9 1/2] dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge
Date: Thu, 30 Jul 2026 07:04:12 +0000	[thread overview]
Message-ID: <20260730070412.C033E1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260730-upstream-it6625-it6626-v9-1-e7725db2b92f@ite.com.tw>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The schema permits `bus-type = <1>` (C-PHY) for the `ite,it6625` compatible, despite the hardware only supporting D-PHY.
--

--- Patch [1]: [PATCH v9 1/2] dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge ---
commit f6d61ed9f4634ce06509b6b075bb232fb04aed05
Author: Hermes Wu <Hermes.wu@ite.com.tw>

dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge

This commit adds the device tree binding schema for the ITE IT6625 and IT6626 
HDMI to MIPI CSI-2 bridges. It documents the supported properties, including
the required I2C configuration, power supplies, and port endpoints for CSI-2
outputs and HDMI input.

> diff --git a/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml b/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml
> new file mode 100644
> index 0000000000000..756fe655f534f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml

[ ... ]

> +allOf:
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: ite,it6626

[Severity: Low]
Does omitting an if block for ite,it6625 here permit invalid device trees to
pass validation?

Without a constraint for ite,it6625, it appears a configuration specifying 
bus-type = <1> (C-PHY) would silently pass schema validation, despite the
hardware only supporting D-PHY.

> +    then:
> +      properties:
> +        ports:
> +          properties:
> +            port@0:
> +              properties:
> +                endpoint:
> +                  required:
> +                    - bus-type

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260730-upstream-it6625-it6626-v9-0-e7725db2b92f@ite.com.tw?part=1

  reply	other threads:[~2026-07-30  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-30  6:55 [PATCH v9 0/2] media: i2c: add support for ITE IT6625/IT6626 HDMI to MIPI CSI-2 bridge Hermes Wu via B4 Relay
2026-07-30  6:55 ` [PATCH v9 1/2] dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge Hermes Wu via B4 Relay
2026-07-30  7:04   ` sashiko-bot [this message]
2026-07-30  6:55 ` [PATCH v9 2/2] media: i2c: add driver for ITE IT6625/IT6626 Hermes Wu via B4 Relay
2026-07-30  7:13   ` 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=20260730070412.C033E1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Hermes.wu@ite.com.tw \
    --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