summaryrefslogtreecommitdiff
path: root/ArmPkg/ArmPkg.dec
diff options
context:
space:
mode:
authorJeff Brasen <jbrasen@nvidia.com>2018-12-13 16:48:44 -0700
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-12-21 18:30:46 +0100
commit559a07d84e5af3db09ae91844e4cb924b8f60668 (patch)
treed139bf97c59218fffd07553167c43bf2e19a0208 /ArmPkg/ArmPkg.dec
parent9bba10eb4336ac517f9d4c6665f075c3928478cd (diff)
downloadedk2-559a07d84e5af3db09ae91844e4cb924b8f60668.zip
edk2-559a07d84e5af3db09ae91844e4cb924b8f60668.tar.gz
edk2-559a07d84e5af3db09ae91844e4cb924b8f60668.tar.bz2
ArmPkg/ArmScmiDxe: Add clock enable function
Add function to allow enabling and disabling of the clock using the SCMI interface. Add gArmScmiClock2ProtocolGuid to distinguish platforms that support new API from those that just have the older protocol. SCMI_CLOCK2_PROTOCOL also adds a version parameter to allow for future changes. It is placed after the functions that are present in the existing protocol to allow SCMI_CLOCK2_PROTOCOL to be cast to SCMI_CLOCK_PROTOCOL so that only a single implementation of those function are needed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmPkg/ArmPkg.dec')
-rw-r--r--ArmPkg/ArmPkg.dec1
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec
index 0ec5e8e..473b077 100644
--- a/ArmPkg/ArmPkg.dec
+++ b/ArmPkg/ArmPkg.dec
@@ -59,6 +59,7 @@
## Arm System Control and Management Interface(SCMI) Clock management protocol
## ArmPkg/Include/Protocol/ArmScmiClockProtocol.h
gArmScmiClockProtocolGuid = { 0x91ce67a8, 0xe0aa, 0x4012, { 0xb9, 0x9f, 0xb6, 0xfc, 0xf3, 0x4, 0x8e, 0xaa } }
+ gArmScmiClock2ProtocolGuid = { 0xb8d8caf2, 0x9e94, 0x462c, { 0xa8, 0x34, 0x6c, 0x99, 0xfc, 0x05, 0xef, 0xcf } }
## Arm System Control and Management Interface(SCMI) Clock management protocol
## ArmPkg/Include/Protocol/ArmScmiPerformanceProtocol.h