diff options
Diffstat (limited to 'zephyr/include/cros/thermistor/thermistor.dtsi')
-rw-r--r-- | zephyr/include/cros/thermistor/thermistor.dtsi | 91 |
1 files changed, 86 insertions, 5 deletions
diff --git a/zephyr/include/cros/thermistor/thermistor.dtsi b/zephyr/include/cros/thermistor/thermistor.dtsi index 033d5639e2..fb86c4f79a 100644 --- a/zephyr/include/cros/thermistor/thermistor.dtsi +++ b/zephyr/include/cros/thermistor/thermistor.dtsi @@ -1,5 +1,5 @@ / { - thermistor_3V3_30K9_47K_4050B: thermistor-3V3-30K9-47K-4050B { + /omit-if-no-ref/ thermistor_3V3_30K9_47K_4050B: thermistor-3V3-30K9-47K-4050B { status = "disabled"; compatible = "cros-ec,thermistor"; scaling-factor = <11>; @@ -64,8 +64,7 @@ }; }; - - thermistor_3V0_22K6_47K_4050B: thermistor-3V0-22K6-47K-4050B { + /omit-if-no-ref/ thermistor_3V0_22K6_47K_4050B: thermistor-3V0-22K6-47K-4050B { status = "disabled"; compatible = "cros-ec,thermistor"; scaling-factor = <11>; @@ -145,7 +144,7 @@ }; }; - thermistor_3V3_13K7_47K_4050B: thermistor-3V3-13K7-47K-4050B { + /omit-if-no-ref/ thermistor_3V3_13K7_47K_4050B: thermistor-3V3-13K7-47K-4050B { status = "disabled"; compatible = "cros-ec,thermistor"; scaling-factor = <13>; @@ -226,7 +225,7 @@ }; - thermistor_3V3_51K1_47K_4050B: thermistor-3V3-51K1-47K-4050B { + /omit-if-no-ref/ thermistor_3V3_51K1_47K_4050B: thermistor-3V3-51K1-47K-4050B { status = "disabled"; compatible = "cros-ec,thermistor"; scaling-factor = <11>; @@ -305,4 +304,86 @@ sample-index = <12>; }; }; + + /omit-if-no-ref/ thermistor_3V3_30K9_47K_NCP15WB: + thermistor-3V3-30K9-47K-NCP15WB { + status = "disabled"; + compatible = "cros-ec,thermistor"; + scaling-factor = <11>; + num-pairs = <13>; + steinhart-reference-mv = <3300>; + steinhart-reference-res = <30900>; + + /* + * Data derived from Steinhart-Hart equation in a resistor + * divider circuit with Vdd=3300mV, R = 30.9Kohm, + * and Murata NCP15WB-series thermistor + * (B = 4050, T0 = 298.15 K, nominal resistance (R0) = 47Kohm). + */ + sample-datum-0 { + milivolt = <(2761 / 11)>; + temp = <0>; + sample-index = <0>; + }; + sample-datum-1 { + milivolt = <(2492 / 11)>; + temp = <10>; + sample-index = <1>; + }; + sample-datum-2 { + milivolt = <(2167 / 11)>; + temp = <20>; + sample-index = <2>; + }; + sample-datum-3 { + milivolt = <(1812 / 11)>; + temp = <30>; + sample-index = <3>; + }; + sample-datum-4 { + milivolt = <(1462 / 11)>; + temp = <40>; + sample-index = <4>; + }; + sample-datum-5 { + milivolt = <(1146 / 11)>; + temp = <50>; + sample-index = <5>; + }; + sample-datum-6 { + milivolt = <(878 / 11)>; + temp = <60>; + sample-index = <6>; + }; + sample-datum-7 { + milivolt = <(665 / 11)>; + temp = <70>; + sample-index = <7>; + }; + sample-datum-8 { + milivolt = <(500 / 11)>; + temp = <80>; + sample-index = <8>; + }; + sample-datum-9 { + milivolt = <(434 / 11)>; + temp = <85>; + sample-index = <9>; + }; + sample-datum-10 { + milivolt = <( 376 / 11)>; + temp = <90>; + sample-index = <10>; + }; + sample-datum-11 { + milivolt = <( 326 / 11)>; + temp = <95>; + sample-index = <11>; + }; + sample-datum-12 { + milivolt = <( 283 / 11)>; + temp = <100>; + sample-index = <12>; + }; + }; }; |