Home
last modified time | relevance | path

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

12

/Linux-v6.1/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 - Andrew Davis <afd@ti.com>
14 The BQ2515x family is a highly integrated battery charge management IC that
16 an output voltage rail, ADC for battery and system monitoring, and
17 push-button controller.
26 - ti,bq25150
27 - ti,bq25155
[all …]
Dsbs,sbs-manager.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-manager.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - items:
19 - enum:
20 - lltc,ltc1760
21 - enum:
[all …]
Dsc27xx-fg.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - sprd,sc2720-fgu
19 - sprd,sc2721-fgu
20 - sprd,sc2723-fgu
21 - sprd,sc2730-fgu
[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
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
[all …]
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#
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#
24 const: motorola,mapphone-cpcap-charger
[all …]
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:
26 active-semi,lbo-gpios:
[all …]
Dbq24735.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Binding for 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 …]
/Linux-v6.1/drivers/power/supply/
Dtosa_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Battery and Power Management code for the Sharp SL-6000x
17 #include <asm/mach-types.h>
54 if (!bat->gpiod_bat || bat->adc_bat < 0) in tosa_read_bat()
58 gpiod_set_value(bat->gpiod_bat, 1); in tosa_read_bat()
60 value = wm97xx_read_aux_adc(dev_get_drvdata(bat->psy->dev.parent), in tosa_read_bat()
61 bat->adc_bat); in tosa_read_bat()
62 gpiod_set_value(bat->gpiod_bat, 0); in tosa_read_bat()
65 value = value * 1000000 / bat->adc_bat_divider; in tosa_read_bat()
74 if (!bat->gpiod_temp || bat->adc_temp < 0) in tosa_read_temp()
[all …]
/Linux-v6.1/arch/arm/mach-pxa/
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 …]
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>
39 #include <asm/mach-types.h>
43 #include "addr-map.h"
45 #include <linux/platform_data/irda-pxaficp.h>
88 /* FFUART (RS-232) */
[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>
45 #include <asm/mach-types.h>
51 #include "pxa27x-udc.h"
52 #include <linux/platform_data/video-pxafb.h>
53 #include <linux/platform_data/mmc-pxamci.h>
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dimx6dl-b1x5pv2.dtsi1 // SPDX-License-Identifier: GPL-2.0 or MIT
6 // Copyright 2018-2021 General Electric Company
7 // Copyright 2018-2021 Collabora
9 #include <dt-bindings/input/input.h>
10 #include "imx6dl-qmx6.dtsi"
14 stdout-path = &uart3;
20 operating-points = <
25 fsl,soc-operating-points = <
26 /* ARM kHz SOC-PU uV */
33 operating-points = <
[all …]
Dste-ux500-samsung-kyle.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle.
10 /dts-v1/;
11 #include "ste-db8500.dtsi"
12 #include "ste-ab8505.dtsi"
13 #include "ste-dbx5x0-pinctrl.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-gavini.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-codina-tmo.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO,
4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively
5 * for T-Mobile in the United States.
8 * - No CPU speed cap, full ~1GHz rate
9 * - Different power management IC, AB8505
10 * - As AB8505 has a micro USB phy, no TI TSU6111
11 * - Different power routing such as the removal of the external LDO for the
13 * - Using a regulator for the key backlight LED
14 * - Using the Samsung S6D27A1 panel by default
[all …]
Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
20 battery: battery { label
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
[all …]
Dste-ux500-samsung-codina.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina.
11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China).
12 * The GT-I8160 plain is known as the "europe" variant.
13 * The GT-I8160P is the CDMA version and it appears to not use the ST
15 * The GT-I8160chn appears to be the same as the europe variant.
17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device
21 /dts-v1/;
22 #include "ste-db8500.dtsi"
23 #include "ste-ab8500.dtsi"
[all …]
Dste-ux500-samsung-janice.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-skomer.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8505.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
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 …]
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href-ab8500.dtsi"
7 #include "ste-href.dtsi"
10 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
13 thermal-zones {
14 chassis-thermal {
16 polling-delay = <20000>;
18 polling-delay-passive = <2000>;
[all …]
Dtegra124-nyan.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/thermal/thermal.h>
14 stdout-path = "serial0:115200n8";
20 * missing a unit-address. However, the bootloader on these Chromebook
22 * Adding the unit-address causes the bootloader to create a /memory
34 /delete-node/ memory@80000000;
40 vdd-supply = <&vdd_3v3_hdmi>;
41 pll-supply = <&vdd_hdmi_pll>;
42 hdmi-supply = <&vdd_5v0_hdmi>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3326-odroid-go2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
14 model = "ODROID-GO Advance";
15 compatible = "hardkernel,rk3326-odroid-go2", "rockchip,rk3326";
22 stdout-path = "serial2:115200n8";
25 adc-joystick {
26 compatible = "adc-joystick";
[all …]
/Linux-v6.1/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 …]

12