Lines Matching +full:generic +full:- +full:names
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laxman Dewangan <ldewangan@nvidia.com>
16 temperature using voltage-temperature lookup table.
18 $ref: thermal-sensor.yaml#
22 const: generic-adc-thermal
24 '#thermal-sensor-cells':
27 io-channels:
30 io-channel-names:
31 const: sensor-channel
33 temperature-lookup-table:
41 $ref: /schemas/types.yaml#/definitions/int32-matrix
44 - description: Temperature in milliCelsius
45 - description: ADC read value
48 - compatible
49 - io-channels
50 - io-channel-names
55 - |
56 #include <dt-bindings/thermal/thermal.h>
58 thermal-sensor {
59 compatible = "generic-adc-thermal";
60 #thermal-sensor-cells = <0>;
61 io-channels = <&ads1015 1>;
62 io-channel-names = "sensor-channel";
63 temperature-lookup-table = <
64 (-40000) 2578
65 (-39000) 2577
66 (-38000) 2576
67 (-37000) 2575
68 (-36000) 2574
69 (-35000) 2573
70 (-34000) 2572
71 (-33000) 2571
72 (-32000) 2569
73 (-31000) 2568
74 (-30000) 2567