1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/thermal/sprd-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum thermal sensor controller
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
14 $ref: thermal-sensor.yaml#
18 const: sprd,ums512-thermal
33 Reference to nvmem nodes for the calibration data.
38 - const: thm_ratio_cal
40 "#thermal-sensor-cells":
50 "^([a-z]*-)?sensor(-section)?@[0-9]+$":
53 Represent one thermal sensor.
57 description: Specify the sensor id.
63 Reference to an nvmem node for the calibration data.
73 additionalProperties: false
85 unevaluatedProperties: false
90 compatible = "sprd,ums512-thermal";
91 reg = <0x32200000 0x10000>;
92 clock-names = "enable";
93 clocks = <&aonapb_gate 32>;
94 #thermal-sensor-cells = <1>;
95 nvmem-cells = <&thm0_sign>, <&thm0_ratio>;
96 nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal";
100 prometheus-sensor@0 {
102 nvmem-cells = <&thm0_sen0>;
103 nvmem-cell-names = "sen_delta_cal";
108 nvmem-cells = <&thm0_sen1>;
109 nvmem-cell-names = "sen_delta_cal";