Home
last modified time | relevance | path

Searched +full:precharge +full:- +full:upper +full:- +full:limit +full:- +full:microvolt (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/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 device-chemistry:
[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 Drichtek,rt5033-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jakob Hauser <jahau@rocketmail.com>
14 under sub-node named "charger" using the following format.
18 const: richtek,rt5033-charger
20 monitored-battery:
26 precharge-current-microamp:
27 Current of pre-charge mode. The pre-charge current levels are 350 mA
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Drichtek,rt5033.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jakob Hauser <jahau@rocketmail.com>
30 The regulators of RT5033 have to be instantiated under a sub-node named
44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml#
47 - compatible
48 - reg
49 - interrupts
54 - |
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-serranove.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
22 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
28 chassis-type = "handset";
37 stdout-path = "serial0";
40 reserved-memory {
[all …]
/openbmc/linux/drivers/power/supply/
H A Drt5033_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/mfd/rt5033-private.h>
33 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state()
64 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type()
86 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit()
102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage()
118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge()
124 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge()
125 chg->const_uvolt > RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MAX) { in rt5033_init_const_charge()
126 dev_err(charger->dev, in rt5033_init_const_charge()
[all …]
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <linux/fixp-arith.h>
26 #include "samsung-sdi-battery.h"
44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
48 if (supply->supplied_from) { in __power_supply_is_supplied_by()
49 if (!supplier->desc->name) in __power_supply_is_supplied_by()
51 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
55 if (!supply->desc->name) in __power_supply_is_supplied_by()
57 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
[all …]
H A 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 */
57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
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
245 return i - 1; in bq24190_find_idx()
254 ret = i2c_smbus_read_byte_data(bdi->client, reg); in bq24190_read()
[all …]