Linux USB
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Louis-Alexis Eyraud" <louisalexis.eyraud@collabora.com>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: usb: mtu3: Add support for MT8189 SoC
Date: Wed, 02 Dec 2026 13:08:14 +0000	[thread overview]
Message-ID: <sashiko-outbox-245842@kernel.org> (raw)
In-Reply-To: <20261202-mt8189-add-usb-support-v1-1-5749ab20ec84@collabora.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: usb: mtu3: enum indented inside description block
  scalar
- [Low] dt-bindings: usb: mtu3: wakeup version 110 description refers to
  IP4 not IP0
--

commit 3a71b356bd3e7dcfca5dcbdb628d6ee96815a1c6
Author: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>

dt-bindings: usb: mtu3: Add support for MT8189 SoC

This commit adds the MT8189 SoC compatible string and wakeup glue version
110 to the MediaTek MTU3 device tree binding.

> diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
> index bfcf13acede06..69c060566e7fc 100644
> --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml
> +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml

[ ... ]

> @@ -206,7 +207,8 @@ properties:
>              107 - used by mt8196, IP0, specific 1.07;
>              108 - used by mt8196, IP1, specific 1.08;
>              109 - used by mt8196, IP2, specific 1.09;
> -            enum: [1, 2, 101, 102, 103, 105, 106, 107, 108, 109]
> +            110 - used by mt8189, IP4, specific 1.10;

[Severity: Low]
Should this description refer to IP0 (or all IPs) rather than IP4?  As
noted in the commit message, only controller 0 is behind MTU3 on MT8189.

> +            enum: [1, 2, 101, 102, 103, 105, 106, 107, 108, 109, 110]

[Severity: Low]
Is this enum indented two spaces too far?

At 12 spaces of indentation, YAML parses the enum line as part of the
preceding "description: |" literal block scalar rather than as a sibling
schema keyword at 10 spaces (as shifted in 0cde051e5465 ("dt-bindings:
usb: mtu3: add support mt8196")), so dtschema does not validate the third
cell of mediatek,syscon-wakeup against the allowed values.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-mt8189-add-usb-support-v1-0-5749ab20ec84@collabora.com?part=1

  reply	other threads:[~2026-12-02 13:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 12:55 [PATCH 0/3] Add USB support for Mediatek MT8189 SoC Louis-Alexis Eyraud
2026-12-02 12:55 ` [PATCH 1/3] dt-bindings: usb: mtu3: Add support for " Louis-Alexis Eyraud
2026-12-02 13:08   ` sashiko-bot [this message]
2026-12-02 12:55 ` [PATCH 2/3] usb: mtu3: add MT8189 remote wakeup support Louis-Alexis Eyraud
2026-12-02 12:55 ` [PATCH 3/3] usb: xhci-mtk: " Louis-Alexis Eyraud
2026-12-02 13:08 ` [PATCH 0/3] Add USB support for Mediatek MT8189 SoC 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-245842@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=louisalexis.eyraud@collabora.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