Home
last modified time | relevance | path

Searched +full:precharge +full:- +full:current +full:- +full:microamp (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 over-voltage-threshold-microvolt:
[all …]
H A Dbq24190.txt1 TI BQ24190 Li-Ion Battery Charger
4 - compatible: contains one of the following:
9 - reg: integer, I2C address of the charger.
10 - interrupts[-extended]: configuration for charger INT pin.
13 - monitored-battery: phandle of battery characteristics devicetree node
15 + precharge-current-microamp: maximum charge current during precharge
17 + charge-term-current-microamp: a charge cycle terminates when the
18 battery voltage is above recharge threshold, and the current is below
21 - ti,system-minimum-microvolt: when power is connected and the battery is below
25 - usb-otg-vbus:
[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 <matti.vaittinen@fi.rohmeurope.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
28 # Curve (1) represents charging current.
[all …]
H A Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 for use in high-power density portable electronics. These inductorless
21 - $ref: power-supply.yaml#
26 - ti,bq25980
27 - ti,bq25975
28 - ti,bq25960
[all …]
H A Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
18 push-button controller.
27 - ti,bq25150
28 - ti,bq25155
34 ac-detect-gpios:
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/charge/
H A Dsgm41542_charger.c4 * SPDX-License-Identifier: GPL-2.0+
10 #include <irq-generic.h>
12 #include <linux/usb/phy-rockchip-usb2.h>
107 /* precharge current */
114 /* termination current */
121 /* charge current */
141 /* iindpm current */
185 POWER_SUPPLY_TYPE_USB_FLOATING, /* DCP without shorting D+/D- */
193 ret = dm_i2c_read(charger->dev, reg, &val, 1); in sgm41542_read()
207 ret = dm_i2c_write(charger->dev, reg, &val, 1); in sgm41542_write()
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
49 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
53 if (supply->supplied_from) { in __power_supply_is_supplied_by()
54 if (!supplier->desc->name) in __power_supply_is_supplied_by()
56 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
57 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
60 if (!supply->desc->name) in __power_supply_is_supplied_by()
62 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
63 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
76 if (pst->desc->external_power_changed) in __power_supply_changed_work()
[all …]
H A Dsgm41542_charger.c1 // SPDX-License-Identifier: GPL-2.0
7 * Author: Xu Shengfei <xsf@rock-chips.com>
118 /* precharge current */
125 /* termination current */
132 /* charge current */
152 /* iindpm current */
189 int ichg; /* charge current */
190 int ilim; /* input current */
192 int iterm; /* termination current */
193 int iprechg; /* precharge current */
[all …]
H A Dbq2515x_charger.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
137 * struct bq2515x_init_data -
138 * @ilim: input current limit
139 * @ichg: fast charge current
141 * @iprechg: precharge current
156 * struct bq2515x_device -
278 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_wake_up()
286 gpiod_set_value_cansleep(bq2515x->powerdown_gpio, 0); in bq2515x_wake_up()
288 gpiod_set_value_cansleep(bq2515x->reset_gpio, 0); in bq2515x_wake_up()
[all …]
H A Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/extcon-provider.h>
34 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
52 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */
59 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
154 * reads return the current value. In order to return the fault status
183 * The tables below provide a 2-way mapping for the value that goes in
184 * the register field and the real-world value that it represents.
186 * number at that index in the array is the real-world value that it
226 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
[all …]
H A Drockchip_charger_manager.c1 // SPDX-License-Identifier: GPL-2.0
7 * Author: Xu Shengfei <xsf@rock-chips.com>
10 * during suspend-to-mem.
230 * @psy_name: the name of power-supply-class for charger manager
235 * @psy_charger_stat: the names of power-supply for chargers
236 * @psy_fuel_gauge: the name of power-supply for fuel gauge
248 * after full-batt. If discharging duration exceed 'discharging
289 * saved status of external power before entering suspend-to-RAM
291 * saved status of battery before entering suspend-to-RAM
294 * @battery_status: Current battery status
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/
H A Dimx8mq-librem5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
18 backlight_dsi: backlight-dsi {
19 compatible = "led-backlight";
23 pmic_osc: clock-pmic {
[all …]