public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/5] SPI Driver Stack
@ 2024-04-30 14:05 Chesley, Brit via groups.io
  2024-04-30 14:05 ` [edk2-devel] [PATCH 1/5] MdeModulePkg/Bus/Spi/SpiBus: Adding SpiBus Drivers Chesley, Brit via groups.io
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chesley, Brit via groups.io @ 2024-04-30 14:05 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao, Ray Ni, Abner Chang, Abdul Lateef Attar

From: Brit Chesley <brit.chesley@amd.com>

This patchset introduces the SPI driver stack as defined in the Platform
Initialization specification Volume 5 chapter 18 (DXE) and Volume 4 chapter
12 (SMM). The SPI stack decouples the SPI chip details from the SPI
controller and SPI bus configuration details to enable silicon vendors
to write drivers effectively. This patchset also introduces the
SpiHcPlatformLib, which allows for OEMs to handle low level SPI host
controller details while using the generic SPI bus/hc drivers.

https://github.com/BritChesley/edk2/tree/SpiBusStack

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>

Brit Chesley (5):
  MdeModulePkg/Bus/Spi/SpiBus: Adding SpiBus Drivers
  MdeModulePkg: Adding SpiBus Drivers
  MdeModulePkg:BaseSpiHcPlatformLib: Adding NULL lib instance
  MdeModulePkg: SpiHc: SpiHc Drivers
  MdeModulePkg: Adding SpiHc Drivers

 MdeModulePkg/MdeModulePkg.dec                 |   5 +
 MdeModulePkg/MdeModulePkg.dsc                 |   5 +
 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.inf     |  42 ++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.inf     |  42 ++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.inf       |  46 ++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.inf       |  44 ++
 .../BaseSpiHcPlatformLibNull.inf              |  35 ++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.h          | 167 +++++++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.h            | 111 +++++
 .../Include/Library/SpiHcPlatformLib.h        | 148 ++++++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.c          | 433 ++++++++++++++++++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.c       | 198 ++++++++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.c       | 162 +++++++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.c            | 115 +++++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.c         | 101 ++++
 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.c         |  79 ++++
 .../BaseSpiHcPlatformLibNull.c                | 145 ++++++
 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.uni        |  10 +
 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.uni          |  10 +
 .../BaseSpiHcPlatformLibNull.uni              |  11 +
 20 files changed, 1909 insertions(+)
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.inf
 create mode 100644 MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.inf
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.h
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.h
 create mode 100644 MdeModulePkg/Include/Library/SpiHcPlatformLib.h
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusDxe.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBusSmm.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcDxe.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHcSmm.c
 create mode 100644 MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.c
 create mode 100644 MdeModulePkg/Bus/Spi/SpiBus/SpiBus.uni
 create mode 100644 MdeModulePkg/Bus/Spi/SpiHc/SpiHc.uni
 create mode 100644 MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.uni

-- 
2.42.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118439): https://edk2.groups.io/g/devel/message/118439
Mute This Topic: https://groups.io/mt/105821487/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



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

end of thread, other threads:[~2024-05-01  9:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 14:05 [edk2-devel] [PATCH 0/5] SPI Driver Stack Chesley, Brit via groups.io
2024-04-30 14:05 ` [edk2-devel] [PATCH 1/5] MdeModulePkg/Bus/Spi/SpiBus: Adding SpiBus Drivers Chesley, Brit via groups.io
2024-04-30 14:05 ` [edk2-devel] [PATCH 2/5] MdeModulePkg: " Chesley, Brit via groups.io
2024-04-30 14:05 ` [edk2-devel] [PATCH 3/5] MdeModulePkg:BaseSpiHcPlatformLib: Adding NULL lib instance Chesley, Brit via groups.io
2024-04-30 14:05 ` [edk2-devel] [PATCH 4/5] MdeModulePkg: SpiHc: SpiHc Drivers Chesley, Brit via groups.io
2024-04-30 14:05 ` [edk2-devel] [PATCH 5/5] MdeModulePkg: Adding " Chesley, Brit via groups.io
2024-05-01  9:46 ` [edk2-devel] [PATCH 0/5] SPI Driver Stack Chang, Abner via groups.io

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