Lines Matching +full:adc +full:- +full:dev
1 General Purpose Analog To Digital Converter (ADC) based thermal sensor.
4 one of ADC channel and sensor resistance is read via voltage across the
6 temperature using voltage-temperature lookup table.
10 - compatible: Must be "generic-adc-thermal".
11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen…
15 - temperature-lookup-table: Two dimensional array of Integer; lookup table
16 to map the relation between ADC value and
17 temperature. When ADC is read, the value is
23 the each row of array is the ADC read value.
25 If not specified, driver assumes the ADC channel
29 #include <dt-bindings/thermal/thermal.h>
35 sampling-frequency = <3300>;
36 #io-channel-cells = <1>;
40 tboard_thermistor: thermal-sensor {
41 compatible = "generic-adc-thermal";
42 #thermal-sensor-cells = <0>;
43 io-channels = <&ads1015 1>;
44 io-channel-names = "sensor-channel";
45 temperature-lookup-table = < (-40000) 2578
46 (-39000) 2577
47 (-38000) 2576
48 (-37000) 2575
49 (-36000) 2574
50 (-35000) 2573
51 (-34000) 2572
52 (-33000) 2571
53 (-32000) 2569
54 (-31000) 2568
55 (-30000) 2567
67 dummy_cool_dev: dummy-cool-dev {
68 compatible = "dummy-cooling-dev";
69 #cooling-cells = <2>; /* min followed by max */
72 thermal-zones {
74 polling-delay = <15000>; /* milliseconds */
75 polling-delay-passive = <0>; /* milliseconds */
76 thermal-sensors = <&tboard_thermistor>;
86 cooling-maps {
89 cooling-device = <&dummy_cool_dev THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;