Home
last modified time | relevance | path

Searched +full:ums512 +full:- +full:thermal (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/
H A Dsprd-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
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
24 clock-names:
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dsprd_thermal.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/nvmem-consumer.h>
12 #include <linux/thermal.h>
57 /* thermal sensor calibration parameters */
58 #define SPRD_THM_TEMP_LOW -40000
139 return -EINVAL; in sprd_thm_cal_read()
154 * According to thermal datasheet, the default calibration offset is 64, in sprd_thm_sensor_calibration()
163 ratio += thm->ratio_sign * thm->ratio_off; in sprd_thm_sensor_calibration()
167 * calibration value of thermal from efuse, then calibrate the real in sprd_thm_sensor_calibration()
170 * b_cal = b + (dt_offset - 64) * 500. in sprd_thm_sensor_calibration()
[all …]