Home
last modified time | relevance | path

Searched +full:charger +full:- +full:supply (Results 1 – 25 of 221) sorted by relevance

123456789

/linux/Documentation/power/
H A Dcharger-manager.rst2 Charger Manager
7 Charger Manager provides in-kernel battery charger management that
8 requires temperature monitoring during suspend-to-RAM state
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)
16 the system may need multiple instances of Charger Manager.
21 Charger Manager supports the following:
25 they may be activated at the same time. Each charger may have its
26 own power-supply-class and each power-supply-class can provide
28 aggregates charger-related information from multiple sources and
[all …]
H A Dpower_supply_class.rst2 Linux power supply class
7 Power supply class used to represent battery, UPS, AC or DC power supply
8 properties to user-space.
11 every power supply out there. Attributes are available via sysfs and uevent
16 power supply, specific monitoring hardware may not be able to provide them
19 Power supply class is extensible, and allows to define drivers own attributes.
21 if it will be found that some attribute is applicable to many power supply
26 AC/USB power supply online status. (Note that specific details of the
34 Power supply class has predefined set of attributes, this eliminates code
35 duplication across drivers. Power supply class insist on reusing its
[all …]
/linux/drivers/power/supply/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "Power supply class support"
5 Say Y here to enable power supply class support. This allows
6 power supply (batteries, AC, USB) monitoring by userspace
13 bool "Power supply debug"
15 Say Y here to enable debugging messages for power supply class
20 prompt "Expose power supply sensors as hwmon device"
25 power supply device (current, voltage, temperature) to be
51 which include a battery charger and a boost converter.
54 tristate "MAX8925 battery charger support"
[all …]
H A Dcros_usbpd-charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Power supply driver for ChromeOS EC based USB PD Charger.
5 * Copyright (c) 2014 - 2018 Google, Inc
26 #define DRV_NAME "cros-usbpd-charger"
42 struct charger_data *charger; member
82 return port->port_number >= port->charger->num_usbpd_ports; in cros_usbpd_charger_port_is_dedicated()
85 static int cros_usbpd_charger_ec_command(struct charger_data *charger, in cros_usbpd_charger_ec_command() argument
93 struct cros_ec_dev *ec_dev = charger->ec_dev; in cros_usbpd_charger_ec_command()
99 return -ENOMEM; in cros_usbpd_charger_ec_command()
101 msg->version = version; in cros_usbpd_charger_ec_command()
[all …]
H A Dab8500-chargalg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2012
4 * Author: Johan Gardsmark <johan.gardsmark@stericsson.com> for ST-Ericsson.
14 * - POWER_SUPPLY_TYPE_MAINS,
15 * - POWER_SUPPLY_TYPE_USB,
31 * struct ux500_charger - power supply ux500 charger sub class
32 * @psy power supply base class
33 * @ops ux500 charger operations
34 * @max_out_volt_uv maximum output charger voltage in uV
35 * @max_out_curr_ua maximum output charger current in uA
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
34 Describes the main type of the supply.
43 Contact: linux-pm@vger.kernel.org
66 Contact: linux-pm@vger.kernel.org
74 Reports the maximum IBUS current the supply can support.
81 Contact: linux-pm@vger.kernel.org
94 read-only reporting, unless the 'online' state of the supply
[all …]
/linux/include/linux/power/
H A Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Charger Manager.
8 * monitor charging even in the context of suspend-to-RAM with
45 * @wq: the workqueue to control charger according to the state of
46 * charger cable. If charger cable is attached, enable charger.
47 * But if charger cable is detached, disable charger.
49 * (External Connector) when charger cable is attached/detached.
50 * @attached: the state of charger cable.
51 * true: the charger cable is attached
52 * false: the charger cable is detached
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dstericsson,ab8500-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AB8500 Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
18 const: stericsson,ab8500-charger
20 monitored-battery:
28 vddadc-supply:
[all …]
H A Dlltc,lt3651-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LT3651 Charger Power Supply
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - lltc,lt3651-charger
19 - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger
21 lltc,acpr-gpios:
[all …]
H A Dqcom,pm8941-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Switch-Mode Battery Charger and Boost
10 - Sebastian Reichel <sre@kernel.org>
15 - qcom,pm8226-charger
16 - qcom,pm8941-charger
23 - description: charge done
24 - description: charge fast mode
[all …]
H A Ddlg,da9150-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA9150 Charger Power Supply
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: dlg,da9150-charger
19 io-channels:
21 - description: ADC channel for current
[all …]
H A Dti,twl6030-charger.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/power/supply/ti,twl6030-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TWL6030/32 BCI (Battery Charger Interface)
10 The battery charger needs to be configured to do any charging besides of
15 - Andreas Kemnade <andreas@kemnade.info>
18 - $ref: power-supply.yaml#
23 - const: ti,twl6030-charger
24 - items:
[all …]
H A Dsbs,sbs-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SBS compliant charger
10 - Sebastian Reichel <sre@kernel.org>
13 Charger compatible with the smart battery system specifications
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
[all …]
H A Dtwl4030-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TWL4030 BCI (Battery Charger Interface)
10 The battery charger needs to interact with the USB phy in order to know when
14 value in explicit configuration in device-tree. Rather if there is a sibling
15 of the BCI node which is compatible with "ti,twl4030-usb", then that is used
19 - Sebastian Reichel <sre@kernel.org>
22 - $ref: power-supply.yaml#
[all …]
H A Dbq2415x.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq2415x.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq2415x Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24150
20 - ti,bq24150a
21 - ti,bq24151
[all …]
H A Dcpcap-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Motorola CPCAP PMIC charger
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
16 the Droid 4. This binding describes its battery charger
17 sub-function.
20 - $ref: power-supply.yaml#
[all …]
H A Dtps65217-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TPS65217 Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: ti,tps65217-charger
23 interrupt-names:
25 - const: USB
[all …]
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#
7 title: TPS65090 Frontend PMU with Switchmode Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: ti,tps65090-charger
19 ti,enable-low-current-chrg:
25 - compatible
[all …]
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#
7 title: Charger Manager
10 - Sebastian Reichel <sre@kernel.org>
13 Binding for the legacy charger manager driver.
18 const: charger-manager
20 cm-chargers:
22 $ref: /schemas/types.yaml#/definitions/string-array
[all …]
H A Dactive-semi,act8945a-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8945A Charger Function
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: active-semi,act8945a-charger
22 active-semi,chglev-gpios:
26 active-semi,lbo-gpios:
[all …]
H A Dltc4162-l.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Linear Technology (Analog Devices) LTC4162-L Charger
11 - Mike Looijmans <mike.looijmans@topic.nl>
14 The LTC ® 4162-L is an advanced monolithic synchronous step-down switching
15 battery charger and PowerPath (TM) manager that seamlessly manages power
17 panels, etc., and a rechargeable Lithium-Ion/Polymer battery.
19 Specifications about the charger can be found at:
[all …]
H A Dti,lp8727.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/ti,lp8727.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP8727 Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 debounce-ms:
34 charger-type:
36 - ac
[all …]
H A Dsc2731-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum SC2731 PMICs battery charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: sprd,sc2731-charger
26 monitored-battery:
28 The charger uses the following battery properties
[all …]
/linux/include/linux/mfd/wm8350/
H A Dsupply.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC
15 * Charger registers
22 * R168 (0xA8) - Battery Charger Control 1
39 * R169 (0xA9) - Battery Charger Control 2
54 * R170 (0xAA) - Battery Charger Control 3
61 * Charger Interrupts
75 * Charger Policy
84 #define WM8350_CHG_EOC_mA(x) (((x - 10) & 0x7) << 10)
89 * Supply Registers.
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Drockchip,rk817.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
16 The RK817 variant also provides a battery charger manager.
21 - rockchip,rk809
22 - rockchip,rk817
30 '#clock-cells':
32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
[all …]

123456789