DynamicTablesPkg: Add DynamicTablesScmiInfoLib
The SCP holds some power information that could be advertised through the _CPC object. The communication with the SCP is done through SCMI protocols (c.f. ArmScmiDxe). Use the SCMI protocols to query information and feed it to the DynamicTablesPkg. Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
fc04cfd119
commit
b2c4916344
@@ -0,0 +1,31 @@
|
||||
## @file
|
||||
# Arm SCMI Info Library.
|
||||
#
|
||||
# Copyright (c) 2022 - 2023, Arm Limited. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x0001001B
|
||||
BASE_NAME = DynamicTablesScmiInfoLib
|
||||
FILE_GUID = 1A7CDB04-9FFC-40DA-A87C-A5ACADAF8136
|
||||
VERSION_STRING = 1.0
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
LIBRARY_CLASS = DynamicTablesScmiInfoLib
|
||||
CONSTRUCTOR = DynamicTablesScmiInfoLibConstructor
|
||||
|
||||
[Sources]
|
||||
DynamicTablesScmiInfoLib.c
|
||||
|
||||
[Packages]
|
||||
ArmPkg/ArmPkg.dec
|
||||
DynamicTablesPkg/DynamicTablesPkg.dec
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
[Protocols]
|
||||
gArmScmiPerformanceProtocolGuid ## CONSUMES
|
||||
|
||||
[Depex]
|
||||
gArmScmiPerformanceProtocolGuid
|
Reference in New Issue
Block a user