Home
last modified time | relevance | path

Searched +full:overvoltage +full:- +full:retry +full:- +full:disable (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc4282.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sa <nuno.sa@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf
20 - adi,ltc4282
25 vdd-supply: true
30 '#clock-cells':
33 adi,rsense-nano-ohms:
36 adi,vin-mode-microvolt:
[all …]
/linux/drivers/hwmon/
H A Dltc4282.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/clk-provider.h>
15 #include <linux/hwmon-sysfs.h>
115 #define LTC4282_CLKIN_RANGE (LTC4282_CLKIN_MAX - LTC4282_CLKIN_MIN + 1)
168 return regmap_update_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK, in ltc4282_set_rate()
197 ret = regmap_read(st->map, LTC4282_CLK_DIV, &clkdiv); in ltc4282_recalc_rate()
215 regmap_clear_bits(st->map, LTC4282_CLK_DIV, LTC4282_CLKOUT_MASK); in ltc4282_disable()
224 ret = regmap_bulk_read(st->map, reg, &in, sizeof(in)); in ltc4282_read_voltage_word()
246 ret = regmap_read(st->map, reg, &in); in ltc4282_read_voltage_byte_cached()
267 ret = regmap_read(st->map, reg, &alarm); in __ltc4282_read_alarm()
[all …]
/linux/drivers/power/supply/
H A Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
20 * a) Trickle-charge with constant current (8).
21 * b) pre-charge with constant current (6)
22 * c) fast-charge, first with constant current (5) phase. After
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
34 * . + /- -- .
35 * . +`/- + .
36 * . o/- -: .
38 * . .--+ `/ .
[all …]
H A Dqcom_pmi8998_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
7 * This driver is for the switch-mode battery charger and boost
12 #include <linux/devm-helpers.h>
26 /* clang-format off */
352 /* clang-format on */
372 * struct smb2_chip - smb2 chip structure
419 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb2_get_prop_usb_online()
421 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb2_get_prop_usb_online()
446 rc = regmap_read(chip->regmap, chip->base + APSD_STATUS, &apsd_stat); in smb2_apsd_get_charger_type()
[all …]