From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 3/3] lm90: register with thermal zones Date: Fri, 22 Jan 2016 16:45:42 -0600 Message-ID: <20160122224542.GA26117@rob-hp-laptop> References: <1453404877-17897-1-git-send-email-stephan@kochen.nl> <1453404877-17897-4-git-send-email-stephan@kochen.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1453404877-17897-4-git-send-email-stephan-j6uo2F6POYhmR6Xm/wNWPw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?iso-8859-1?Q?St=E9phan?= Kochen Cc: Jean Delvare , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Guenter Roeck , lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, Jan 21, 2016 at 08:34:37PM +0100, St=E9phan Kochen wrote: > Any lm90-driven node in the device tree can now be referenced in ther= mal > zones. One thermal zone device is registered for each sensor present. >=20 > Signed-off-by: St=E9phan Kochen > --- > Documentation/devicetree/bindings/hwmon/lm90.txt | 8 ++++ > drivers/hwmon/lm90.c | 54 ++++++++++++++= ++++++++++ > 2 files changed, 62 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Docum= entation/devicetree/bindings/hwmon/lm90.txt > index 045e94b..da9aae7 100644 > --- a/Documentation/devicetree/bindings/hwmon/lm90.txt > +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt > @@ -28,6 +28,13 @@ Required node properties: > =20 > - vcc-supply: vcc regulator for the supply voltage. > =20 > +- #thermal-sensor-cells: Should be 1. See ../../thermal/thermal.txt = for a > + description of this property. Use the follo= wing > + values to refer to a specific sensor: > + 0: chip internal sensor > + 1: external sensor > + 2: second external sensor, if present =46rom my read of an LM90 datasheet, there is only an onchip sensor and= a=20 single external one. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html