From: sashiko-bot@kernel.org
To: "Andre Heider" <a.heider@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
krzk+dt@kernel.org
Subject: Re: [PATCH v2 5/6] riscv: dts: spacemit: k1-musepi-pro: enable PCIe ports
Date: Tue, 12 May 2026 04:02:35 +0000 [thread overview]
Message-ID: <20260512040236.96F46C2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260511111116.1109643-6-a.heider@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The `vpcie3v3-supply` property is incorrectly assigned to the top-level PCIe host controller nodes (`&pcie1` and `&pcie2`), which will cause a `dtbs_check` schema validation failure.
- [Low] Grammar and phrasing errors in the commit message.
--
commit 2a8e8221b4fb4ddc072a4a8a753e3e9b7e8f1d06
Author: Andre Heider <a.heider@gmail.com>
riscv: dts: spacemit: k1-musepi-pro: enable PCIe ports
This commit enables the two PCIe controllers and their PHYs for the
SpacemiT K1 MusePI Pro board. The PCIe ports are routed to the M.2 M-key
connector and the PCIe slot, and fixed regulators are provided for the
3.3V supplies.
> Enable the two PCIe controller along with and their associated PHYs. They
> are routed to the M.2 M-key connector and to the PCIe slot.
This isn't a bug, but there's a typo in the commit message. The word
"controller" should be plural, and there is an extra "and" after "with".
> diff --git a/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts b/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts
> index 9c90c2817ecb7..2d3e30f0bd806 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts
[ ... ]
> +&pcie1_phy {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pcie1_3_cfg>;
> + status = "okay";
> +};
> +
> +&pcie1_port {
> + phys = <&pcie1_phy>;
> + vpcie3v3-supply = <&pcie_vcc_3v3>;
> +};
> +
> +&pcie1 {
> + vpcie3v3-supply = <&pcie_vcc_3v3>;
Does this cause a dtbs_check schema validation failure?
According to the SpacemiT PCIe device tree binding schema, the
vpcie3v3-supply property is strictly defined under the patternProperties
for the child PCI bridge node. The top-level host controller node
specifies unevaluatedProperties: false and does not define vpcie3v3-supply.
> + status = "okay";
> +};
> +
> +&pcie2_phy {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pcie2_4_cfg>;
> + status = "okay";
> +};
> +
> +&pcie2_port {
> + phys = <&pcie2_phy>;
> + vpcie3v3-supply = <&mpcie_vcc_3v3>;
> +};
> +
> +&pcie2 {
> + vpcie3v3-supply = <&mpcie_vcc_3v3>;
Is this redundancy added to work around an existing issue in the SpacemiT
K1 PCIe driver?
The driver currently fetches the regulator from the root controller device
instead of the port node, but duplicating the property in the device tree
violates the bindings.
Should the driver be updated to parse the child node instead of duplicating
the property here in the root nodes?
> + status = "okay";
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260511111116.1109643-1-a.heider@gmail.com?part=5
next prev parent reply other threads:[~2026-05-12 4:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260511111116.1109643-1-a.heider@gmail.com>
2026-05-11 11:11 ` [PATCH v2 1/6] riscv: dts: spacemit: k1-musepi-pro: add PMIC and power infrastructure Andre Heider
2026-05-12 2:14 ` sashiko-bot
2026-05-12 11:39 ` Yixun Lan
2026-05-12 12:20 ` Andre Heider
2026-05-12 22:53 ` Yixun Lan
2026-05-11 11:11 ` [PATCH v2 2/6] riscv: dts: spacemit: k1-musepi-pro: add 24c04 eeprom Andre Heider
2026-05-12 2:18 ` sashiko-bot
2026-05-11 11:11 ` [PATCH v2 3/6] riscv: dts: spacemit: k1-musepi-pro: enable QSPI and add SPI NOR Andre Heider
2026-05-12 2:28 ` sashiko-bot
2026-05-12 6:51 ` Andre Heider
2026-05-12 11:55 ` Rob Herring
2026-05-12 12:18 ` Andre Heider
2026-05-12 11:44 ` Yixun Lan
2026-05-11 11:11 ` [PATCH v2 4/6] riscv: dts: spacemit: k1-musepi-pro: enable USB 3 ports Andre Heider
2026-05-11 11:11 ` [PATCH v2 5/6] riscv: dts: spacemit: k1-musepi-pro: enable PCIe ports Andre Heider
2026-05-12 4:02 ` sashiko-bot [this message]
2026-05-12 11:34 ` Yixun Lan
2026-05-11 11:11 ` [PATCH v2 6/6] riscv: dts: spacemit: k1-musepi-pro: set default console baud rate Andre Heider
2026-05-12 11:35 ` Yixun Lan
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=20260512040236.96F46C2BCB0@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=a.heider@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sashiko@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