Re: [PATCH v5 1/3] PCI: dwc: enable PCI Power Control Slot driver for QCOM

From: Manivannan Sadhasivam
Date: Wed Jul 23 2025 - 10:36:32 EST


On Tue, Jul 22, 2025 at 05:11:49PM GMT, Wenbin Yao wrote:
> From: Qiang Yu <qiang.yu@xxxxxxxxxxxxxxxx>
>
> Enable the pwrctrl driver, which is utilized to manage the power supplies
> of the devices connected to the PCI slots. This ensures that the voltage
> rails of the standard PCI slots on some platforms eg. X1E80100-QCP can be
> correctly turned on/off if they are described under PCIe port device tree
> node.
>
> Signed-off-by: Qiang Yu <qiang.yu@xxxxxxxxxxxxxxxx>
> Signed-off-by: Wenbin Yao <quic_wenbyao@xxxxxxxxxxx>
> ---
> drivers/pci/controller/dwc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
> index ff6b6d9e1..deafc512b 100644
> --- a/drivers/pci/controller/dwc/Kconfig
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -298,6 +298,7 @@ config PCIE_QCOM
> select CRC8
> select PCIE_QCOM_COMMON
> select PCI_HOST_COMMON
> + select PCI_PWRCTRL_SLOT

I guess you also need 'if HAVE_PWRCTRL'

- Mani

--
மணிவண்ணன் சதாசிவம்