Home
last modified time | relevance | path

Searched +full:battery +full:- +full:detect +full:- +full:gpios (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
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 …]
Dsbs,sbs-manager.txt1 Binding for sbs-manager
4 - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
7 - reg: integer, i2c address of the device. Should be <0xa>.
9 - gpio-controller: Marks the port as GPIO controller.
10 See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt.
11 - #gpio-cells: Should be <2>. The first cell is the pin number, the second cell
13 See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt.
15 From OS view the device is basically an i2c-mux used to communicate with up to
16 four smart battery devices at address 0xb. The driver actually implements this
17 behaviour. So standard i2c-mux nodes can be used to register up to four slave
[all …]
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#
7 title: SBS compliant battery
10 - Sebastian Reichel <sre@kernel.org>
13 Battery compatible with the smart battery system specifications
19 - items:
20 - enum:
21 - ti,bq20z65
[all …]
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 …]
Dlt3651-charger.txt1 Analog Devices LT3651 Charger Power Supply bindings: lt3651-charger
4 - compatible: Should contain one of the following:
5 * "lltc,ltc3651-charger", (DEPRECATED: Use "lltc,lt3651-charger")
6 * "lltc,lt3651-charger"
7 - lltc,acpr-gpios: Connect to ACPR output. See remark below.
10 - lltc,fault-gpios: Connect to FAULT output. See remark below.
11 - lltc,chrg-gpios: Connect to CHRG output. See remark below.
13 The lt3651 outputs are open-drain type and active low. The driver assumes the
17 The driver will attempt to aquire interrupts for all GPIOs to detect changes in
20 attributes to detect changes.
[all …]
Dact8945a-charger.txt1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device
4 - compatible: "active-semi,act8945a-charger".
5 - active-semi,chglev-gpios: charge current level phandle with args
7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle
9 - interrupts: <a b> where a is the interrupt number and b is a
14 - active-semi,input-voltage-threshold-microvolt: unit: mV;
15 Specifies the charger's input over-voltage threshold value;
17 - active-semi,precondition-timeout: unit: minutes;
21 - active-semi,total-timeout: unit: hours;
28 compatible = "active-semi,act8945a";
[all …]
/Linux-v5.10/arch/arm/mach-pxa/include/mach/
Dcorgi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Hardware specific definitions for SL-C7xx series of PDAs
5 * Copyright (c) 2004-2005 Richard Purdie
23 #define CORGI_GPIO_nSD_DETECT (9) /* MMC/SD Card Detect */
25 #define CORGI_GPIO_MAIN_BAT_LOW (11) /* Main Battery Low Notification */
26 #define CORGI_GPIO_BAT_COVER (11) /* Battery Cover Detect */
28 #define CORGI_GPIO_CF_CD (14) /* Compact Flash Card Detect */
33 #define CORGI_GPIO_ADC_TEMP_ON (21) /* Select battery voltage or temperature */
37 #define CORGI_GPIO_CHRG_ON (38) /* Enable battery Charging */
38 #define CORGI_GPIO_DISCHARGE_ON (42) /* Enable battery Discharge */
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dqcom-mdm9615-wp8548-mangoh-green.dts7 * This file is dual-licensed: you can use it either under the terms
46 #include <dt-bindings/input/input.h>
48 #include "qcom-mdm9615-wp8548.dtsi"
49 #include <dt-bindings/interrupt-controller/irq.h>
50 #include <dt-bindings/gpio/gpio.h>
54 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615";
65 stdout-path = "serial1:115200n8";
71 * - 2 : GPIOEXP_INT2
72 * - 7 : IOT1_GPIO2
73 * - 8 : IOT0_GPIO4
[all …]
Dexynos5250-snow-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/samsung-i2s.h>
27 stdout-path = "serial3:115200n8";
30 gpio-keys {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
Dtegra124-nyan.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
13 stdout-path = "serial0:115200n8";
19 * missing a unit-address. However, the bootloader on these Chromebook
21 * Adding the unit-address causes the bootloader to create a /memory
33 /delete-node/ memory@80000000;
39 vdd-supply = <&vdd_3v3_hdmi>;
40 pll-supply = <&vdd_hdmi_pll>;
41 hdmi-supply = <&vdd_5v0_hdmi>;
43 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
[all …]
Dqcom-apq8060-dragonboard.dts23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
27 #include "qcom-msm8660.dtsi"
31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
38 stdout-path = "serial0:115200n8";
42 compatible = "simple-bus";
45 vph: regulator-fixed {
46 compatible = "regulator-fixed";
[all …]
Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
13 stdout-path = &uart2;
16 gpio-keys {
17 compatible = "gpio-keys";
21 gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
[all …]
Dexynos3250-monk.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
33 compatible = "samsung,secure-firmware";
38 compatible = "gpio-keys";
41 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
44 debounce-interval = <10>;
[all …]
Dexynos3250-rinato.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
28 stdout-path = &serial_1;
37 compatible = "samsung,secure-firmware";
42 compatible = "gpio-keys";
45 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
[all …]
Dexynos5420-peach-pit.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/regulator/maxim,max77802.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos5420-cpus.dtsi"
21 compatible = "google,pit-rev16",
[all …]
Dexynos5800-peach-pi.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/regulator/maxim,max77802.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos5420-cpus.dtsi"
21 compatible = "google,pi-rev16",
[all …]
Dimx6q-novena.dts2 * Copyright 2015 Sutajio Ko-Usagi PTE LTD
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
49 /dts-v1/;
51 #include <dt-bindings/gpio/gpio.h>
52 #include <dt-bindings/input/input.h>
56 compatible = "kosagi,imx6q-novena", "fsl,imx6q";
65 stdout-path = &uart2;
69 compatible = "pwm-backlight";
71 pinctrl-names = "default";
[all …]
/Linux-v5.10/arch/arm/mach-pxa/
Dhx4700.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2008-2009 Philipp Zabel
8 * Copyright (c) 2004 Hewlett-Packard Company.
27 #include <linux/platform_data/gpio-htc-egpio.h>
31 #include <linux/regulator/gpio-regulator.h>
37 #include <linux/platform_data/i2c-pxa.h>
40 #include <asm/mach-types.h>
45 #include <linux/platform_data/irda-pxaficp.h>
88 /* FFUART (RS-232) */
134 /* HX4700 specific input GPIOs */
[all …]
Dcm-x300.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/cm-x300.c
5 * Support for the CompuLab CM-X300 modules
26 #include <linux/platform_data/rtc-v3020.h>
32 #include <linux/platform_data/i2c-pxa.h>
37 #include <linux/apm-emulation.h>
43 #include <asm/mach-types.h>
49 #include "pxa27x-udc.h"
50 #include <linux/platform_data/video-pxafb.h>
51 #include <linux/platform_data/mmc-pxamci.h>
[all …]
Dpalmte2.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <asm/mach-types.h>
34 #include <linux/platform_data/mmc-pxamci.h>
35 #include <linux/platform_data/video-pxafb.h>
36 #include <linux/platform_data/irda-pxaficp.h>
38 #include <linux/platform_data/asoc-palm27x.h>
50 GPIO10_GPIO, /* SD detect */
64 GPIO15_GPIO, /* usb detect */
89 GPIO9_GPIO, /* power detect */
90 GPIO15_GPIO, /* earphone detect */
[all …]
Dmagician.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110
5 * and T-Mobile MDA Compact.
7 * Copyright (c) 2006-2007 Philipp Zabel
20 #include <linux/mfd/htc-pasic3.h>
23 #include <linux/platform_data/gpio-htc-egpio.h>
28 #include <linux/regulator/gpio-regulator.h>
30 #include <linux/platform_data/i2c-pxa.h>
33 #include <asm/mach-types.h>
39 #include <linux/platform_data/video-pxafb.h>
[all …]
/Linux-v5.10/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
25 up to three buttons by simply using GPIOs and no mouse port. You can cut the
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
[all …]
/Linux-v5.10/drivers/mfd/
Dab8500-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
22 #include <linux/mfd/abx500/ab8500-bm.h>
23 #include <linux/mfd/dbx500-prcmu.h>
125 static bool no_bm; /* No battery management */
155 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22,
172 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
184 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked()
195 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read()
206 return -EINVAL; in ab8500_get_chip_id()
[all …]
Dtps65010.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * tps65010 - driver for tps6501x power management chips
6 * Copyright (C) 2004-2005 David Brownell
27 /*-------------------------------------------------------------------------*/
37 /*-------------------------------------------------------------------------*/
40 * voltage regulators, lithium ion/polymer battery charging, GPIOs, LEDs,
47 * battery-insert != device-on.
84 /*-------------------------------------------------------------------------*/
184 struct tps65010 *tps = s->private; in dbg_show()
190 switch (tps->model) { in dbg_show()
[all …]
/Linux-v5.10/include/linux/mfd/
Dtwl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * twl4030.h - header for TWL4030 PM and audio CODEC device
5 * Copyright (C) 2005-2006 Texas Instruments, Inc.
89 * Offset from TWL6030_IRQ_BASE / pdata->irq_base
167 * Read and write several 8-bit registers at once.
173 * Read and write single 8-bit registers
206 /* Card detect Configuration for MMC1 Controller on OMAP4 */
217 /* MMC1 Controller on OMAP4 uses Phoenix irq for Card detect */
224 return -EIO; in twl6030_mmc_card_detect()
227 /*----------------------------------------------------------------------*/
[all …]

12