summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2015-05-21 15:08:45 +0100
committerSudeep Holla <sudeep.holla@arm.com>2015-10-09 11:05:52 +0100
commitea98b29a05e9c70dbe159cbc6254d111059a2bb9 (patch)
tree92303c920a7515ebdee52bd89453cf939a7bb105 /Documentation/hwmon
parent38a1bdc9ff9f6c8cfad228eac5c1ce31ce038b25 (diff)
downloadlinux-stable-ea98b29a05e9c70dbe159cbc6254d111059a2bb9.tar.gz
linux-stable-ea98b29a05e9c70dbe159cbc6254d111059a2bb9.tar.bz2
linux-stable-ea98b29a05e9c70dbe159cbc6254d111059a2bb9.zip
hwmon: Support sensors exported via ARM SCP interface
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Power Interface (SCPI). 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. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Cc: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/scpi-hwmon33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/hwmon/scpi-hwmon b/Documentation/hwmon/scpi-hwmon
new file mode 100644
index 000000000000..4cfcdf2d5eab
--- /dev/null
+++ b/Documentation/hwmon/scpi-hwmon
@@ -0,0 +1,33 @@
+Kernel driver scpi-hwmon
+========================
+
+Supported chips:
+ * Chips based on ARM System Control Processor Interface
+ Addresses scanned: -
+ Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html
+
+Author: Punit Agrawal <punit.agrawal@arm.com>
+
+Description
+-----------
+
+This driver supports hardware monitoring for SoC's based on the ARM
+System Control Processor (SCP) implementing the System Control
+Processor Interface (SCPI). The following sensor types are supported
+by the SCP -
+
+ * temperature
+ * voltage
+ * current
+ * power
+
+The SCP interface provides an API to query the available sensors and
+their values which are then exported to userspace by this driver.
+
+Usage Notes
+-----------
+
+The driver relies on device tree node to indicate the presence of SCPI
+support in the kernel. See
+Documentation/devicetree/bindings/arm/arm,scpi.txt for details of the
+devicetree node. \ No newline at end of file