summaryrefslogtreecommitdiff
path: root/drivers/powercap/Makefile
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-10-13 18:46:12 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-10-25 18:53:15 +0200
commitb55eef5226b71edf5422de246bc189da1fdc9000 (patch)
tree5917d674a099454f13e688c85b9fc220fd9223a4 /drivers/powercap/Makefile
parent247f34f7b80357943234f93f247a1ae6b6c3a740 (diff)
powercap: arm_scmi: Add SCMI Powercap based driver
Add a powercap driver that, using the ARM SCMI Protocol to query the SCMI platform firmware for the list of existing Powercap domains, registers all of such discovered domains under the new 'arm-scmi' powercap control type. A new simple powercap zone and constraint is registered for all the SCMI powercap zones that are found. Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap/Makefile')
-rw-r--r--drivers/powercap/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/powercap/Makefile b/drivers/powercap/Makefile
index 494617cdad88..4474201b4aa7 100644
--- a/drivers/powercap/Makefile
+++ b/drivers/powercap/Makefile
@@ -6,3 +6,4 @@ obj-$(CONFIG_POWERCAP) += powercap_sys.o
obj-$(CONFIG_INTEL_RAPL_CORE) += intel_rapl_common.o
obj-$(CONFIG_INTEL_RAPL) += intel_rapl_msr.o
obj-$(CONFIG_IDLE_INJECT) += idle_inject.o
+obj-$(CONFIG_ARM_SCMI_POWERCAP) += arm_scmi_powercap.o