Re: [PATCH v1 1/3] arm64: defconfig: enable PCI Power Control for PCIe3
From: Wenbin Yao (Consultant) <hidden>
Date: 2025-03-26 02:24:55
Also in:
linux-arm-msm, linux-devicetree, lkml
On 3/24/2025 3:38 PM, Krzysztof Kozlowski wrote:
On 24/03/2025 08:09, Wenbin Yao (Consultant) wrote:quoted
On 3/21/2025 5:43 PM, Bartosz Golaszewski wrote:quoted
On Fri, Mar 21, 2025 at 8:37 AM Krzysztof Kozlowski [off-list ref] wrote:quoted
On 20/03/2025 06:55, Wenbin Yao wrote:quoted
From: Qiang Yu <redacted> 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 x8 PCI slots on the X1E80100 - QCP can be correctly turned on/off if they are described under PCIe port device tree node. Signed-off-by: Qiang Yu <redacted> Signed-off-by: Wenbin Yao <redacted> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 85ec2fba1..de86d1121 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig@@ -245,6 +245,7 @@ CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=m +CONFIG_PCI_PWRCTL_SLOT=yBartosz, Wasn't the intention to select it the same way as PCI_PWRCTL_PWRSEQ is selected? Best regards, KrzysztofFor sure. I would expect there to be something like: select PCI_PWRCTL_SLOT if ARCH_QCOM in Kconfig and nothing in defconfig. BartoszIIUC, pci slot power driver is a common driver that could be used by all DT based platform.You are not responding to the raised problem.
There is a slight difference between PCI_PWRCTL_SLOT and PCI_PWRCTL_PWRSEQ. PCI_PWRCTL_PWRSEQ is selected by ath11k/ath12k, but PCI_PWRCTL_SLOT has no specific endpoint device driver to select it. Could PCI_PWRCTL_SLOT be selected along with HAVE_PWRCTL when ARCH_QCOM is enabled? Or can we add select PCI_PWRCTL_SLOT if HAVE_PWRCTL in the Kconfig of portdrv?
Best regards, Krzysztof
-- With best wishes Wenbin