Searched +full:ums512 +full:- +full:thermal (Results 1 – 2 of 2) sorted by relevance
1 # 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 bindings10 - Orson Zhai <orsonzhai@gmail.com>11 - Baolin Wang <baolin.wang7@gmail.com>12 - Chunyan Zhang <zhang.lyra@gmail.com>16 const: sprd,ums512-thermal24 clock-names:[all …]
1 // SPDX-License-Identifier: GPL-2.08 #include <linux/nvmem-consumer.h>12 #include <linux/thermal.h>57 /* thermal sensor calibration parameters */58 #define SPRD_THM_TEMP_LOW -40000139 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 …]