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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/23/2025 10:34 PM, Manivannan Sadhasivam wrote:
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

PCIE_QCOM depends on PCI and (ARCH_QCOM  || COMPILE_TEST), ARCH_QCOM
selects HAVE_PWRCTRL.


--
With best wishes
Wenbin





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux