From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Ni Subject: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90 Date: Mon, 9 Sep 2013 18:29:12 +0800 Message-ID: <1378722552-10357-3-git-send-email-wni@nvidia.com> References: <1378722552-10357-1-git-send-email-wni@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1378722552-10357-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org, linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org, lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Wei Ni List-Id: linux-tegra@vger.kernel.org Add OF document for LM90 in Documentation/devicetree/. Signed-off-by: Wei Ni --- Documentation/devicetree/bindings/hwmon/lm90.txt | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/lm90.txt diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt new file mode 100644 index 0000000..5570875 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt @@ -0,0 +1,44 @@ +* LM90 series thermometer. + +Required node properties: +- compatible: manufacture and chip name, one of + ",adm1032" + ",adt7461" + ",adt7461a" + ",g781" + ",lm90" + ",lm86" + ",lm89" + ",lm99" + ",max6646" + ",max6647" + ",max6649" + ",max6657" + ",max6658" + ",max6659" + ",max6680" + ",max6681" + ",max6695" + ",max6696" + ",nct1008" + ",w83l771" + ",sa56004" + +- reg: I2C bus address of the device + +Optional properties: +- vcc-supply: vcc regulator for the supply voltage. + If this is not set, assuming vdd is always powered. +- interrupts: Contains a single interrupt specifier which describes the + LM90 pin6 output. + See interrupt-controller/interrupts.txt for the format. + +Example LM90 node: + +temp-sensor { + compatible = "onnn,nct1008"; + reg = <0x4c>; + vcc-supply = <&palmas_ldo6_reg>; + interrupt-parent = <&gpio>; + interrupts = ; +} -- 1.7.9.5