summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2017-06-15 11:53:17 +0200
committerSudeep Holla <sudeep.holla@arm.com>2018-02-28 17:37:57 +0100
commitb23688aefb8b2c5dd024c172f3143e8a99d2cf17 (patch)
tree4e2d615a0beb53e673a05fe337c5936f39421eca /drivers/hwmon/Kconfig
parenthwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration (diff)
downloadlinux-b23688aefb8b2c5dd024c172f3143e8a99d2cf17.tar.xz
linux-b23688aefb8b2c5dd024c172f3143e8a99d2cf17.zip
hwmon: add support for sensors exported via ARM SCMI
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Management Interface (SCMI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the hwmon sysfs interface. Cc: linux-hwmon@vger.kernel.org Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index ef23553ff5cb..033e57366d56 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -317,6 +317,18 @@ config SENSORS_APPLESMC
Say Y here if you have an applicable laptop and want to experience
the awesome power of applesmc.
+config SENSORS_ARM_SCMI
+ tristate "ARM SCMI Sensors"
+ depends on ARM_SCMI_PROTOCOL
+ depends on THERMAL || !THERMAL_OF
+ help
+ This driver provides support for temperature, voltage, current
+ and power sensors available on SCMI based platforms. The actual
+ number and type of sensors exported depend on the platform.
+
+ This driver can also be built as a module. If so, the module
+ will be called scmi-hwmon.
+
config SENSORS_ARM_SCPI
tristate "ARM SCPI Sensors"
depends on ARM_SCPI_PROTOCOL