devicetree: add lm90 thermal_zone sensor support
This patch updates the LM90's devicetree definition to include the #thermal-sensor-cells property as well as the sensor constants in include/dt-bindings/thermal/lm90.h. Cc: Wei Ni <wni@nvidia.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:

committed by
Guenter Roeck

parent
e531ffc0ff
commit
87d08b11b1
12
include/dt-bindings/thermal/lm90.h
Normal file
12
include/dt-bindings/thermal/lm90.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* This header provides constants for the LM90 thermal bindings.
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_THERMAL_LM90_H_
|
||||
#define _DT_BINDINGS_THERMAL_LM90_H_
|
||||
|
||||
#define LM90_LOCAL_TEMPERATURE 0
|
||||
#define LM90_REMOTE_TEMPERATURE 1
|
||||
#define LM90_REMOTE2_TEMPERATURE 2
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user