Searched +full:max77836 +full:- +full:battery (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/mfd/ |
H A D | max14577-private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip 67 * Combined charger types for max14577 and max77836. 70 * However the max77836 has different two last values of STATUS2/CHGTYP. 71 * To indicate the difference enum has two additional values for max77836. 82 /* max14577: reserved, used on max77836 */ 84 /* max14577: dead-battery charing with maximum current 100mA */ 87 * max77836: special charger (bias on D+/D-), 91 /* max77836: reserved, register value 0x7 */ 281 /* MAX77836 charger current limits (as in CHGCTRL4 register), uA */ [all …]
|
/linux/drivers/mfd/ |
H A D | max14577.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max14577.c - mfd core driver for the Maxim 14577/77836 18 #include <linux/mfd/max14577-private.h> 42 * maxim_charger_calc_reg_current - Calculate register value for current 48 * Calculates the value of MBCICHWRC (Fast Battery Charge Current) register 54 * - is always between <limits.min, limits.max>; 55 * - is always less or equal to max_ua; 56 * - is the highest possible value; 57 * - may be lower than min_ua. 59 * On success returns 0. On error returns -EINVAL (requested min/max current [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max14577.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC Charger 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB 22 - maxim,max14577-charger 23 - maxim,max77836-charger 25 maxim,constant-uvolt: 27 Battery Constant Voltage in uV [all …]
|
H A D | maxim,max17040.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - maxim,max17040 19 - maxim,max17041 20 - maxim,max17043 21 - maxim,max17044 22 - maxim,max17048 [all …]
|
/linux/drivers/power/supply/ |
H A D | max14577_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836 11 #include <linux/mfd/max14577-private.h> 24 * and max77836 chipsets to enum maxim_muic_charger_type. 49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state() 55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state() 56 * - STATUS2/CGMBC == 1 in max14577_get_charger_state() 59 * - handle FULL after Top-off timer (EOC register may be off in max14577_get_charger_state() 61 * - handle properly dead-battery charging (respect timer) in max14577_get_charger_state() 62 * - handle timers (fast-charge and prequal) /MBCCHGERR/ in max14577_get_charger_state() [all …]
|
H A D | max17040_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // fuel-gauge systems for lithium-ion (Li+) batteries 144 struct power_supply *battery; member 148 /* battery capacity */ 160 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset() 165 level = 32 - level * (chip->quirk_double_soc ? 2 : 1); in max17040_set_low_soc_alert() 166 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_low_soc_alert() 172 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_soc_alert() 178 u16 mask = chip->data.rcomp_bytes == 2 ? in max17040_set_rcomp() 181 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, mask, rcomp); in max17040_set_rcomp() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos3250-monk.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 34 compatible = "samsung,secure-firmware"; 38 gpio-keys { 39 compatible = "gpio-keys"; 41 power-key { [all …]
|
H A D | exynos3250-rinato.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 22 chassis-type = "watch"; 31 stdout-path = &serial_1; 40 compatible = "samsung,secure-firmware"; 44 gpio-keys { [all …]
|
H A D | s5pv210-fascinate4g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include "s5pv210-aries.dtsi" 9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; 11 chassis-type = "handset"; 14 stdout-path = &uart2; 17 gpio-keys { 18 compatible = "gpio-keys"; [all …]
|
/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 output in order to save power and prolong battery life. This applies 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator [all …]
|