Home
last modified time | relevance | path

Searched +full:usb +full:- +full:current +full:- +full:limit +full:- +full:microamp (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/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 Dsgm41542_charger.txt4 - compatible: "sgm,sgm41542" for sgm41542 Charger Power Supply
5 - monitored-battery: phandle of battery characteristics devicetree node
6 - input-voltage-limit-microvolt: integer, input voltage level in uV, used to
7 decrease voltage level when the over current
9 - input-current-limit-microamp: integer, input current value in uA drained by the
13 - vbus5v0_typec:
16 either USB host mode or for charging on the OTG port.
23 input-voltage-limit-microvolt = <4500000>;
24 input-current-limit-microamp = <3000000>;
25 monitored-battery = <&bat>;
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
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
28 /* Use default factory programmed value for hard/soft temperature limit */
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
132 * struct smb347_charger - smb347 charger instance
136 * @usb: power_supply instance for USB power
139 * @usb_online: is USB input connected
142 * @max_charge_current: maximum current (in uA) the battery can be charged
[all …]
H A Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * Curve (1) represents charging current.
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)
34 * . + /- -- .
35 * . +`/- + .
[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 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 Drockchip_charger_manager.c1 // SPDX-License-Identifier: GPL-2.0
7 * Author: Xu Shengfei <xsf@rock-chips.com>
10 * during suspend-to-mem.
110 /*bat volt loop limit*/
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
[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/arch/arm/boot/dts/
H A Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
14 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
16 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
17 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
33 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
46 cpu0-supply = <&vcc>;
[all …]