Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A 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 bindings
11 - Artur Rojek <contact@artur-rojek.eu>
16 - const: ingenic,jz4740-battery
17 - items:
18 - enum:
[all …]
H A Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
15 The BQ2515x family is a highly integrated battery charge management IC that
17 an output voltage rail, ADC for battery and system monitoring, and
18 push-button controller.
27 - ti,bq25150
[all …]
H A Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 for use in high-power density portable electronics. These inductorless
21 - $ref: power-supply.yaml#
26 - ti,bq25980
27 - ti,bq25975
28 - ti,bq25960
[all …]
H A Dcw2015_battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
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:
26 This property specifies characteristics of the battery used. The format
[all …]
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 Dsc2731_charger.txt1 Spreadtrum SC2731 PMIC battery charger binding
4 - compatible: Should be "sprd,sc2731-charger".
5 - reg: Address offset of charger register.
6 - phys: Contains a phandle to the USB phy.
9 - monitored-battery: phandle of battery characteristics devicetree node.
10 The charger uses the following battery properties:
11 - charge-term-current-microamp: current for charge termination phase.
12 - constant-charge-voltage-max-microvolt: maximum constant input voltage.
13 See Documentation/devicetree/bindings/power/supply/battery.txt
17 bat: battery {
[all …]
H A Dbq24190.txt1 TI BQ24190 Li-Ion Battery Charger
4 - compatible: contains one of the following:
9 - reg: integer, I2C address of the charger.
10 - interrupts[-extended]: configuration for charger INT pin.
13 - monitored-battery: phandle of battery characteristics devicetree node
14 The charger uses the following battery properties:
15 + precharge-current-microamp: maximum charge current during precharge
16 phase (typically 20% of battery capacity).
17 + charge-term-current-microamp: a charge cycle terminates when the
18 battery voltage is above recharge threshold, and the current is below
[all …]
H A Dsc27xx-fg.txt4 - compatible: Should be one of the following:
5 "sprd,sc2720-fgu",
6 "sprd,sc2721-fgu",
7 "sprd,sc2723-fgu",
8 "sprd,sc2730-fgu",
9 "sprd,sc2731-fgu".
10 - reg: The address offset of fuel gauge unit.
11 - battery-detect-gpios: GPIO for battery detection.
12 - io-channels: Specify the IIO ADC channels to get temperature and charge voltage.
13 - io-channel-names: Should be "bat-temp" or "charge-vol".
[all …]
H A Dsgm41542_charger.txt1 Binding for sgm41542 battery charger
4 - compatible: "sgm,sgm41542" for sgm41542 Charger Power Supply
5 - monitored-battery: phandle of battery characteristics devicetree node
6 - input-voltage-limit-microvolt: integer, input voltage level in uV, used to
9 - input-current-limit-microamp: integer, input current value in uA drained by the
13 - vbus5v0_typec:
23 input-voltage-limit-microvolt = <4500000>;
24 input-current-limit-microamp = <3000000>;
25 monitored-battery = <&bat>;
27 vbus5v0_typec: vbus5v0-typec {
[all …]
H A Dbq27xxx.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
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>
20 - $ref: power-supply.yaml#
25 - ti,bq27200
26 - ti,bq27210
27 - ti,bq27500 # deprecated, use revision specific property below
[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 Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD99954 Battery charger
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.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
[all …]
H A Dsc8551_charger.txt1 Binding for sc8551 battery charger
4 - compatible: "sc,sc8551-standalone" for sc8551 Charger Power Supply
5 - monitored-battery: phandle of battery characteristics devicetree node
6 - interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
7 "interrupt-parent". If an interrupt is not provided the driver will switch
10 - input-voltage-limit-microvolt: integer, input voltage level in uV, used to
13 - input-current-limit-microamp: integer, input current value in uA drained by the
16 - sc,sc8551,bat-ovp-disable: enable the battery over voltage protection
17 - sc,sc8551,bat-ocp-disable: enable the battery over current protection
18 - sc,sc8551,bus-ocp-disable: enable the bus over voltage protection
[all …]
H A Drockchip-charger-manager.txt1 rockchip-charger-manager bindings
5 - compatible : "rockchip-charger-manager"
6 - cm-chargers : name of charger
7 - cm-fuel-gauge : name of battery fuel gauge
8 - cm-charge-pump : name of battery charge pump
11 - cm-poll-mode : polling mode - 0 for disabled, 1 for always, 2 for when
14 - cm-poll-interval : polling interval (in ms)
17 charger-manager {
18 compatible = "rockchip-charger-manager";
19 cm-poll-mode = <2>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dab8500.rst6 * ST-Ericsson AB8500
10 Addresses scanned: -
15 - Martin Persson <martin.persson@stericsson.com>
16 - Hongbo Zhang <hongbo.zhang@linaro.org>
19 -----------
21 See also Documentation/hwmon/abx500.rst. This is the ST-Ericsson AB8500 specific
24 Currently only the AB8500 internal sensor and one external sensor for battery
25 temperature are monitored. Other GPADC channels can also be monitored if needed
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 Df71805f.rst44 -----------
54 additional internal voltages monitored (VSB and battery). It also features
57 The Fintek F71806F/FG Super-I/O chip is essentially the same as the
65 ------------------
67 Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported
71 factor 2. For the F71872F/FG, in9 (VSB) and in10 (battery) are also
84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V
89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V
90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_
111 --------------
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/sprd/
H A Dsc2731.dtsi6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
13 spi-max-frequency = <26000000>;
15 interrupt-controller;
16 #interrupt-cells = <1>;
17 #address-cells = <1>;
18 #size-cells = <0>;
21 compatible = "sprd,sc2731-charger";
23 monitored-battery = <&bat>;
26 led-controller@200 {
27 compatible = "sprd,sc2731-bltc";
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dcw2017_battery.c1 // SPDX-License-Identifier: GPL-2.0
7 * Authors: Shunqing Chen <csq@rock-chips.com>
73 struct power_supply_battery_info battery; member
102 ret = regmap_bulk_read(cw_bat->regmap, reg, &value, sizeof(value)); in cw_read_word()
114 regmap_write(cw_bat->regmap, CW2017_REG_MODE_CONFIG, reg_val); in cw2017_enable()
117 regmap_write(cw_bat->regmap, CW2017_REG_MODE_CONFIG, reg_val); in cw2017_enable()
120 regmap_write(cw_bat->regmap, CW2017_REG_MODE_CONFIG, reg_val); in cw2017_enable()
130 /* write new battery info */ in cw_update_profile()
131 ret = regmap_raw_write(cw_bat->regmap, CW2017_REG_BATINFO, in cw_update_profile()
132 cw_bat->bat_profile, in cw_update_profile()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 battery class devices.
48 tristate "Generic battery support using IIO"
51 Say Y here to enable support for the generic battery driver
55 tristate "MAX8925 battery charger support"
58 Say Y here to enable support for the battery charger in the Maxim
62 tristate "WM831X backup battery charger support"
65 Say Y here to enable support for the backup battery charger
88 tristate "Marvell 88PM860x battery driver"
91 Say Y here to enable battery monitor for Marvell 88PM860x chip.
[all …]
H A Dcw2015_battery.c1 // SPDX-License-Identifier: GPL-2.0
8 * Authors: xuhuicong <xhc@rock-chips.com>
64 struct power_supply_battery_info battery; member
90 ret = regmap_bulk_read(cw_bat->regmap, reg, &value, sizeof(value)); in cw_read_word()
105 ret = regmap_read(cw_bat->regmap, CW2015_REG_MODE, &reg_val); in cw_update_profile()
111 dev_err(cw_bat->dev, in cw_update_profile()
112 "Gauge is in sleep mode, can't update battery info\n"); in cw_update_profile()
113 return -EINVAL; in cw_update_profile()
116 /* write new battery info */ in cw_update_profile()
117 ret = regmap_raw_write(cw_bat->regmap, CW2015_REG_BATINFO, in cw_update_profile()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dqi_lb60.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/iio/adc/ingenic,adc.h>
8 #include <dt-bindings/clock/ingenic,tcu.h>
9 #include <dt-bindings/input/input.h>
27 stdout-path = &uart0;
31 compatible = "regulator-fixed";
32 regulator-name = "vcc";
34 regulator-min-microvolt = <3300000>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/power/powercap/
H A Ddtpm.rst1 .. SPDX-License-Identifier: GPL-2.0
8 increasing number of hotspots which need to be monitored and mitigated
15 reduce the battery charging because the dissipated power is too high
48 `-- pkg
50 |-- pd0 (cpu0-3)
52 `-- pd1 (cpu4-5)
56 SoC (400mW - 3100mW)
58 `-- pkg (400mW - 3100mW)
60 |-- pd0 (100mW - 700mW)
62 `-- pd1 (300mW - 2400mW)
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
H A Drk3188-bqedison2qc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/i2c/i2c.h>
9 #include <dt-bindings/input/input.h>
13 model = "BQ Edison2 Quad-Core";
14 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
22 compatible = "pwm-backlight";
23 power-supply = <&vsys>;
27 gpio-keys {
28 compatible = "gpio-keys";
[all …]

12