audk/ArmPkg/Drivers/ArmScmiDxe
Jeff Brasen 559a07d84e 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>
2018-12-21 18:30:46 +01:00
..
ArmScmiBaseProtocolPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ArmScmiClockProtocolPrivate.h ArmPkg/ArmScmiDxe: Add clock enable function 2018-12-21 18:30:46 +01:00
ArmScmiDxe.inf ArmPkg/ArmScmiDxe: Add clock enable function 2018-12-21 18:30:46 +01:00
ArmScmiPerformanceProtocolPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
Scmi.c ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiBaseProtocol.c ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ScmiClockProtocol.c ArmPkg/ArmScmiDxe: Add clock enable function 2018-12-21 18:30:46 +01:00
ScmiDxe.c ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiDxe.h ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiPerformanceProtocol.c ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ScmiPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00