Home
last modified time | relevance | path

Searched +full:li +full:- +full:ion (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/power/supply/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
153 Li+ batteries.
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
199 tristate "Sharp SL-5500 (collie) battery"
203 SL-5500 (collie) models.
214 called ingenic-battery.
233 Say Y to include support for SBS battery driver for SBS-compliant
[all …]
Dlego_ev3_battery.c46 val->intval = batt->technology; in lego_ev3_battery_get_property()
50 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property()
54 val->intval *= 2000; in lego_ev3_battery_get_property()
55 val->intval += 50000; in lego_ev3_battery_get_property()
58 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property()
64 val->intval += val2; in lego_ev3_battery_get_property()
67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
74 ret = iio_read_channel_processed(batt->iio_i, &val->intval); in lego_ev3_battery_get_property()
78 val->intval *= 20000; in lego_ev3_battery_get_property()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Drichtek,rt9471.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alina Yu <alina_yu@richtek.com>
11 - ChiYuan Huang <cy_huang@richtek.com>
14 RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
19 https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf
28 charge-enable-gpios:
32 wakeup-source: true
37 usb-otg-vbus-regulator:
[all …]
Drichtek,rt9467.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
11 - ChiaEn Wu <chiaen_wu@richtek.com>
14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
16 MOSFETs, input current sensing and regulation, high-accuracy voltage
20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates
21 D+/D- pin for USB host/charging port detection.
24 https://www.richtek.com/assets/product_file/RT9467/DS9467-01.pdf
[all …]
Dlego,ev3-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Lechner <david@lechnology.com>
11 - Sebastian Reichel <sre@kernel.org>
14 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery.
15 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is
19 - $ref: power-supply.yaml#
23 const: lego,ev3-battery
[all …]
Dbq256xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Davis <afd@ti.com>
14 The bq256xx devices are a family of highly-integrated battery charge
15 management and system power management ICs for single cell Li-ion and Li-
19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf
20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf
21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf
22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf
[all …]
Dbq24190.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
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
22 - ti,bq24196
[all …]
Dbq2415x.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
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
22 - ti,bq24151a
[all …]
Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI BQ24735 Li-Ion Battery Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
27 ti,ac-detect-gpios:
35 ti,charge-current:
43 ti,charge-voltage:
51 ti,input-current:
[all …]
Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - enum:
20 - ti,bq25890
21 - items:
22 - enum:
[all …]
Dbq24257.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dlego_ev3_battery.c46 val->intval = batt->technology; in lego_ev3_battery_get_property()
50 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property()
54 val->intval *= 2000; in lego_ev3_battery_get_property()
55 val->intval += 50000; in lego_ev3_battery_get_property()
58 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property()
64 val->intval += val2; in lego_ev3_battery_get_property()
67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
74 ret = iio_read_channel_processed(batt->iio_i, &val->intval); in lego_ev3_battery_get_property()
78 val->intval *= 20000; in lego_ev3_battery_get_property()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
105 tristate "Active-semi ACT8945A charger driver"
109 Active-semi ActivePath ACT8945A charger.
154 Li+ batteries.
159 tristate "DS2782/DS2786 standalone gas-gauge"
163 gas-gauge.
185 tristate "Sharp SL-6000 (tosa) battery"
189 SL-6000 (tosa) models.
192 tristate "Sharp SL-5500 (collie) battery"
196 SL-5500 (collie) models.
[all …]
Dpower_supply_sysfs.c1 // SPDX-License-Identifier: GPL-2.0-only
114 [POWER_SUPPLY_TECHNOLOGY_LION] = "Li-ion",
115 [POWER_SUPPLY_TECHNOLOGY_LIPO] = "Li-poly",
226 return to_ps_attr(attr) - power_supply_attrs; in dev_attr_psp()
239 for (i = 0; i < desc->num_usb_types; ++i) { in power_supply_show_usb_type()
240 usb_type = desc->usb_types[i]; in power_supply_show_usb_type()
242 if (value->intval == usb_type) { in power_supply_show_usb_type()
254 return -EINVAL; in power_supply_show_usb_type()
258 buf[count - 1] = '\n'; in power_supply_show_usb_type()
273 value.intval = psy->desc->type; in power_supply_show_property()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dlego_ev3_battery.txt4 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery.
5 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is
9 - compatible: Must be "lego,ev3-battery"
10 - io-channels: phandles to analog inputs for reading voltage and current
11 - io-channel-names: Must be "voltage", "current"
12 - rechargeable-gpios: phandle to the rechargeable battery indication gpio
17 compatible = "lego,ev3-battery";
18 io-channels = <&adc 4>, <&adc 3>;
19 io-channel-names = "voltage", "current";
20 rechargeable-gpios = <&gpio 136 GPIO_ACTIVE_LOW>;
Dbq2415x.txt1 Binding for TI bq2415x Li-Ion Charger
4 - compatible: Should contain one of the following:
17 - reg: integer, i2c address of the device.
18 - ti,current-limit: integer, initial maximum current charger can pull
20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
24 - ti,charge-current: integer, maximum charging current in mA.
25 - ti,termination-current: integer, charge will be terminated when current in
26 constant-voltage phase drops below this value (in mA).
27 - ti,resistor-sense: integer, value of sensing resistor in milliohm.
[all …]
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
15 + precharge-current-microamp: maximum charge current during precharge
17 + charge-term-current-microamp: a charge cycle terminates when the
21 - ti,system-minimum-microvolt: when power is connected and the battery is below
25 - usb-otg-vbus:
31 - Some circuit boards wire the chip's "OTG" pin high (enabling 500mA default
[all …]
Dbq25890.txt1 Binding for TI bq25890 Li-Ion Charger
7 - compatible: Should contain one of the following:
12 - reg: integer, i2c address of the device.
13 - interrupts: interrupt line;
14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
15 - ti,charge-current: integer, maximum charging current (in uA);
16 - ti,termination-current: integer, charge will be terminated when current in
17 constant-voltage phase drops below this value (in uA);
18 - ti,precharge-current: integer, maximum charge current during precharge
20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below
[all …]
Dbq24257.txt1 Binding for TI bq24250/bq24251/bq24257 Li-Ion Charger
4 - compatible: Should contain one of the following:
8 - reg: integer, i2c address of the device.
9 - interrupts: Interrupt mapping for GPIO IRQ (configure for both edges). Use in
10 conjunction with "interrupt-parent".
11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV.
12 - ti,charge-current: integer, maximum charging current in uA.
13 - ti,termination-current: integer, charge will be terminated when current in
14 constant-voltage phase drops below this value (in uA).
17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Drn5t618.txt4 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
6 The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
11 - compatible: must be one of
15 - reg: the I2C slave address of the device
18 - interrupts: interrupt mapping for IRQ
19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20 - system-power-controller:
21 See Documentation/devicetree/bindings/power/power-controller.txt
23 Sub-nodes:
24 - regulators: the node is required if the regulator functionality is
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dricoh,rn5t618.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Kemnade <andreas@kemnade.info>
14 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
16 The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
21 - if:
30 "^(DCDC[1-4]|LDO[1-5]|LDORTC[12])$":
33 - if:
42 "^(DCDC[1-3]|LDO[1-5]|LDORTC[12])$":
[all …]
Dmediatek,mt6370.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 MT6370 is a highly-integrated smart power management IC, which includes a
14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
26 wakeup-source: true
31 interrupt-controller: true
33 "#interrupt-cells":
46 const: mediatek,mt6370-adc
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-cht-wc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved.
62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, &reg); in cht_wc_i2c_adap_thread_handler()
67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler()
68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler()
75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler()
77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler()
81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
Dassabet.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-sa1100/assabet.c
7 * This file contains all Assabet-specific tweaks.
13 #include <linux/gpio/gpio-reg.h>
17 #include <linux/platform_data/sa11x0-serial.h>
33 #include <asm/mach-types.h>
36 #include <asm/pgtable-hwdef.h>
41 #include <linux/platform_data/irda-sa11x0.h>
44 #include <linux/platform_data/mfd-mcp-sa11x0.h>
83 assabet_bcr_gc->set_multiple(assabet_bcr_gc, &m, &v); in ASSABET_BCR_frob()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-sa1100/
Dassabet.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-sa1100/assabet.c
7 * This file contains all Assabet-specific tweaks.
14 #include <linux/gpio/gpio-reg.h>
18 #include <linux/platform_data/sa11x0-serial.h>
34 #include <asm/mach-types.h>
37 #include <asm/pgtable-hwdef.h>
44 #include <linux/platform_data/mfd-mcp-sa11x0.h>
83 assabet_bcr_gc->set_multiple(assabet_bcr_gc, &m, &v); in ASSABET_BCR_frob()
93 gc = gpio_reg_init(NULL, reg, -1, 32, "assabet", 0xff000000, def_val, in assabet_init_gpio()
[all …]

12