From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz Fischer Subject: [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON Date: Fri, 7 Apr 2017 15:00:09 -0700 Message-ID: <1491602410-31518-2-git-send-email-moritz.fischer@ettus.com> References: <1491602410-31518-1-git-send-email-moritz.fischer@ettus.com> Return-path: In-Reply-To: <1491602410-31518-1-git-send-email-moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org, jdelvare-IBi9RG/b67k@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, Moritz Fischer List-Id: devicetree@vger.kernel.org From: Moritz Fischer 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 --- .../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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html