Home
last modified time | relevance | path

Searched +full:cm +full:- +full:chargers (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
H A Dcharger-manager.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
18 const: charger-manager
20 cm-chargers:
21 description: name of chargers
22 $ref: /schemas/types.yaml#/definitions/string-array
24 cm-num-chargers:
[all …]
/linux/Documentation/power/
H A Dcharger-manager.rst7 Charger Manager provides in-kernel battery charger management that
8 requires temperature monitoring during suspend-to-RAM state
9 and where each battery may have multiple chargers attached and the userland
10 wants to look at the aggregated information of the multiple chargers.
12 Charger Manager is a platform_driver with power-supply-class entries.
13 An instance of Charger Manager (a platform-device created with Charger-Manager)
14 represents an independent battery with chargers. If there are multiple
15 batteries with their own chargers acting independently in a system,
23 * Support for multiple chargers (e.g., a device with USB, AC, and solar panels)
24 A system may have multiple chargers (or power sources) and some of
[all …]
/linux/include/linux/power/
H A Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * This framework enables to control and multiple chargers and to
8 * monitor charging even in the context of suspend-to-RAM with
9 * an interface combining the chargers.
54 * @cm: the Charger Manager representing the battery.
62 /* The charger-manager use Extcon framework */
72 * Set min/max current of regulator to protect over-current issue
78 struct charger_manager *cm; member
86 * Set if the charger-manager cannot control charger,
121 struct charger_manager *cm; member
[all …]
/linux/drivers/power/supply/
H A Dcharger-manager.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * during suspend-to-mem.
23 #include <linux/power/charger-manager.h>
35 { "USB-HOST", EXTCON_USB_HOST },
40 { "FAST-CHARGER", EXTCON_CHG_USB_FAST },
41 { "SLOW-CHARGER", EXTCON_CHG_USB_SLOW },
49 { "CHARGE-DOWNSTREAM", EXTCON_CHG_USB_CDP },
78 /* About in-suspend (suspend-again) monitoring */
92 * is_batt_present - See if the battery presents in place.
93 * @cm: the Charger Manager representing the battery.
[all …]