Documentation: dtb: xgene: Add hwmon dts binding documentation
authorhotran <hotran@apm.com>
Thu, 21 Jul 2016 20:55:55 +0000 (13:55 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 21 Jul 2016 21:58:57 +0000 (14:58 -0700)
This patch adds the APM X-Gene hwmon device tree node documentation.

Signed-off-by: Hoan Tran <hotran@apm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
new file mode 100644 (file)
index 0000000..59b3855
--- /dev/null
@@ -0,0 +1,14 @@
+APM X-Gene hwmon driver
+
+APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox.
+
+Required properties :
+ - compatible : should be "apm,xgene-slimpro-hwmon"
+ - mboxes : use the label reference for the mailbox as the first parameter.
+           The second parameter is the channel number.
+
+Example :
+       hwmonslimpro {
+               compatible = "apm,xgene-slimpro-hwmon";
+               mboxes = <&mailbox 7>;
+       };