firmware: arm_scmi: Add support to enumerated SCMI voltage domain device
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 19 Nov 2020 19:10:48 +0000 (19:10 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 20 Nov 2020 14:55:48 +0000 (14:55 +0000)
Add SCMI voltage domain device name to the core list of supported protocol
devices so that it can be enumerated if the firmware supports it.

Link: https://lore.kernel.org/r/20201119191051.46363-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 ada35e63feae53c44a99cca2b06bb7e3d934062f..5392e1fc6b4ef0667f3230234c14f1d1f5640c04 100644 (file)
@@ -743,6 +743,7 @@ static struct scmi_prot_devnames devnames[] = {
        { SCMI_PROTOCOL_CLOCK,  { "clocks" },},
        { SCMI_PROTOCOL_SENSOR, { "hwmon" },},
        { SCMI_PROTOCOL_RESET,  { "reset" },},
+       { SCMI_PROTOCOL_VOLTAGE,  { "regulator" },},
 };
 
 static inline void