firmware: arm_scmi: Add SCMI device for system power protocol
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 7 Sep 2020 17:46:56 +0000 (18:46 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 8 Sep 2020 15:02:17 +0000 (16:02 +0100)
Add SCMI device for system power protocol by just adding the name "syspower"
to the list of supported core protocol devices.

Link: https://lore.kernel.org/r/20200907174657.32466-3-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c

index 03ec742..dbec344 100644 (file)
@@ -730,6 +730,7 @@ struct scmi_prot_devnames {
 
 static struct scmi_prot_devnames devnames[] = {
        { SCMI_PROTOCOL_POWER,  { "genpd" },},
+       { SCMI_PROTOCOL_SYSTEM, { "syspower" },},
        { SCMI_PROTOCOL_PERF,   { "cpufreq" },},
        { SCMI_PROTOCOL_CLOCK,  { "clocks" },},
        { SCMI_PROTOCOL_SENSOR, { "hwmon" },},