From: Sean Anderson <sean.anderson@linux.dev>
To: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de
Cc: Simon Glass <sjg@chromium.org>,
Peter Robinson <pbrobinson@gmail.com>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Sean Anderson <sean.anderson@linux.dev>
Subject: [PATCH v3 0/3] PCI: Add power sequencing driver for PCI slots
Date: Mon, 12 Jan 2026 20:20:34 -0500 [thread overview]
Message-ID: <20260113012037.2566942-1-sean.anderson@linux.dev> (raw)
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
next reply other threads:[~2026-01-13 1:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 1:20 Sean Anderson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260113012037.2566942-1-sean.anderson@linux.dev \
--to=sean.anderson@linux.dev \
--cc=marek.vasut+renesas@mailbox.org \
--cc=pbrobinson@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox