Searched +full:thermistor +full:- +full:termination (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7280a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Jonathan Cameron <jic23@kernel.org> 18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.pdf 31 adi,voltage-alert-last-chan: 40 adi,acquisition-time-ns: 47 adi,thermistor-termination: 50 Enable the thermistor termination function. [all …]
|
/linux/drivers/power/supply/ |
H A D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 153 * pre-charge to fast charge mode 158 * current [%100 - %130] (in degree C) 159 * @soft_cold_temp_limit: soft cold temperature limit [%0 - %15] (in degree C), [all …]
|
H A D | rk817_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 68 * soc - state of charge - like the BSP this is stored as a percentage, 143 return -EINVAL; in rk817_chg_cur_to_reg() 166 return -EINVAL; in rk817_chg_cur_from_reg() 177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol() 181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol() 186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol() 187 ((vcalib1 - vcalib0) ? (vcalib1 - vcalib0) : 1); in rk817_bat_calib_vol() 188 charger->voltage_b = 4025 - (charger->voltage_k * vcalib1) / 1000; in rk817_bat_calib_vol() [all …]
|
H A D | bq256xx_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 153 * struct bq256xx_init_data - 157 * @iterm: termination current 177 * struct bq256xx_state - 209 * struct bq256xx_device - 253 * struct bq256xx_chip_info - 342 return i - 1; in bq256xx_array_parse() 344 if (val >= array[array_size - 1]) in bq256xx_array_parse() 345 return array_size - 1; in bq256xx_array_parse() [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad7280a.c | 1 // SPDX-License-Identifier: GPL-2.0 129 #define AD7280A_NUM_CH (AD7280A_AUX_ADC_6_REG - \ 135 (c) - AD7280A_CELLS_PER_DEV) 143 /* 5-bit device address is sent LSB first */ 203 unsigned char crc = ad7280_calc_crc8(st->crc_tab, val >> 10); in ad7280_check_crc() 206 return -EIO; in ad7280_check_crc() 221 if (st->readback_delay_us < 50) in ad7280_delay() 222 udelay(st->readback_delay_us); in ad7280_delay() 231 .tx_buf = &st->tx, in __ad7280_read32() 232 .rx_buf = &st->rx, in __ad7280_read32() [all …]
|