Home
last modified time | relevance | path

Searched +full:charging +full:- +full:current (Results 1 – 25 of 168) sorted by relevance

1234567

/openbmc/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
185 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */
186 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */
191 POWER_SUPPLY_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */
198 POWER_SUPPLY_USB_TYPE_DCP, /* Dedicated Charging Port */
199 POWER_SUPPLY_USB_TYPE_CDP, /* Charging Downstream Port */
205 POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */
226 /* Run-time specific power supply configuration */
359 * struct power_supply_maintenance_charge_table - setting for maintenace charging
360 * @charge_current_max_ua: maintenance charging current that is used to keep
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
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#
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
[all …]
H A Dti,lp8727.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#
25 debounce-ms:
32 description: USB/AC charging parameters
34 charger-type:
36 - ac
37 - usb
[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#
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
21 $ref: power-supply.yaml#
[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 Dgpio-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
15 GPIOs for limited control over the charging process.
19 const: gpio-charger
21 charger-type:
23 - unknown
24 - battery
[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 Dcharger-manager.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
18 const: charger-manager
20 cm-chargers:
22 $ref: /schemas/types.yaml#/definitions/string-array
24 cm-num-chargers:
28 cm-fuel-gauge:
[all …]
H A Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ24735 Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
27 ti,ac-detect-gpios:
35 ti,charge-current:
38 Used to control and set the charging current.
43 ti,charge-voltage:
[all …]
H A Dtps65090-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: ti,tps65090-charger
19 ti,enable-low-current-chrg:
22 Enables charging when a low current is detected while the default logic is to stop charging.
25 - compatible
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
43 Contact: linux-pm@vger.kernel.org
47 Reports an average IBAT current reading for the battery, over
54 Reports an average IBUS current reading over a fixed period.
61 used for discharging batteries, positive values for charging
62 batteries and for USB IBUS current.
66 Contact: linux-pm@vger.kernel.org
[all …]
/openbmc/linux/include/linux/power/
H A Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * monitor charging even in the context of suspend-to-RAM with
62 /* The charger-manager use Extcon framework */
72 * Set min/max current of regulator to protect over-current issue
86 * Set if the charger-manager cannot control charger,
90 * and set current limit according to constraint data of
101 /* The name of regulator for charging */
109 * Store constraint information related to current limit,
110 * each cable have different condition for charging.
126 * @psy_name: the name of power-supply-class for charger manager
[all …]
/openbmc/linux/drivers/power/supply/
H A Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * The battery charging profile of BD99954.
16 * Curve (1) represents charging current.
19 * The BD99954 data sheet divides charging to three phases.
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
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
[all …]
H A Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
136 * struct smb347_charger - smb347 charger instance
147 * @max_charge_current: maximum current (in uA) the battery can be charged
149 * @pre_charge_current: current (in uA) to use in pre-charging phase
150 * @termination_current: current (in uA) used to determine when the
151 * charging cycle terminates
[all …]
H A Dab8500_chargalg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
6 * Charging algorithm driver for AB8500
34 #include "ab8500-bm.h"
35 #include "ab8500-chargalg.h"
40 /* End-of-charge criteria counter */
51 * full charging cycle in the case where maintenance charging
169 * struct ab8500_charge_curr_maximization - Charger maximization parameters
170 * @original_iset_ua: the non optimized/maximised charger current
171 * @current_iset_ua: the charging current used at this moment
[all …]
H A Dsc2731_charger.c1 // SPDX-License-Identifier: GPL-2.0
46 /* Default current definition (unit is mA) */
62 bool charging; member
69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
80 /* Enable charger constant current mode */ in sc2731_charger_start_charge()
81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
86 /* Start charging */ in sc2731_charger_start_charge()
87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit()
[all …]
H A Dab8500_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
36 #include "ab8500-bm.h"
37 #include "ab8500-chargalg.h"
94 /* Lowest charger voltage is 3.39V -> 0x4E */
112 /* UsbLineStatus register - usb types */
148 /* VBUS input current limits supported in AB8500 in uA */
174 * struct ab8500_charger_interrupts - ab8500 interrupts
218 * struct ab8500_charger - ab8500 Charger device information
236 * Counter for current stepping sessions
[all …]
H A Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
124 /* Main charge i/p current */
233 /* BatCtrl Current Source Constants */
267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
274 * @high_curr_time: Time current has to be high to go to recovery
275 * @accu_charging: FG accumulation time while charging
276 * @accu_high_curr_ua: FG accumulation time in high current mode
277 * @high_curr_threshold_ua: High current threshold, in uA
317 * struct ab8500_charger_maximization - struct used by the board config.
319 * @maxi_chg_curr_ua: Maximum charger current allowed in microampere
[all …]
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-palmas.txt4 - compatible:
5 - "ti,palmas-rtc" for palma series of the RTC controller
6 - interrupts: Interrupt number of RTC submodule on device.
10 - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or
13 can be chargeable or non-chargeable. This flag will tells whether
14 battery is chargeable or not. If charging battery then driver can
15 enable the charging.
16 - ti,backup-battery-charge-high-current: Enable high current charging in
17 backup battery. Device supports the < 100uA and > 100uA charging.
18 The high current will be > 100uA. Absence of this property will
[all …]
/openbmc/u-boot/drivers/power/mfd/
H A Dpmic_max77693.c1 // SPDX-License-Identifier: GPL-2.0+
13 static int max77693_charger_state(struct pmic *p, int state, int current) in max77693_charger_state() argument
18 return -ENODEV; in max77693_charger_state()
29 return -ENOTSUPP; in max77693_charger_state()
32 if (current < CHARGER_MIN_CURRENT || current > CHARGER_MAX_CURRENT) { in max77693_charger_state()
33 printf("%s: Wrong charge current: %d [mA]\n", in max77693_charger_state()
34 __func__, current); in max77693_charger_state()
35 return -EINVAL; in max77693_charger_state()
38 /* set charging current */ in max77693_charger_state()
41 val |= current * 10 / 333; /* 0.1A/3 steps */ in max77693_charger_state()
[all …]
/openbmc/linux/include/linux/mfd/wm831x/
H A Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x
18 int max_uA; /** Maximum current to allow */
23 int no_constant_voltage; /** Disable constant voltage charging */
25 int ilim; /** Current limit in microamps */
29 int enable; /** Enable charging */
30 int fast_enable; /** Enable fast charging */
31 int off_mask; /** Mask OFF while charging */
32 int trickle_ilim; /** Trickle charge current limit, in mA */
34 int eoc_iterm; /** End of trickle charge current, in mA */
[all …]
/openbmc/u-boot/doc/
H A DREADME.power-framework5 # SPDX-License-Identifier: GPL-2.0+
9 ------------
11 This document describes the second version of the u-boot's PMIC (Power
16 ----------
18 Boards supported by u-boot are getting increasingly complex. Developers and
20 devices are now available on the board - namely power managers (PMIC), fuel
21 gauges (FG), micro USB interface controllers (MUIC), batteries, multi-function
25 -----------------------------------
28 The same device - e.g. MAX8997 uses two different I2C busses and addresses.
36 one operation - e.g. PMIC enables LDO.
[all …]
/openbmc/u-boot/board/ti/sdp4430/
H A Dcmd_bat.c1 // SPDX-License-Identifier: GPL-2.0+
36 "battery charging, voltage/current measurements",
37 "status - display battery voltage and current\n"
38 "bat startcharge - start charging via USB\n"
39 "bat stopcharge - stop charging\n"
/openbmc/u-boot/doc/device-tree-bindings/power/
H A Dtps65090.txt4 -compatible: "ti,tps65090-charger"
7 -ti,enable-low-current-chrg: Enables charging when a low current is detected
8 while the default logic is to stop charging.
14 tps65090-charger {
15 compatible = "ti,tps65090-charger";
16 ti,enable-low-current-chrg;
/openbmc/linux/Documentation/power/
H A Dpower_supply_class.rst8 properties to user-space.
25 typically expected feedback of battery charging/fully charged status and
60 +--------------------------------------------------------------------------+
61 | **Charge/Energy/Capacity - how to not confuse** |
62 +--------------------------------------------------------------------------+
66 | - `CHARGE_*` |
68 | - `ENERGY_*` |
70 | - `CAPACITY` |
72 +--------------------------------------------------------------------------+
83 this attribute represents operating status (charging, full,
[all …]

1234567