Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hermes Wu" <Hermes.wu@ite.com.tw>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH 1/2] dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge binding
Date: Mon, 20 Jul 2026 08:06:34 +0000	[thread overview]
Message-ID: <20260720080635.6BBBE1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260720-upstream-it6625-it6626-v1-1-475912f74459@ite.com.tw>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing schema constraint for 'bus-type' across IT6625 and IT6626 variants.
--

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

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

This commit documents the devicetree binding for the ITE IT6625 and IT6626
HDMI to MIPI CSI-2 bridge devices. It defines the required properties,
including up to two selectable CSI-2 output ports.

> diff --git a/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml b/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml
[ ... ]
> +      port@0:
[ ... ]
> +        properties:
> +          endpoint:
[ ... ]
> +            properties:
> +              data-lanes:
> +                minItems: 1
> +                maxItems: 4
> +
> +              bus-type:
> +                enum:
> +                  - 1 # MEDIA_BUS_TYPE_CSI2_CPHY
> +                  - 4 # MEDIA_BUS_TYPE_CSI2_DPHY

[Severity: Low]
The commit message mentions that IT6625 only supports D-PHY, while IT6626
supports C/D-PHY. Does this unconditional enum allow C-PHY to pass schema
validation for the IT6625? Should there be an allOf / if-then conditional
block restricting the bus-type to 4 for the ite,it6625 compatible?

Additionally, since the IT6626 can use either PHY, should bus-type be made
a required property when ite,it6626 is used to avoid ambiguous driver
configurations?

> +
> +              clock-noncontinuous: true
> +              link-frequencies: true
[ ... ]
> +      port@1:
[ ... ]
> +        properties:
> +          endpoint:
[ ... ]
> +            properties:
> +              data-lanes:
> +                minItems: 1
> +                maxItems: 4
> +
> +              bus-type:
> +                enum:
> +                  - 1 # MEDIA_BUS_TYPE_CSI2_CPHY
> +                  - 4 # MEDIA_BUS_TYPE_CSI2_DPHY

[Severity: Low]
Would the same constraints and required properties for bus-type need to be
applied here for port@1?

> +
> +              clock-noncontinuous: true
> +              link-frequencies: true
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260720-upstream-it6625-it6626-v1-0-475912f74459@ite.com.tw?part=1

  reply	other threads:[~2026-07-20  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20  7:57 [PATCH 0/2] media: i2c: add support for ITE IT6625/IT6626 HDMI to MIPI CSI-2 bridge Hermes Wu via B4 Relay
2026-07-20  7:57 ` [PATCH 1/2] dt-bindings: media: add ITE IT6625/IT6626 HDMI bridge binding Hermes Wu via B4 Relay
2026-07-20  8:06   ` sashiko-bot [this message]
2026-07-20  7:57 ` [PATCH 2/2] media: i2c: add driver for ITE IT6625/IT6626 Hermes Wu via B4 Relay
2026-07-20  8:11   ` 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=20260720080635.6BBBE1F000E9@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