summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf
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/Drivers/ArmScmiDxe/ArmScmiDxe.inf
parent9bba10eb4336ac517f9d4c6665f075c3928478cd (diff)
downloadedk2-559a07d84e5af3db09ae91844e4cb924b8f60668.tar.gz
edk2-559a07d84e5af3db09ae91844e4cb924b8f60668.tar.bz2
edk2-559a07d84e5af3db09ae91844e4cb924b8f60668.zip
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/Drivers/ArmScmiDxe/ArmScmiDxe.inf')
-rw-r--r--ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf b/ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf
index 05ce9c04ce..9b29b9f9f3 100644
--- a/ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf
+++ b/ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf
@@ -46,6 +46,7 @@
[Protocols]
gArmScmiBaseProtocolGuid
gArmScmiClockProtocolGuid
+ gArmScmiClock2ProtocolGuid
gArmScmiPerformanceProtocolGuid
[Depex]