public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [edk2-platforms][PATCH v2 0/5] Add IPMI SSIF support
@ 2024-08-07  6:47 Nhi Pham via groups.io
  2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 1/5] AmpereAltraPkg/DwI2cLib: Add support for SMBUS+PEC operation Nhi Pham via groups.io
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Nhi Pham via groups.io @ 2024-08-07  6:47 UTC (permalink / raw)
  To: devel; +Cc: quic_llindhol, chuong, rebecca, nhi

This updates the I2C library and implements SMBUS PEI/DXE drivers to
support IPMI SSIF in the Mt. Jade platform.

v2:
- Refine the changes of the DwI2cLib per Leif's comments and update the
  commit message accordingly.
- Remove the additional PCD PcdBmcSlaveAddr since it's is unused.

NOTE: Regarding the controller/target terminology, the function
prototype and comment are derived from edk2/MdePkg. In this patch set, I
am trying to avoid misusing the terms in the implementation instead of
altering the function prototype and comment with the PPI and Protocol.

Nhi Pham (5):
  AmpereAltraPkg/DwI2cLib: Add support for SMBUS+PEC operation
  AmpereSiliconPkg: Define PCDs for SMBUS and BMC
  AmpereAltraPkg: Add SmbusHc PEI and DXE drivers
  JadePkg: Add PlatformBmcReadyLib to support BMC ready check
  Ampere/Jade: Enable IPMI SSIF

 Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec                        |  15 +-
 Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc                        |  23 ++
 Platform/Ampere/JadePkg/Jade.dsc                                            |   2 +
 Platform/Ampere/JadePkg/Jade.fdf                                            |  17 ++
 Platform/Ampere/JadePkg/Library/PlatformBmcReadyLib/PlatformBmcReadyLib.inf |  29 ++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.inf                |  43 +++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.inf                |  43 +++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcCommon.h               |  95 +++++++
 Silicon/Ampere/AmpereAltraPkg/Include/Library/I2cLib.h                      |  11 +-
 Platform/Ampere/JadePkg/Library/PCF85063RealTimeClockLib/PCF85063.c         |   6 +-
 Platform/Ampere/JadePkg/Library/PlatformBmcReadyLib/PlatformBmcReadyLib.c   |  30 +++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcCommon.c               | 261 ++++++++++++++++++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.c                  | 277 ++++++++++++++++++++
 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.c                  | 263 +++++++++++++++++++
 Silicon/Ampere/AmpereAltraPkg/Library/DwI2cLib/DwI2cLib.c                   | 129 ++++++++-
 15 files changed, 1227 insertions(+), 17 deletions(-)
 create mode 100755 Platform/Ampere/JadePkg/Library/PlatformBmcReadyLib/PlatformBmcReadyLib.inf
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.inf
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.inf
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcCommon.h
 create mode 100644 Platform/Ampere/JadePkg/Library/PlatformBmcReadyLib/PlatformBmcReadyLib.c
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcCommon.c
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.c
 create mode 100644 Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.c

-- 
2.25.1



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



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

end of thread, other threads:[~2024-09-03 18:03 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07  6:47 [edk2-devel] [edk2-platforms][PATCH v2 0/5] Add IPMI SSIF support Nhi Pham via groups.io
2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 1/5] AmpereAltraPkg/DwI2cLib: Add support for SMBUS+PEC operation Nhi Pham via groups.io
2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 2/5] AmpereSiliconPkg: Define PCDs for SMBUS and BMC Nhi Pham via groups.io
2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 3/5] AmpereAltraPkg: Add SmbusHc PEI and DXE drivers Nhi Pham via groups.io
2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 4/5] JadePkg: Add PlatformBmcReadyLib to support BMC ready check Nhi Pham via groups.io
2024-08-07  6:47 ` [edk2-devel] [edk2-platforms][PATCH v2 5/5] Ampere/Jade: Enable IPMI SSIF Nhi Pham via groups.io
2024-08-07  7:16 ` [edk2-devel] [edk2-platforms][PATCH v2 0/5] Add IPMI SSIF support Chang, Abner via groups.io
2024-08-07  7:35   ` Nhi Pham via groups.io
2024-08-09  2:44     ` Chang, Abner via groups.io
2024-08-09  3:05       ` Nhi Pham via groups.io
2024-08-09  4:34         ` Chang, Abner via groups.io
2024-08-07 10:23   ` Leif Lindholm
2024-08-07 10:45     ` Chang, Abner via groups.io
2024-08-07 10:56       ` Leif Lindholm
2024-08-07 10:59         ` Chang, Abner via groups.io
2024-08-08  3:06 ` Nhi Pham via groups.io
     [not found] ` <17E9A1ED2D454E7A.19172@groups.io>
2024-08-13  4:16   ` Nhi Pham via groups.io
2024-08-29  5:55 ` Chuong Tran
2024-08-29  7:11   ` Nhi Pham 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