Home
last modified time | relevance | path

Searched +full:max77836 +full:- +full:battery (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max14577.yaml1 # 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 Dmaxim,max17040.yaml1 # 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 …]
/openbmc/linux/include/linux/mfd/
H A Dmax14577-private.h1 /* 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 …]
/openbmc/linux/drivers/mfd/
H A Dmax14577.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577.c - mfd core driver for the Maxim 14577/77836
17 #include <linux/mfd/max14577-private.h>
41 * maxim_charger_calc_reg_current - Calculate register value for current
47 * Calculates the value of MBCICHWRC (Fast Battery Charge Current) register
53 * - is always between <limits.min, limits.max>;
54 * - is always less or equal to max_ua;
55 * - is the highest possible value;
56 * - may be lower than min_ua.
58 * On success returns 0. On error returns -EINVAL (requested min/max current
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Active-semi ACT8945A"
50 Support for the ACT8945A PMIC from Active-semi. This device
51 features three step-down DC/DC converters and four low-dropout
52 linear regulators, along with a complete ActivePath battery
67 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
70 called sun4i-gpadc.
101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
102 controllers, 11 LDOs, RTC, automatic battery, temperature and
132 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmax14577_charger.c1 // 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 Dmax17040_battery.c1 // SPDX-License-Identifier: GPL-2.0
4 // fuel-gauge systems for lithium-ion (Li+) batteries
143 struct power_supply *battery; member
146 /* battery capacity */
158 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset()
163 level = 32 - level * (chip->quirk_double_soc ? 2 : 1); in max17040_set_low_soc_alert()
164 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_low_soc_alert()
170 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, in max17040_set_soc_alert()
176 u16 mask = chip->data.rcomp_bytes == 2 ? in max17040_set_rcomp()
179 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, mask, rcomp); in max17040_set_rcomp()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
36 battery class devices.
39 tristate "Generic battery support using IIO"
42 Say Y here to enable support for the generic battery driver
51 which include a battery charger and a boost converter.
54 tristate "MAX8925 battery charger support"
57 Say Y here to enable support for the battery charger in the Maxim
61 tristate "WM831X backup battery charger support"
64 Say Y here to enable support for the backup battery charger
87 tristate "Marvell 88PM860x battery driver"
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos3250-monk.dts1 // 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 Dexynos3250-rinato.dts1 // 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 Ds5pv210-fascinate4g.dts1 // 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 …]
/openbmc/linux/drivers/regulator/
H A DKconfig1 # 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.
65 They provide two I2C-controlled DC/DC step-down converters with
85 tristate "Active-semi act8865 voltage regulator"
90 This driver controls a active-semi act8865 voltage output
94 tristate "Active-semi ACT8945A voltage regulator"
97 This driver controls a active-semi ACT8945A voltage regulator
98 via I2C bus. The ACT8945A features three step-down DC/DC converters
99 and four low-dropout linear regulators, along with a ActivePath
[all …]