Home
last modified time | relevance | path

Searched +full:battery +full:- +full:regulation +full:- +full:voltage (Results 1 – 25 of 30) sorted by relevance

12

/linux/Documentation/devicetree/bindings/power/supply/
H A Drichtek,rt9455.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek rt9455 battery charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 richtek,output-charge-current:
27 description: output current from the charger to the battery, in uA.
29 richtek,end-of-charge-percentage:
32 percent of the output charge current. When the current in constant-voltage phase drops
[all …]
H A Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - enum:
20 - ti,bq25890
21 - items:
22 - enum:
[all …]
H A Dbq2415x.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2415x Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24150
20 - ti,bq24150a
21 - ti,bq24151
22 - ti,bq24151a
[all …]
H A Dbq24257.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
[all …]
H A Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
21 const: maxim,max77693-charger
23 maxim,constant-microvolt:
25 Battery constant voltage in uV. The charger will operate in fast
26 charge constant current mode till battery voltage reaches this level.
27 Then the charger will switch to fast charge constant voltage mode.
28 Also vsys (system voltage) will be set to this value when DC power is
[all …]
H A Dmediatek,mt6370-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 Battery Charger
10 - ChiaEn Wu <chiaen_wu@richtek.com>
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
18 const: mediatek,mt6370-charger
29 hardware enters the "Minimum Input Voltage Regulation loop" and
34 - description: irq of "USB is plugged in"
[all …]
H A Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD99954 Battery charger
10 - Matti Vaittinen <mazziesaccount@gmail.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion
16 secondary battery intended to be used in space-constraint equipment such
18 provides a Dual-source Battery Charger, two port BC1.2 detection and a
[all …]
H A Drichtek,rt5033-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT5033 PMIC Battery Charger
10 - Jakob Hauser <jahau@rocketmail.com>
13 The battery charger of the multifunction device RT5033 has to be instantiated
14 under sub-node named "charger" using the following format.
18 const: richtek,rt5033-charger
20 monitored-battery:
[all …]
H A Dqcom,pm8941-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Switch-Mode Battery Charger and Boost
10 - Sebastian Reichel <sre@kernel.org>
15 - qcom,pm8226-charger
16 - qcom,pm8941-charger
23 - description: charge done
24 - description: charge fast mode
[all …]
H A Drichtek,rt9467.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT9467 Switching Battery Charger with Power Path Management
10 - ChiYuan Huang <cy_huang@richtek.com>
11 - ChiaEn Wu <chiaen_wu@richtek.com>
14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
16 MOSFETs, input current sensing and regulation, high-accuracy voltage
17 regulation, and charge termination. The charge current is regulated through
20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates
[all …]
H A Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery charger driver for SMB345, SMB347 and SMB358
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
[all …]
H A Dmt6360_charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery charger driver for MT6360 PMIC from MediaTek Integrated.
10 - Gene Chen <gene_chen@richtek.com>
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
18 const: mediatek,mt6360-chg
20 richtek,vinovp-microvolt:
21 description: Maximum CHGIN regulation voltage in uV.
25 usb-otg-vbus-regulator:
[all …]
H A Dmax77650-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery charger driver for MAX77650 PMIC from Maxim Integrated.
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
16 The charger is represented as a sub-node of the PMIC node on the device tree.
20 const: maxim,max77650-charger
22 input-voltage-min-microvolt:
24 Minimum CHGIN regulation voltage.
[all …]
/linux/drivers/power/supply/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 power supply device (current, voltage, temperature) to be
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
[all …]
H A Drt9455_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Richtek RT9455WSC battery charger.
21 #define RT9455_DRIVER_NAME "rt9455-charger"
165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
169 * Each array initialised below shows the possible real-world values for a
171 * ascending order. The index of each real-world value represents the value
180 * When the charger is in charge mode, REG02[7:2] represent battery regulation
181 * voltage.
198 * voltage.
200 /* REG02[7:2] (Boost output voltage) in uV */
[all …]
H A Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * The battery charging profile of BD99954.
17 * Curve (2) represents battery voltage.
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
23 * the battery voltage has reached target level (4) we have constant
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
[all …]
H A Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
83 u8 vreg; /* regulation voltage */
86 u8 sysvmin; /* minimum system voltage limit */
87 u8 boostv; /* boost regulation voltage */
91 u8 treg; /* thermal regulation threshold */
93 u8 vclamp; /* IBAT compensation voltage limit */
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
294 /* Thermal Regulation Threshold lookup table, in degrees Celsius */
322 0, -10, -20, -30, -40, -60, -70, -80,
[all …]
H A Dbq2415x_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2011-2013 Pali Rohár <pali@kernel.org>
68 /* voltage register */
172 int autotimer; /* 1 - if driver automatically reset timer, 0 - not */
173 int automode; /* 1 - enabled, 0 - disabled; -1 - not supported */
189 struct i2c_client *client = to_i2c_client(bq->dev); in bq2415x_i2c_read()
194 if (!client->adapter) in bq2415x_i2c_read()
195 return -ENODEV; in bq2415x_i2c_read()
197 msg[0].addr = client->addr; in bq2415x_i2c_read()
201 msg[1].addr = client->addr; in bq2415x_i2c_read()
[all …]
H A Drt5033_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery charger driver for RT5033
9 #include <linux/devm-helpers.h>
18 #include <linux/mfd/rt5033-private.h>
45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state()
72 if (charger->otg) in rt5033_get_charger_state()
80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type()
102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit()
118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage()
134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge()
[all …]
H A Dbq24257_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 u8 vbat; /* regulation voltage */
67 u8 vovp; /* over voltage protection voltage */
68 u8 vindpm; /* VDMP input threshold voltage */
211 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq24257_field_read()
221 return regmap_field_write(bq->rmap_fields[field_id], val); in bq24257_field_write()
232 return idx - 1; in bq24257_find_idx()
273 return -ENODATA; in bq24257_get_input_current_limit()
275 val->intval = bq24257_iilimit_map[ret]; in bq24257_get_input_current_limit()
285 * while the charger auto-detection mechanism is active. In this in bq24257_set_input_current_limit()
[all …]
H A Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for the TI bq24190 battery charger.
19 #include <linux/extcon-provider.h>
32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
63 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
75 #define BQ24190_REG_CVC 0x04 /* Charge Voltage Control */
98 #define BQ24190_REG_ICTRC 0x06 /* IR Comp/Thermal Regulation Control */
161 * The tables below provide a 2-way mapping for the value that goes in
162 * the register field and the real-world value that it represents.
164 * number at that index in the array is the real-world value that it
[all …]
H A Dbq2515x_charger.c1 // SPDX-License-Identifier: GPL-2.0
2 // BQ2515X Battery Charger Driver
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
137 * struct bq2515x_init_data -
140 * @vbatreg: battery regulation voltage
151 * struct bq2515x_info -
161 * struct bq2515x_device -
163 * @battery: battery properties
180 struct power_supply *battery; member
283 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_wake_up()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-cht-wc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved.
62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, &reg); in cht_wc_i2c_adap_thread_handler()
67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler()
68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler()
75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler()
77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler()
81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler()
[all …]
/linux/Documentation/driver-api/
H A Dregulator.rst1 .. Copyright 2007-2008 Wolfson Microelectronics
8 Voltage and current regulator API
18 control voltage and current regulators.
21 output in order to save power and prolong battery life. This applies to
22 both voltage regulators (where voltage output is controllable) and
30 --------
38 output voltage or current.
62 drivers use `get <#API-regulator-get>`__ and
63 `put <#API-regulator-put>`__ operations to acquire and release
64 regulators. Functions are provided to `enable <#API-regulator-enable>`__
[all …]
/linux/include/linux/mfd/
H A Drt5033-private.h1 /* SPDX-License-Identifier: GPL-2.0-only */
116 /* RT5033 charger property - model, manufacturer */
121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1
134 /* RT5033 charger minimum input voltage regulation */
171 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */
177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */
183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */
190 * RT5033 charger const-charge end of charger current (
200 * RT5033 charger pre-charge threshold volt limits
218 /* RT5033 regulator BUCK output voltage uV */
[all …]

12