Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619142

[PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON

From Moritz Fischer <moritz.fischer@ettus.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON
Date 2017-04-08 00:10 +0200
Message-ID <ttKeS-59B-13@gated-at.bofh.it> (permalink)
References <ttKeS-59B-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Moritz Fischer <mdf@kernel.org>

Add bindings for the Chromium EC HWMON. The Chromium EC HWMON
allows monitoring of temperature sensors and fans attached to the
EC.

Signed-off-by: Moritz Fischer <mdf@kernel.org>
---
 .../devicetree/bindings/hwmon/cros-ec-hwmon.txt    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/cros-ec-hwmon.txt

diff --git a/Documentation/devicetree/bindings/hwmon/cros-ec-hwmon.txt b/Documentation/devicetree/bindings/hwmon/cros-ec-hwmon.txt
new file mode 100644
index 0000000..4c94869
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/cros-ec-hwmon.txt
@@ -0,0 +1,25 @@
+Chromium Embedded Controller EC temperature and fan control
+-----------------------------------------------------------
+
+Google's Chromium EC HWMON is a hwmon implemented byimplemented by the Chromium EC
+firmware attached to the Embedded Controller (EC) and controlled via a host-command
+interface.
+
+An EC HWMON node should be only found as a sub-node of the EC node (see
+Documentation/devicetree/bindings/mfd/cros-ec.txt).
+
+Required properties:
+- compatible: Must contain "google,cros-ec-hwmon"
+
+Example:
+	embedded-controller@1e {
+		reg = <0x1e>;
+		compatible = "google,cros-ec-i2c";
+		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+		interrupt-parent = <&gpio0>;
+
+		hwmon {
+			compatible = "google,cros-ec-hwmon";
+		};
+};
+
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory Moritz Fischer <moritz.fischer@ettus.com> - 2017-04-08 00:10 +0200
  [PATCH 3/3] hwmon: cros-ec-hwmon: Add Chromium-EC HWMON driver Moritz Fischer <moritz.fischer@ettus.com> - 2017-04-08 00:10 +0200
  [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON Moritz Fischer <moritz.fischer@ettus.com> - 2017-04-08 00:10 +0200
  Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory Guenter Roeck <linux@roeck-us.net> - 2017-04-10 01:10 +0200
    Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory Moritz Fischer <mdf@kernel.org> - 2017-04-10 02:50 +0200

csiph-web