Re: [PATCH 3/3] lm90: register with thermal zones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, Jan 21, 2016 at 08:34:37PM +0100, Stéphan Kochen wrote:
> Any lm90-driven node in the device tree can now be referenced in thermal
> zones. One thermal zone device is registered for each sensor present.
> 
> Signed-off-by: Stéphan Kochen <stephan@xxxxxxxxx>
> ---
>  Documentation/devicetree/bindings/hwmon/lm90.txt |  8 ++++
>  drivers/hwmon/lm90.c                             | 54 ++++++++++++++++++++++++
>  2 files changed, 62 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/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:
>  
>  - vcc-supply: vcc regulator for the supply voltage.
>  
> +- #thermal-sensor-cells: Should be 1. See ../../thermal/thermal.txt for a
> +                         description of this property. Use the following
> +                         values to refer to a specific sensor:
> +                         0: chip internal sensor
> +                         1: external sensor
> +                         2: second external sensor, if present

>From my read of an LM90 datasheet, there is only an onchip sensor and a 
single external one.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux