Home
last modified time | relevance | path

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

1234567

/linux/Documentation/devicetree/bindings/power/supply/
H A Dgpio-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
19 const: gpio-charger
21 charger-type:
23 - unknown
24 - battery
25 - ups
[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:
24 description: charge current level GPIO
[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 - Andrew Davis <afd@ti.com>
15 integrates the most common functions for wearable devices, namely a charger,
17 push-button controller.
19 Specifications about the charger can be found at:
26 - ti,bq25150
27 - ti,bq25155
[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 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 …]
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 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:
30 This GPIO is optionally used to read the AC adapter status. This is a Host GPIO
32 Note: for backwards compatibility reasons, the GPIO must be active on AC adapter
35 ti,charge-current:
[all …]
H A Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
23 - ti,bq20z45
24 - ti,bq20z65
[all …]
H A Drichtek,rt9471.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT9471 3A Single Cell Switching Battery charger
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:
29 description: GPIO used to turn on and off charging.
[all …]
H A Disp1704.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: NXP ISP1704 USB Charger Detection
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
20 nxp,enable-gpio:
22 description: GPIO connected to the chip's enable pin
24 usb-phy:
29 - compatible
[all …]
H A Drichtek,rt9467.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT9467 Switching Battery Charger with Power Path Management
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.
[all …]
H A Dmaxim,max8903.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim Semiconductor MAX8903 Battery Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
19 dok-gpios:
23 uok-gpios:
27 cen-gpios:
31 chg-gpios:
[all …]
/linux/drivers/power/supply/
H A Dmax8903_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
9 #include <linux/gpio/consumer.h>
27 struct gpio_desc *cen; /* Charger Enable input */
30 struct gpio_desc *chg; /* Charger status output */
32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
40 POWER_SUPPLY_PROP_STATUS, /* Charger status output */
53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
54 if (data->chg) { in max8903_get_property()
55 if (gpiod_get_value(data->chg)) in max8903_get_property()
[all …]
H A Dgpio-charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
4 * Driver for chargers which report their online status through a GPIO pin
16 #include <linux/gpio/consumer.h>
18 #include <linux/power/gpio-charger.h>
31 struct power_supply *charger; member
44 struct power_supply *charger = devid; in gpio_charger_irq() local
46 power_supply_changed(charger); in gpio_charger_irq()
59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit()
60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit()
[all …]
H A Dlt3651-charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Analog Devices (Linear Technology) LT3651 charger IC.
8 #include <linux/gpio/consumer.h>
19 struct power_supply *charger; member
28 struct power_supply *charger = devid; in lt3651_charger_irq() local
30 power_supply_changed(charger); in lt3651_charger_irq()
48 if (!lt3651_charger->chrg_gpio) { in lt3651_charger_get_property()
49 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in lt3651_charger_get_property()
52 if (gpiod_get_value(lt3651_charger->chrg_gpio)) in lt3651_charger_get_property()
53 val->intval = POWER_SUPPLY_STATUS_CHARGING; in lt3651_charger_get_property()
[all …]
H A Dact8945a_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Power supply driver for the Active-semi ACT8945A PMIC
16 #include <linux/gpio/consumer.h>
19 static const char *act8945a_charger_manufacturer = "Active-semi";
22 * ACT8945A Charger Register Map
209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level() argument
214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level()
268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205
276 static int act8945a_get_current_max(struct act8945a_charger *charger, in act8945a_get_current_max() argument
282 int chgin_level = gpiod_get_value(charger->chglev_gpio); in act8945a_get_current_max()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
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
93 tristate "ADP5061 battery charger driver"
98 charger.
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
[all …]
H A Dbq24735-charger.c2 * Battery charger driver for TI BQ24735
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #include <linux/devm-helpers.h>
28 #include <linux/gpio/consumer.h>
32 #include <linux/power/bq24735-charger.h>
50 struct power_supply *charger; member
111 static int bq24735_config_charger(struct bq24735 *charger) in bq24735_config_charger() argument
113 struct bq24735_platform *pdata = charger->pdata; in bq24735_config_charger()
117 if (pdata->ext_control) in bq24735_config_charger()
120 if (pdata->charge_current) { in bq24735_config_charger()
[all …]
H A Dcpcap-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Motorola CPCAP PMIC battery charger driver
10 * Copyright (C) 2009-2010 Motorola, Inc.
25 #include <linux/gpio/consumer.h>
30 #include <linux/mfd/motorola-cpcap.h>
37 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1
42 #define CPCAP_REG_CRM_CHRG_LED_EN BIT(13) /* Charger LED */
89 * values in "Table 8-3. Charge Path Regulator Current Limit
130 struct gpio_desc *gpio[2]; /* gpio_reven0 & 1 */ member
180 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; in cpcap_charger_get_charge_voltage()
[all …]
/linux/Documentation/devicetree/bindings/w1/
H A Dw1.txt5 Slave devices are listed as sub-nodes of such master devices. For now, only
11 charger: charger {
12 compatible = "gpio-charger";
13 charger-type = "mains";
14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
18 compatible = "w1-gpio";
19 gpios = <&gpio 100 0>, <&gpio 101 0>;
23 power-supplies = <&charger>;
/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max8997.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
15 motor driver, flash LED driver and Micro-USB Interface Controller.
17 The binding here is not complete and describes only regulator and charger
22 const: maxim,max8997-pmic
24 charger-supply:
30 - description: irq1 interrupt
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91-natte.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * at91-natte.dts - Device Tree include file for the Natte board
11 mux: mux-controller {
12 compatible = "gpio-mux";
13 #mux-control-cells = <0>;
15 mux-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>,
20 batntc-mux {
21 compatible = "io-channel-mux";
22 io-channels = <&adc 5>;
23 io-channel-names = "parent";
[all …]
/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-controller.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "pxa300-raumfeld-common.dtsi"
9 compatible = "raumfeld,raumfeld-controller-pxa303", "marvell,pxa300";
11 reg_vbatt: regulator-vbatt {
12 compatible = "regulator-fixed";
13 regulator-name = "vbatt-fixed-supply";
14 regulator-min-microvolt = <3700000>;
15 regulator-max-microvolt = <3700000>;
16 regulator-always-on;
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dsprd,sc2731.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
18 - DCDCs to support CPU, memory
19 - LDOs to support both internal and external requirements
20 - Battery management system, such as charger, fuel gauge
21 - Audio codec
[all …]
/linux/drivers/mfd/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 necessary for using the board's GPIO and MFGPT functionality.
30 Say yes here to add support for the Analog Devices ADP5585 GPIO
33 the GPIO and PWM functions under the corresponding menus.
43 accessing the external gpio extender (LEDs & buttons) and
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
65 charger.
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
[all …]

1234567