Home
last modified time | relevance | path

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

12345678

/linux/Documentation/devicetree/bindings/power/supply/
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery Characteristics
10 - Sebastian Reichel <sre@kernel.org>
13 The devicetree battery node provides static battery characteristics.
14 In smart batteries, these are typically stored in non-volatile memory
15 on a fuel gauge chip. The battery node should be used where there is
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
[all …]
H A 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
19 monitor the current/power flowing out of the battery. Last but not
[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#
10 - Sebastian Reichel <sre@kernel.org>
18 const: charger-manager
20 cm-chargers:
22 $ref: /schemas/types.yaml#/definitions/string-array
24 cm-num-chargers:
28 cm-fuel-gauge:
[all …]
H A Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Battery charger driver for SMB345, SMB347 and SMB358
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
[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 Dstericsson,ab8500-btemp.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AB8500 Battery Temperature Monitor
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
18 const: stericsson,ab8500-btemp
20 monitored-battery:
22 description: phandle to battery node
[all …]
H A Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
21 const: maxim,max77693-charger
23 maxim,constant-microvolt:
25 Battery constant voltage in uV. The charger will operate in fast
26 charge constant current mode till battery voltage reaches this level.
30 Valid values: 3650000 - 4400000, step by 25000 (rounded down)
35 maxim,min-system-microvolt:
[all …]
H A Dmaxim,max17042.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - maxim,max17042
19 - maxim,max17047
20 - maxim,max17050
21 - maxim,max17055
22 - maxim,max77849-battery
[all …]
H A Dlltc,ltc294x.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges
10 All chips measure battery capacity.
12 temperature monitoring, and is runtime detected. LTC2943 and LTC2944
14 for the charge counter and adds voltage, current and temperature monitoring.
17 - Sebastian Reichel <sre@kernel.org>
20 - $ref: power-supply.yaml#
25 - lltc,ltc2941
[all …]
H A Dmediatek,mt6370-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6370 Battery Charger
10 - ChiaEn Wu <chiaen_wu@richtek.com>
14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection.
18 const: mediatek,mt6370-charger
34 - description: irq of "USB is plugged in"
35 - description: irq of "BC1.2 is done"
[all …]
/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * For systems where the charger determines the maximum battery capacity
226 /* Run-time specific power supply configuration */
349 int vbat_uv; /* Battery voltage in microvolt */
354 * struct power_supply_maintenance_charge_table - setting for maintenace charging
356 * the charge of the battery full as current is consumed after full charging.
371 * for the battery.
378 * charger: instead they will at all times dissipate the battery a little, like
387 * +-------------------------------------------------------------------> t
389 * Practically this means that the Li-ions are wandering back and forth in the
[all …]
/linux/drivers/power/supply/
H A Dab8500_btemp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
5 * Battery temperature driver for AB8500
31 #include <linux/fixp-arith.h>
33 #include "ab8500-bm.h"
35 #define BTEMP_THERMAL_LOW_LIMIT -10
51 * struct ab8500_btemp_interrupts - ab8500 interrupts
77 * struct ab8500_btemp - ab8500 BTEMP device information
81 * @bat_temp: Dispatched battery temperature in degree Celsius
82 * @prev_bat_temp Last measured battery temperature in degree Celsius
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 power supply device (current, voltage, temperature) to be
36 battery class devices.
39 tristate "Generic battery support using IIO"
42 Say Y here to enable support for the generic battery driver
51 which include a battery charger and a boost converter.
54 tristate "MAX8925 battery charger support"
57 Say Y here to enable support for the battery charger in the Maxim
61 tristate "WM831X backup battery charger support"
64 Say Y here to enable support for the backup battery charger
[all …]
H A Drx51_battery.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Nokia RX-51 battery driver
39 * This conversion formula was extracted from maemo program bsi-read
43 int voltage = rx51_battery_read_adc(di->channel_vbat); in rx51_battery_read_voltage()
46 dev_err(di->dev, "Could not read ADC: %d\n", voltage); in rx51_battery_read_voltage()
54 * Temperature look-up tables
55 * TEMP = (1/(t1 + 1/298) - 273.15)
57 * Formula is based on experimental data, RX-51 CAL data, maemo program bme
62 * Table1 (temperature for first 25 RAW values)
73 * Table2 (lowest RAW value for temperature)
[all …]
H A Dipaq_micro_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * h3xxx atmel micro companion support, battery subdevice
13 #include <linux/mfd/ipaq-micro.h>
32 #define MICRO_BATT_STATUS_DEAD 0x20 /* Battery will not charge */
34 #define MICRO_BATT_STATUS_FULL 0x40 /* Battery fully charged */
45 u16 temperature; member
60 /* First send battery message */ in micro_battery_work()
61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work()
73 * byte 5-9: same for battery 2 in micro_battery_work()
75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work()
[all …]
H A Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
168 /* Backup battery constants */
194 /* Battery OVV constants */
242 /* Battery type */
267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
278 * @lowbat_threshold_uv: Low battery threshold, in uV
287 * battery full while in maintenance, in per cent
292 * @pcut_debounce_time: Sets battery debounce time
317 * struct ab8500_charger_maximization - struct used by the board config.
318 * @use_maxi: Enable maximization for this battery type
[all …]
/linux/Documentation/hwmon/
H A Dda9052.rst6 * Dialog Semiconductors DA9052-BC and DA9053-AA/Bx PMICs
15 -----------
26 Channel 0 VDDOUT - measurement of the system voltage
27 Channel 1 ICH - internal battery charger current measurement
28 Channel 2 TBAT - output from the battery NTC
29 Channel 3 VBAT - measurement of the battery voltage
30 Channel 4 ADC_IN4 - high impedance input (0 - 2.5V)
31 Channel 5 ADC_IN5 - high impedance input (0 - 2.5V)
32 Channel 6 ADC_IN6 - high impedance input (0 - 2.5V)
33 Channel 7 XY - TSI interface to measure the X and Y voltage of the touch
[all …]
H A Dtwl4030-madc-hwmon.rst1 Kernel driver twl4030-madc
8 Prefix: 'twl4030-madc'
12 J Keerthy <j-keerthy@ti.com>
15 -----------
18 other things it contains a 10-bit A/D converter MADC. The converter has 16
27 0 Battery type(BTYPE)
28 1 BCI: Battery temperature (BTEMP)
36 9 Backup Battery voltage (VBKP)
37 10 BCI: Battery charger current (ICHG)
38 11 BCI: Battery charger voltage (VCHG)
[all …]
H A Dit87.rst174 - Christophe Gauthron
175 - Jean Delvare <jdelvare@suse.de>
179 -----------------
183 each read. Default is 0. On some boards the battery voltage is provided
184 by either the battery or the onboard power supply. Only the first reading
185 at power on will be the actual battery voltage (which the chip does
186 automatically). On other boards the battery voltage is always fed to
188 battery life but no information is given in the datasheet.
192 misconfigured by BIOS - PWM values would be inverted. This option tries
209 Provided since there are reports that system-wide acpi_enfore_resources=lax
[all …]
/linux/Documentation/power/
H A Dpower_supply_class.rst7 Power supply class used to represent battery, UPS, AC or DC power supply
8 properties to user-space.
25 typically expected feedback of battery charging/fully charged status and
60 +--------------------------------------------------------------------------+
61 | **Charge/Energy/Capacity - how to not confuse** |
62 +--------------------------------------------------------------------------+
64 | of battery, this class distinguish these terms. Don't mix them!** |
66 | - `CHARGE_*` |
68 | - `ENERGY_*` |
70 | - `CAPACITY` |
[all …]
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
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
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
29 shows combined information as a single power-supply-class.
[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
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 …]
/linux/include/linux/power/
H A Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * monitor charging even in the context of suspend-to-RAM with
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
86 * Set if the charger-manager cannot control charger,
126 * @psy_name: the name of power-supply-class for charger manager
130 * Check voltage drop after the battery is fully charged.
138 * If full capacity of battery >= fullbatt_full_capacity,
141 * charger manager will monitor battery health
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,spmi-rradc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Caleb Connolly <caleb.connolly@linaro.org>
14 read the voltage, current and temperature for supported peripherals such as
15 the battery thermistor die temperature, charger temperature, USB and DC input
16 voltage / current and battery ID resistor.
21 - qcom,pmi8998-rradc
22 - qcom,pm660-rradc
[all …]
/linux/Documentation/w1/slaves/
H A Dw1_ds2438.rst6 * Maxim DS2438 Smart Battery Monitor
16 -----------
19 a battery pack. It also has a 40 bytes of nonvolatile EEPROM.
20 Because the ability of temperature, current and voltage measurement, the chip
28 -----
36 When writing to sysfs file bits 2-7 are ignored, so it's safe to write ASCII.
40 -------
48 -------
56 --------
57 This file controls the 2-byte Offset Register of the chip.
[all …]

12345678