Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
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 …]
/Linux-v6.1/drivers/power/supply/
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.
136 * struct smb347_charger - smb347 charger instance
140 * @usb: power_supply instance for USB power
141 * @usb_rdev: USB VBUS regulator device
144 * @usb_online: is USB input connected
[all …]
Drk817_charger.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/devm-helpers.h>
33 * Max charging current read to/written from hardware register.
35 * current, this is per the datasheet.
68 * soc - state of charge - like the BSP this is stored as a percentage,
115 #define CURRENT_TO_ADC(current, samp_res) \ argument
116 (current * samp_res / 172)
143 return -EINVAL; in rk817_chg_cur_to_reg()
166 return -EINVAL; in rk817_chg_cur_from_reg()
177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol()
[all …]
Dcpcap-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright (C) 2009-2010 Motorola, Inc.
27 #include <linux/usb/phy_companion.h>
29 #include <linux/usb/otg.h>
31 #include <linux/mfd/motorola-cpcap.h>
38 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1
44 #define CPCAP_REG_CRM_RVRSMODE BIT(12) /* USB VBUS output enable */
45 #define CPCAP_REG_CRM_ICHRG_TR1 BIT(11) /* Trickle charge current */
53 #define CPCAP_REG_CRM_ICHRG3 BIT(3) /* Charge current bits */
90 * values in "Table 8-3. Charge Path Regulator Current Limit
[all …]
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 …]
Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/extcon-provider.h>
32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
50 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */
57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
152 * reads return the current value. In order to return the fault status
190 * The tables below provide a 2-way mapping for the value that goes in
191 * the register field and the real-world value that it represents.
193 * number at that index in the array is the real-world value that it
233 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
[all …]
Dbq256xx_charger.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
15 #include <linux/usb/phy.h>
147 * struct bq256xx_init_data -
148 * @ichg: fast charge current
149 * @iindpm: input current limit
151 * @iterm: termination current
152 * @iprechg: precharge current
153 * @vindpm: input voltage limit
154 * @ichg_max: maximum fast charge current
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsdm660-xiaomi-lavender.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
18 chassis-type = "handset";
25 #address-cells = <2>;
26 #size-cells = <2>;
29 stdout-path = "serial0:115200n8";
32 compatible = "simple-framebuffer";
41 vph_pwr: vph-pwr-regulator {
[all …]
Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
24 /delete-node/ &rmtfs_mem;
25 /delete-node/ &adsp_mem;
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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 …]
Dexynos4412-p4note.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 * Based on exynos4412-midas.dtsi.
10 /dts-v1/;
12 #include "exynos4412-ppmu-common.dtsi"
14 #include <dt-bindings/clock/maxim,max77686.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/power/summit,smb347-charger.h>
19 #include "exynos-pinctrl.h"
[all …]