PCI: Add power sequencing driver for PCI slots
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 3 repliesIn review
- v21 patch 1 replySuperseded
- v11 patch 6 repliesSuperseded
Changes in v3 from the cover letter
- Use a parallel structure for emulation
- Add PCI bridge emulation
- Add a test
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: sandbox: Use a parallel structure for emulationarch/ arch/ doc/ +5 more | +179 | 1 reply | |
| 2/3 | PCI: sandbox: Add PCI bridge emulationarch/ arch/ drivers/ +2 more | +370 | 1 reply | |
| 3/3 | PCI: Add power sequencing driver for PCI slotsarch/ configs/ configs/ +3 more | +145 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] PCI: Add power sequencing driver for PCI slots
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
Signature · 4 lines
2.35.1.1320.gc452695387.dirty base-commit: 141be72e2a9d43aa4e3d1a6a6e0ab8f9eb8784c6 branch: pci_pwrseq