[PATCH v2] PCI: Add power sequencing driver for PCI slots

Simon Glass sjg at chromium.org
Thu Jan 8 18:42:25 CET 2026


Hi Sean,

On Thu, 8 Jan 2026 at 07:48, Sean Anderson <sean.anderson at linux.dev> wrote:
>
> Extend the PCI bridge driver to enable resources associated with PCI
> slots like clocks, power rails, and resets. This is modeled off of the
> PCI power control subsystem in Linux. The traditional compatible for PCI
> slots in U-Boot is pci-bridge, but Linux uses the more-systematic
> pciclass,0604 so add that as an option.
>
> Signed-off-by: Sean Anderson <sean.anderson at linux.dev>
> ---
>
> Changes in v2:
> - Return early if there's not PERST GPIO
> - Only mdelay if we need to
> - Use CONFIG_IS_ENABLED to set .probe directly
>
>  drivers/pci/Kconfig      |  8 ++++++
>  drivers/pci/pci-uclass.c | 55 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 63 insertions(+)

Reviewed-by: Simon Glass <simon.glass at canonical.com>

You should be able to add a test for this.

Regards,
Simon


More information about the U-Boot mailing list