Home
last modified time | relevance | path

Searched +full:battery +full:- +full:power (Results 1 – 25 of 955) sorted by relevance

12345678910>>...39

/kernel/linux/linux-5.10/drivers/power/supply/
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
28 Say 'Y' here if you want power supplies to
33 tristate "Generic PDA/phone power driver"
[all …]
Dwm8350_power.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery driver for wm8350 PMIC
7 * Based on OLPC Battery Driver
44 if (!wm8350->power.rev_g_coeff) in wm8350_charge_time_min()
45 return (((min - 30) / 15) & 0xf) << 8; in wm8350_charge_time_min()
47 return (((min - 30) / 30) & 0xf) << 8; in wm8350_charge_time_min()
67 * without battery, otherwise check for wall supply */ in wm8350_get_supplies()
92 dev_warn(wm8350->dev, in wm8350_charger_config()
94 return -EINVAL; in wm8350_charger_config()
98 if (policy->fast_limit_USB_mA > 500) { in wm8350_charger_config()
[all …]
Dwm831x_power.c1 // SPDX-License-Identifier: GPL-2.0-only
24 struct power_supply *battery; member
46 val->intval = 1; in wm831x_power_check_online()
48 val->intval = 0; in wm831x_power_check_online()
61 val->intval = ret; in wm831x_power_read_voltage()
67 * WALL Power
73 struct wm831x_power *wm831x_power = dev_get_drvdata(psy->dev.parent); in wm831x_wall_get_prop()
74 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_wall_get_prop()
85 ret = -EINVAL; in wm831x_wall_get_prop()
98 * USB Power
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
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
28 Say 'Y' here if you want power supplies to
36 battery class devices.
[all …]
Dwm8350_power.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery driver for wm8350 PMIC
7 * Based on OLPC Battery Driver
44 if (!wm8350->power.rev_g_coeff) in wm8350_charge_time_min()
45 return (((min - 30) / 15) & 0xf) << 8; in wm8350_charge_time_min()
47 return (((min - 30) / 30) & 0xf) << 8; in wm8350_charge_time_min()
67 * without battery, otherwise check for wall supply */ in wm8350_get_supplies()
92 dev_warn(wm8350->dev, in wm8350_charger_config()
94 return -EINVAL; in wm8350_charger_config()
98 if (policy->fast_limit_USB_mA > 500) { in wm8350_charger_config()
[all …]
Dwm831x_power.c1 // SPDX-License-Identifier: GPL-2.0-only
24 struct power_supply *battery; member
46 val->intval = 1; in wm831x_power_check_online()
48 val->intval = 0; in wm831x_power_check_online()
61 val->intval = ret; in wm831x_power_read_voltage()
67 * WALL Power
73 struct wm831x_power *wm831x_power = dev_get_drvdata(psy->dev.parent); in wm831x_wall_get_prop()
74 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_wall_get_prop()
85 ret = -EINVAL; in wm831x_wall_get_prop()
98 * USB Power
[all …]
/kernel/linux/linux-5.10/Documentation/power/
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
25 typically expected feedback of battery charging/fully charged status and
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
[all …]
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
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
24 A system may have multiple chargers (or power sources) and some of
26 own power-supply-class and each power-supply-class can provide
27 different information about the battery status. This framework
28 aggregates charger-related information from multiple sources and
[all …]
/kernel/linux/linux-6.6/Documentation/power/
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
25 typically expected feedback of battery charging/fully charged status and
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
[all …]
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
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
24 A system may have multiple chargers (or power sources) and some of
26 own power-supply-class and each power-supply-class can provide
27 different information about the battery status. This framework
28 aggregates charger-related information from multiple sources and
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dadc-battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/adc-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC battery
10 - Sebastian Reichel <sre@kernel.org>
13 Basic battery capacity meter, which only reports basic battery data
14 via ADC channels and optionally indicate that the battery is full by
17 The voltage is expected to be measured between the battery terminals
18 and mandatory. The optional current/power channel is expected to
[all …]
Dx-powers,axp20x-battery-power-supply.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AXP20x Battery power-supply
10 The supported devices can read the battery voltage, charge and discharge
11 currents of the battery by reading ADC channels from the ADC.
14 - Chen-Yu Tsai <wens@csie.org>
15 - Sebastian Reichel <sre@kernel.org>
18 - $ref: power-supply.yaml#
[all …]
Dcpcap-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-battery.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Motorola CPCAP PMIC battery
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
16 the Droid 4. This binding describes its battery fuel gauge
17 sub-function.
20 - $ref: power-supply.yaml#
[all …]
Dcw2015_battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/cw2015_battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery driver for CW2015 shuntless fuel gauge by CellWise.
10 - Tobias Schramm <t.schramm@manjaro.org>
13 The driver can utilize information from a simple-battery linked via a
14 phandle in monitored-battery. If specified the driver uses the
15 charge-full-design-microamp-hours property of the battery.
18 - $ref: power-supply.yaml#
[all …]
Dbq24190.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/bq24190.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ2419x Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24190
20 - ti,bq24192
21 - ti,bq24192i
[all …]
Dingenic,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Ingenic JZ47xx battery
11 - Artur Rojek <contact@artur-rojek.eu>
13 $ref: power-supply.yaml#
18 - const: ingenic,jz4740-battery
19 - items:
[all …]
Dsc27xx-fg.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - sprd,sc2720-fgu
19 - sprd,sc2721-fgu
20 - sprd,sc2723-fgu
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Daxp20x_battery.txt1 AXP20x and AXP22x battery power supply
4 - compatible, one of:
5 "x-powers,axp209-battery-power-supply"
6 "x-powers,axp221-battery-power-supply"
7 "x-powers,axp813-battery-power-supply"
11 The supported devices can read the battery voltage, charge and discharge
12 currents of the battery by reading ADC channels from the ADC.
17 battery_power_supply: battery-power-supply {
18 compatible = "x-powers,axp209-battery-power-supply";
Dbq27xxx.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: "http://devicetree.org/schemas/power/supply/bq27xxx.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Pali Rohár <pali@kernel.org>
12 - Andrew F. Davis <afd@ti.com>
13 - Sebastian Reichel <sre@kernel.org>
17 register maps and power supply properties
20 - $ref: power-supply.yaml#
25 - ti,bq27200
[all …]
Dcw2015_battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/cw2015_battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery driver for CW2015 shuntless fuel gauge by CellWise.
10 - Tobias Schramm <t.schramm@manjaro.org>
13 The driver can utilize information from a simple-battery linked via a
14 phandle in monitored-battery. If specified the driver uses the
15 charge-full-design-microamp-hours property of the battery.
24 cellwise,battery-profile:
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Universal power supply monitor class
29 * For systems where the charger determines the maximum battery capacity
189 POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery Port */
202 POWER_SUPPLY_USB_TYPE_PD, /* Power Delivery Port */
204 POWER_SUPPLY_USB_TYPE_PD_PPS, /* PD Programmable Power Supply */
226 /* Run-time specific power supply configuration */
241 /* Description of power supply */
251 * Functions for drivers implementing power supply class.
253 * this power supply. Instead use power_supply_*() functions (for
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
39 **Battery and USB properties**
43 Contact: linux-pm@vger.kernel.org
45 Battery:
47 Reports an average IBAT current reading for the battery, over
66 Contact: linux-pm@vger.kernel.org
[all …]
Dsysfs-platform-dptf4 Contact: linux-acpi@vger.kernel.org
6 (RO) The charger type - Traditional, Hybrid or NVDC.
11 Contact: linux-acpi@vger.kernel.org
13 (RO) Adapter rating in milliwatts (the maximum Adapter power).
19 Contact: linux-acpi@vger.kernel.org
21 (RO) Maximum platform power that can be supported by the battery
27 Contact: linux-acpi@vger.kernel.org
29 (RO) Display the platform power source
32 bits[3:0] Current power source
33 - 0x00 = DC
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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
37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
39 **Battery and USB properties**
43 Contact: linux-pm@vger.kernel.org
45 Battery:
47 Reports an average IBAT current reading for the battery, over
66 Contact: linux-pm@vger.kernel.org
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ab8500/
Dfg.txt3 AB8500 is a mixed signal multimedia and power management
4 device comprising: power and energy-management-module,
5 wall-charger, usb-charger, audio codec, general purpose adc,
8 Fuelgauge support is part of energy-management-modules, other
10 main-charger, usb-combo-charger and battery-temperature-monitoring.
15 - compatible = This shall be: "stericsson,ab8500-fg"
16 - battery = Shall be battery specific information
19 compatible = "stericsson,ab8500-fg";
20 battery = <&ab8500_battery>;
27 'battery technology type' used.
[all …]

12345678910>>...39