Re: [PATCH] arm64: defconfig: Enable Pwrctrl and Pwrseq drivers for PCI
From: Dmitry Baryshkov
Date: Tue Mar 24 2026 - 19:18:05 EST
On Tue, Mar 24, 2026 at 01:09:31PM +0530, Manivannan Sadhasivam wrote:
> PWRCTRL_GENERIC driver handles the power supply to the PCI slots and simple
> endpoint devices and POWER_SEQUENCING_PCIE_M2 handles the power supply to
> the PCIe M.2 connectors.
... which is required for a wide variety of ARM64 hardware, starting
from X Elite laptops...
With something like that in place:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
> ---
>
> Note that CONFIG_PCI_PWRCTRL_SLOT is renamed to CONFIG_PCI_PWRCTRL_GENERIC in
> pci tree. But I presume no conflict since the PCI controller drivers themselves
> select this symbol as of now. I plan to drop those selections from controller
> drivers after v7.1-rc1.
>
> arch/arm64/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 8a5309bb2029..597e013f709d 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -259,6 +259,8 @@ CONFIG_PCIE_LAYERSCAPE_GEN4=y
> CONFIG_PCI_ENDPOINT=y
> CONFIG_PCI_ENDPOINT_CONFIGFS=y
> CONFIG_PCI_EPF_TEST=m
> +CONFIG_PCI_PWRCTRL_GENERIC=m
> +CONFIG_POWER_SEQUENCING_PCIE_M2=m
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
> CONFIG_FW_LOADER_USER_HELPER=y
> --
> 2.51.0
>
--
With best wishes
Dmitry