Searched +full:ums512 +full:- +full:thermal (Results 1 – 3 of 3) sorted by relevance
/linux-6.14.4/Documentation/devicetree/bindings/thermal/ |
D | sprd-thermal.yaml | 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 10 - Orson Zhai <[email protected]> 11 - Baolin Wang <[email protected]> 12 - Chunyan Zhang <[email protected]> 14 $ref: thermal-sensor.yaml# 18 const: sprd,ums512-thermal [all …]
|
/linux-6.14.4/drivers/thermal/ |
D | sprd_thermal.c | 1 // 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 …]
|
/linux-6.14.4/drivers/spi/ |
D | spi-sprd-adi.c | 4 * SPDX-License-Identifier: GPL-2.0 36 #define REG_ADI_CHN_ADDR(id) (0x44 + (id - 2) * 4) 53 * ADI slave devices include RTC, ADC, regulator, charger, thermal and so on. 157 if (reg >= sadi->data->slave_addr_size) { in sprd_adi_check_addr() 158 dev_err(sadi->dev, in sprd_adi_check_addr() 161 return -EINVAL; in sprd_adi_check_addr() 173 sts = readl_relaxed(sadi->base + REG_ADI_ARM_FIFO_STS); in sprd_adi_drain_fifo() 178 } while (--timeout); in sprd_adi_drain_fifo() 181 dev_err(sadi->dev, "drain write fifo timeout\n"); in sprd_adi_drain_fifo() 182 return -EBUSY; in sprd_adi_drain_fifo() [all …]
|