Searched +full:shutdown +full:- +full:threshold +full:- +full:microamp (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/ |
D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Beniamin Bia <beniamin.bia@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 20 - adi,adm1177 25 avcc-supply: 29 shunt-resistor-micro-ohms: 34 adi,shutdown-threshold-microamp: [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | adm1177.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2015-2019 Analog Devices Inc. 27 * struct adm1177_state - driver instance specific data 31 * @alert_threshold_ua current limit for shutdown 44 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 49 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() 64 ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, in adm1177_write_alert_thr() 69 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr() 94 4096 * st->r_sense_uohm); in adm1177_read() [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | palmas_gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * palmas-adc.c -- TI PALMAS GPADC. 27 #define MOD_NAME "palmas-gpadc" 30 #define PALMAS_GPADC_TRIMINVALID -1 80 * struct palmas_gpadc - the palmas_gpadc structure 94 * This is the palmas_gpadc structure to store run-time information 133 * Shutdown the GPADC AUTO conversion using 143 ret = palmas_update_bits(adc->palmas, PALMAS_GPADC_BASE, in palmas_disable_auto_conversion() 148 dev_err(adc->dev, "GPADC_CTRL1 update failed: %d\n", ret); in palmas_disable_auto_conversion() 152 ret = palmas_update_bits(adc->palmas, PALMAS_GPADC_BASE, in palmas_disable_auto_conversion() [all …]
|