mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
e531ffc0ff
commit
87d08b11b1
3 changed files with 19 additions and 0 deletions
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
|
||||
Loading…
Reference in a new issue