Lines Matching +full:temperature +full:- +full:mode
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Guenter Roeck <linux@roeck-us.net>
14 The NCT7802Y is a hardware monitor IC which supports one on-die and up to
15 5 remote temperature sensors with SMBus interface.
18 https://www.nuvoton.com/export/resource-files/Nuvoton_NCT7802Y_Datasheet_V12.pdf
25 - nuvoton,nct7802
30 "#address-cells":
33 "#size-cells":
37 "^channel@[0-3]$":
45 - enum:
46 - 0 # Local Temperature Sensor ("LTD")
47 - 1 # Remote Temperature Sensor or Voltage Sensor 1 ("RTD1")
48 - 2 # Remote Temperature Sensor or Voltage Sensor 2 ("RTD2")
49 - 3 # Remote Temperature Sensor or Voltage Sensor 3 ("RTD3")
51 sensor-type:
53 - enum:
54 - temperature
55 - voltage
57 temperature-mode:
59 - enum:
60 - thermistor
61 - thermal-diode
64 - reg
67 # For channels RTD1, RTD2 and RTD3, require sensor-type to be set.
68 # Otherwise (for all other channels), do not allow temperature-mode to be
70 - if:
74 - enum:
75 - 1
76 - 2
77 - 3
80 - sensor-type
84 - sensor-type
86 # For channels RTD1 and RTD2 and if sensor-type is "temperature", require
87 # temperature-mode to be set. Otherwise (for all other channels or
88 # sensor-type settings), do not allow temperature-mode to be set
89 - if:
93 - enum:
94 - 1
95 - 2
96 sensor-type:
98 - enum:
99 - temperature
102 - temperature-mode
106 - temperature-mode
109 - compatible
110 - reg
113 - |
115 #address-cells = <1>;
116 #size-cells = <0>;
122 #address-cells = <1>;
123 #size-cells = <0>;
131 sensor-type = "voltage";
136 sensor-type = "temperature";
137 temperature-mode = "thermal-diode";
142 sensor-type = "temperature";