From 559a07d84e5af3db09ae91844e4cb924b8f60668 Mon Sep 17 00:00:00 2001 From: Jeff Brasen Date: Thu, 13 Dec 2018 16:48:44 -0700 Subject: 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 Reviewed-by: Ard Biesheuvel --- ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf | 1 + 1 file changed, 1 insertion(+) (limited to 'ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf') 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] -- cgit v1.2.3