Home
last modified time | relevance | path

Searched +full:enable +full:- +full:low +full:- +full:current +full:- +full:chrg (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
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 …]
/linux/drivers/power/supply/
H A Daxp288_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * axp288_charger.c - X-power AXP288 PMIC Charger driver
5 * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com>
160 else if (cc > info->max_cc) in axp288_charger_set_cc()
161 cc = info->max_cc; in axp288_charger_set_cc()
163 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc()
167 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc()
171 info->cc = cc; in axp288_charger_set_cc()
197 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv()
202 info->cv = cv; in axp288_charger_set_cv()
[all …]
H A Dtps65090-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
48 if (charger->passive_mode) in tps65090_low_chrg_current()
51 ret = tps65090_write(charger->dev->parent, TPS65090_REG_CG_CTRL5, in tps65090_low_chrg_current()
54 dev_err(charger->dev, "%s(): error reading in register 0x%x\n", in tps65090_low_chrg_current()
66 if (charger->passive_mode) in tps65090_enable_charging()
69 ret = tps65090_read(charger->dev->parent, TPS65090_REG_CG_CTRL0, in tps65090_enable_charging()
72 dev_err(charger->dev, "%s(): error reading in register 0x%x\n", in tps65090_enable_charging()
77 ret = tps65090_write(charger->dev->parent, TPS65090_REG_CG_CTRL0, in tps65090_enable_charging()
80 dev_err(charger->dev, "%s(): error writing in register 0x%x\n", in tps65090_enable_charging()
92 if (charger->passive_mode) in tps65090_config_charger()
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra114-dalmore.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
23 stdout-path = "serial0:115200n8";
34 hdmi-supply = <&vdd_5v0_hdmi>;
35 vdd-supply = <&vdd_hdmi_reg>;
36 pll-supply = <&palmas_smps3_reg>;
38 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
39 nvidia,hpd-gpio =
46 avdd-dsi-csi-supply = <&avdd_1v2_reg>;
[all …]