From: sashiko-bot@kernel.org
To: "Aurelien Jarno" <aurelien@aurel32.net>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v5 2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board
Date: Mon, 28 Sep 2026 21:02:16 +0000 [thread overview]
Message-ID: <20260928210216.7DCB41F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260928205012.3689405-3-aurelien@aurel32.net>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing required phys properties in usb3b and usb3c nodes
--
commit 89b216baa5d6be0e4a7be800d568bba679087495
Author: Aurelien Jarno <aurelien@aurel32.net>
riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board
This commit adds the USB3 controller nodes (B and C) to the SpacemiT K3 SoC
device tree. It also enables them and adds the corresponding USB2 PHY nodes
for the Pico-ITX board.
> diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
> index 1af47b7f1c8af..cf1c8b572c86b 100644
> --- a/arch/riscv/boot/dts/spacemit/k3.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
[ ... ]
> @@ -441,6 +441,66 @@ soc: soc {
> dma-noncoherent;
> ranges;
>
> + usb3b: usb@81400000 {
> + compatible = "spacemit,k3-dwc3";
> + reg = <0x0 0x81400000 0x0 0x10000>;
> + interrupts = <125 IRQ_TYPE_LEVEL_HIGH>;
[Severity: Low]
Does omitting the phys and phy-names properties here cause a devicetree
validation regression?
The SoC devicetree fails dtbs_check validation against the binding schema
(spacemit,k1-dwc3.yaml), which unconditionally requires the phys and
phy-names properties.
Should this node define its hardwired connection to usb3b_u2phy via the
phys and phy-names properties here, instead of omitting these SoC-internal
hardwired connections from k3.dtsi and forcing downstream boards to
redundantly define the SoC hardware topology?
> + interrupt-parent = <&saplic>;
> + clocks = <&syscon_apmu CLK_APMU_USB3_PORTB_BUS>;
[ ... ]
> + usb3c: usb@81700000 {
> + compatible = "spacemit,k3-dwc3";
> + reg = <0x0 0x81700000 0x0 0x10000>;
> + interrupts = <148 IRQ_TYPE_LEVEL_HIGH>;
[Severity: Low]
Similarly, does this node also need to define its hardwired connection to
usb3c_u2phy via the phys and phy-names properties to avoid the same schema
validation regression?
> + interrupt-parent = <&saplic>;
> + clocks = <&syscon_apmu CLK_APMU_USB3_PORTC_BUS>;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260928205012.3689405-1-aurelien@aurel32.net?part=2
next prev parent reply other threads:[~2026-09-28 21:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260928205012.3689405-1-aurelien@aurel32.net>
2026-09-28 20:49 ` [PATCH v5 1/5] riscv: dts: spacemit: k3: move USB3 phy to board level Aurelien Jarno
2026-09-28 20:49 ` [PATCH v5 2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board Aurelien Jarno
2026-09-28 21:02 ` sashiko-bot [this message]
2026-09-28 21:10 ` Aurelien Jarno
2026-09-28 20:49 ` [PATCH v5 3/5] riscv: dts: spacemit: k3: add rfkill node for Bluetooth on " Aurelien Jarno
2026-09-28 20:49 ` [PATCH v5 4/5] riscv: dts: spacemit: k3: add rfkill node for WLAN on the K3 " Aurelien Jarno
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=20260928210216.7DCB41F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=aurelien@aurel32.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.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