]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: starfive: Use regulator APIs to control the 3v3 power supply of PCIe slots
authorHal Feng <hal.feng@starfivetech.com>
Thu, 18 Dec 2025 10:21:49 +0000 (18:21 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 13 Jan 2026 14:05:34 +0000 (19:35 +0530)
commit05a75df4182e301a1b0059606f77b65c74deaa9b
tree03931e5b808ea44d76acb7438a27bd02031d4a3d
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
PCI: starfive: Use regulator APIs to control the 3v3 power supply of PCIe slots

The driver has been using the "enable-gpios" property to control the 3v3
power supply of PCIe slots. But it is not documented in the dt-bindings and
also using GPIO APIs is not a standard way to control PCIe slot power, so
use the documented "vpcie3v3-supply" property and regulator APIs to control
the slot supply.

This change will break the DTs which used "enable-gpio" or "enable-gpios"
property under the controller node. Since these properties were not defined
in the bindings, it is safe to switch to "vpcie3v3-supply". Any out-of-tree
DTS impacted by this change should migrate to "vpcie3v3-supply" instead.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Acked-by: Kevin Xie <kevin.xie@starfivetech.com>
Link: https://patch.msgid.link/20251218102149.28062-1-hal.feng@starfivetech.com
drivers/pci/controller/plda/pcie-starfive.c