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 bindings
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
16 const: sprd,ums512-thermal
31 Reference to nvmem nodes for the calibration data.
36 - const: thm_ratio_cal
38 "#thermal-sensor-cells":
48 "^([a-z]*-)?sensor(-section)?@[0-9]+$":
51 Represent one thermal sensor.
55 description: Specify the sensor id.
61 Reference to an nvmem node for the calibration data.
71 additionalProperties: false
80 - "#thermal-sensor-cells"
84 additionalProperties: false
88 ap_thm0: thermal@32200000 {
89 compatible = "sprd,ums512-thermal";
90 reg = <0x32200000 0x10000>;
91 clock-names = "enable";
92 clocks = <&aonapb_gate 32>;
93 #thermal-sensor-cells = <1>;
94 nvmem-cells = <&thm0_sign>, <&thm0_ratio>;
95 nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal";
101 nvmem-cells = <&thm0_sen0>;
102 nvmem-cell-names = "sen_delta_cal";
107 nvmem-cells = <&thm0_sen1>;
108 nvmem-cell-names = "sen_delta_cal";