[PATCH] riscv: dts: spacemit: drop unnecessary power supply from PCIe
Anand Moon
linux.amoon at gmail.com
Wed May 13 01:24:05 PDT 2026
Hi Yixun,
On Wed, 13 May 2026 at 09:06, Yixun Lan <dlan at kernel.org> wrote:
>
> The PCIe Root Complex found on the SpacemiT K1 SoC does not require
> external power supply, this match with the dt-binding documentation[1],
> Instead it's the sub node of PCIe ports which should add vpcie3v3 power
> supply. So, explicitly remove "vpcie3v3-supply" property from the PCIe
> controller.
>
> Link: https://lore.kernel.org/all/20251113214540.2623070-4-elder@riscstar.com/ [1]
> Signed-off-by: Yixun Lan <dlan at kernel.org>
> ---
> The problem was introduced at the time of PCIe DTS first committed to
> kernel, the vpcie3v3-supply should be added to PCIe ports instead of PCIe
> RC node.
>
> Refer the example dts of Documentation/devicetree/bindings/pci/spacemit,k1-pcie-host.yaml
>
> I'm not adding the Fixes tag, as this doesn't cause any severe bug, thus
> not necessary to do the back port..
The vpcie3v3-supply is required for PCIe operation.
However, according to the device tree binding, vpcie3v3-supply is defined
as a required property of the PHY. To align with this binding, the supply should
be moved to the PHY node, and the PHY driver should be updated to handle
enabling and disabling of vpcie3v3-supply.
Thanks
-Anand
> ---
> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 --
> arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> index e20daa50a152..c70081856606 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> @@ -316,7 +316,6 @@ &pcie1_port {
> };
>
> &pcie1 {
> - vpcie3v3-supply = <&pcie_vcc_3v3>;
> status = "okay";
> };
>
> @@ -332,7 +331,6 @@ &pcie2_port {
> };
>
> &pcie2 {
> - vpcie3v3-supply = <&pcie_vcc_3v3>;
> status = "okay";
> };
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
> index afaad59e6bce..7e5915023eaa 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
> @@ -313,7 +313,6 @@ &pcie1_port {
> };
>
> &pcie1 {
> - vpcie3v3-supply = <&pcie_vcc_3v3>;
> status = "okay";
> };
>
> @@ -329,7 +328,6 @@ &pcie2_port {
> };
>
> &pcie2 {
> - vpcie3v3-supply = <&pcie_vcc_3v3>;
> status = "okay";
> };
>
>
> ---
> base-commit: f068b204555ad62d6a841a49feb4ea8c4f45b25c
> change-id: 20260512-k1-pcie-fix-supply-d12f6d50d8d4
>
> Best regards,
> --
> Yixun Lan <dlan at kernel.org>
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
More information about the linux-riscv
mailing list