summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2012-09-17 18:40:09 +0100
committerPawel Moll <pawel.moll@arm.com>2012-10-16 17:12:35 +0100
commit48ed8877244637b52aec0a114cdccd8ec26e66b1 (patch)
tree56e04096ead15bd84d1b768f2630a36c9c832a70 /Documentation/devicetree/bindings/hwmon
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
downloadlinux-3.10-48ed8877244637b52aec0a114cdccd8ec26e66b1.tar.gz
linux-3.10-48ed8877244637b52aec0a114cdccd8ec26e66b1.tar.bz2
linux-3.10-48ed8877244637b52aec0a114cdccd8ec26e66b1.zip
hwmon: Versatile Express hwmon driver
hwmon framework driver for Versatile Express sensors, providing information about board level voltage (only when regulator driver is not configured), currents, temperature and power/energy usage. Labels for the values can be defined as DT properties. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/vexpress.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/vexpress.txt b/Documentation/devicetree/bindings/hwmon/vexpress.txt
new file mode 100644
index 00000000000..9c27ed694bb
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/vexpress.txt
@@ -0,0 +1,23 @@
+Versatile Express hwmon sensors
+-------------------------------
+
+Requires node properties:
+- "compatible" value : one of
+ "arm,vexpress-volt"
+ "arm,vexpress-amp"
+ "arm,vexpress-temp"
+ "arm,vexpress-power"
+ "arm,vexpress-energy"
+- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
+ (see Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
+ for more details)
+
+Optional node properties:
+- label : string describing the monitored value
+
+Example:
+ energy@0 {
+ compatible = "arm,vexpress-energy";
+ arm,vexpress-sysreg,func = <13 0>;
+ label = "A15 Jcore";
+ };