public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/3] PCI: Add power sequencing driver for PCI slots
@ 2026-01-13  1:20 Sean Anderson
  2026-01-13  1:20 ` [PATCH v3 1/3] PCI: sandbox: Use a parallel structure for emulation Sean Anderson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sean Anderson @ 2026-01-13  1:20 UTC (permalink / raw)
  To: Tom Rini, u-boot; +Cc: Simon Glass, Peter Robinson, Marek Vasut, Sean Anderson

Now with tests! This took longer than I thought it would...

Changes in v3:
- Use a parallel structure for emulation
- Add PCI bridge emulation
- Add a test

Changes in v2:
- Return early if there's no PERST GPIO
- Only mdelay if we need to
- Use CONFIG_IS_ENABLED to set .probe directly

Sean Anderson (3):
  PCI: sandbox: Use a parallel structure for emulation
  PCI: sandbox: Add PCI bridge emulation
  PCI: Add power sequencing driver for PCI slots

 arch/sandbox/dts/sandbox.dtsi         |  16 ++-
 arch/sandbox/dts/test.dts             | 132 +++++++++++++----
 arch/sandbox/include/asm/test.h       |   1 +
 configs/sandbox64_defconfig           |   2 +
 configs/sandbox_defconfig             |   2 +
 doc/develop/driver-model/pci-info.rst |  59 ++------
 drivers/misc/p2sb_emul.c              |   7 +-
 drivers/misc/swap_case.c              |   7 +-
 drivers/pci/Kconfig                   |   8 ++
 drivers/pci/Makefile                  |   2 +-
 drivers/pci/pci-emul-uclass.c         |  82 ++++++++---
 drivers/pci/pci-uclass.c              |  65 +++++++++
 drivers/pci/pci_sandbox.c             |  94 +++---------
 drivers/pci/pci_sandbox_bridge.c      | 192 +++++++++++++++++++++++++
 include/pci.h                         |   5 +-
 test/dm/pci.c                         | 199 ++++++++++++++++++++++++++
 16 files changed, 694 insertions(+), 179 deletions(-)
 create mode 100644 drivers/pci/pci_sandbox_bridge.c

-- 
2.35.1.1320.gc452695387.dirty

base-commit: 141be72e2a9d43aa4e3d1a6a6e0ab8f9eb8784c6
branch: pci_pwrseq

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-13 20:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13  1:20 [PATCH v3 0/3] PCI: Add power sequencing driver for PCI slots Sean Anderson
2026-01-13  1:20 ` [PATCH v3 1/3] PCI: sandbox: Use a parallel structure for emulation Sean Anderson
2026-01-13 20:03   ` Simon Glass
2026-01-13  1:20 ` [PATCH v3 2/3] PCI: sandbox: Add PCI bridge emulation Sean Anderson
2026-01-13 20:03   ` Simon Glass
2026-01-13  1:20 ` [PATCH v3 3/3] PCI: Add power sequencing driver for PCI slots Sean Anderson
2026-01-13 20:03   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox