Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.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>
18 push-button controller.
27 - ti,bq25150
28 - ti,bq25155
34 ac-detect-gpios:
[all …]
Dti,bq24735.txt5 - compatible : "ti,bq24735"
8 - interrupts : Specify the interrupt to be used to trigger when the AC
10 - ti,ac-detect-gpios : This GPIO is optionally used to read the AC adapter
13 the GPIO must be active on AC adapter absence despite ACOK being active
14 (high) on AC adapter presence.
15 - ti,charge-current : Used to control and set the charging current. This value
19 - ti,charge-voltage : Used to control and set the charging voltage. This value
23 - ti,input-current : Used to control and set the charger input current. This
27 - ti,external-control : Indicates that the charger is configured externally
30 - poll-interval : In case 'interrupts' is not specified, poll AC adapter
[all …]
/kernel/linux/linux-6.6/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>
17 push-button controller.
26 - ti,bq25150
27 - ti,bq25155
33 ac-detect-gpios:
35 GPIO used for connecting the bq2515x device PG (AC Detect)
[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#
24 description: AC adapter plug event interrupt
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
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
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 …]
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 …]
Dmioa701.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 #include <linux/platform_data/i2c-pxa.h>
33 #include <asm/mach-types.h>
37 #include "regs-rtc.h"
38 #include <linux/platform_data/keypad-pxa27x.h>
39 #include <linux/platform_data/video-pxafb.h>
40 #include <linux/platform_data/mmc-pxamci.h>
42 #include "pxa27x-udc.h"
43 #include <linux/platform_data/media/camera-pxa.h>
171 PWM_LOOKUP("pxa27x-pwm.0", 0, "pwm-backlight", NULL, 4000 * 1024,
[all …]
Dstargate2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/stargate2.c
9 * Modified 2009: Jonathan Cameron <jic23@cam.ac.uk>
22 #include <linux/mtd/plat-ram.h>
25 #include <linux/platform_data/i2c-pxa.h>
36 #include <asm/mach-types.h>
45 #include <linux/platform_data/mmc-pxamci.h>
47 #include "pxa27x-udc.h"
80 /* 802.15.4 radio - driver out of mainline */
92 /* SSP 3 - 802.15.4 radio */
[all …]
/kernel/linux/linux-6.6/sound/pci/ice1712/
Dpsc724.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org>
34 * VT1722 (Envy24GT) - 6 outputs, 4 inputs (only 2 used), 24-bit/96kHz
42 * AC-Link configuration ICE_EEP2_ACLINK=0x80
60 * 2-channel DAC used for main output and stereo ADC (with 10-channel MUX)
63 * MODE (pin16) -- GND
64 * CE (pin17) -- GND I2C mode (address=0x34)
65 * DI (pin18) -- SDA (VT1722 pin70)
66 * CL (pin19) -- SCLK (VT1722 pin71)
69 * 6-channel DAC used for rear & center/LFE outputs (only 4 channels used)
[all …]
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dpsc724.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org>
34 * VT1722 (Envy24GT) - 6 outputs, 4 inputs (only 2 used), 24-bit/96kHz
42 * AC-Link configuration ICE_EEP2_ACLINK=0x80
60 * 2-channel DAC used for main output and stereo ADC (with 10-channel MUX)
63 * MODE (pin16) -- GND
64 * CE (pin17) -- GND I2C mode (address=0x34)
65 * DI (pin18) -- SDA (VT1722 pin70)
66 * CL (pin19) -- SCLK (VT1722 pin71)
69 * 6-channel DAC used for rear & center/LFE outputs (only 4 channels used)
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dsta350.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
58 /* Power-up register defaults */
159 "vdd-dig", /* digital supply, 3.3V */
160 "vdd-pll", /* pll supply, 3.3V */
161 "vcc" /* power amp supply, 5V - 26V */
182 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
183 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
184 static const DECLARE_TLV_DB_SCALE(tone_tlv, -1200, 200, 0);
[all …]
Dsta32x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
58 /* Power-up register defaults */
136 "Vcc" /* power amp spply, 10V - 36V */
157 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
158 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
159 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
162 "Anti-Clipping", "Dynamic Range Compression" };
166 "User", "AC no clipping", "AC limited clipping (10%)",
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dsta350.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
55 /* Power-up register defaults */
156 "vdd-dig", /* digital supply, 3.3V */
157 "vdd-pll", /* pll supply, 3.3V */
158 "vcc" /* power amp supply, 5V - 26V */
179 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
180 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
181 static const DECLARE_TLV_DB_SCALE(tone_tlv, -1200, 200, 0);
[all …]
Dsta32x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system
35 #include <sound/soc-dapm.h>
55 /* Power-up register defaults */
133 "Vcc" /* power amp spply, 10V - 36V */
154 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
155 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
156 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
159 "Anti-Clipping", "Dynamic Range Compression" };
163 "User", "AC no clipping", "AC limited clipping (10%)",
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
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 …]
Dtegra30-asus-transformer-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/thermal/thermal.h>
8 #include "tegra30-cpu-opp.dtsi"
9 #include "tegra30-cpu-opp-microvolt.dtsi"
12 chassis-type = "convertible";
31 * pre-existing /chosen node to be available to insert the
37 trusted-foundations {
38 compatible = "tlm,trusted-foundations";
[all …]
Dtegra20-asus-tf101.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
16 chassis-type = "convertible";
33 * pre-existing /chosen node to be available to insert the
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
/kernel/linux/linux-5.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>
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()
207 ab8500 = dev_get_drvdata(dev->parent); 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 /*-------------------------------------------------------------------------*/
93 (chgstatus & TPS_CHG_AC) ? " AC" : "", in dbg_chgstat()
128 snprintf(buf, len, "%02x %s%s%s AC=%d%% USB=%dmA %sCharge\n", in dbg_chgconf()
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dab8500-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
22 #include <linux/mfd/dbx500-prcmu.h>
146 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22,
163 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
175 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked()
186 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read()
197 return -EINVAL; in ab8500_get_chip_id()
198 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id()
199 return ab8500 ? (int)ab8500->chip_id : -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 /*-------------------------------------------------------------------------*/
93 (chgstatus & TPS_CHG_AC) ? " AC" : "", in dbg_chgstat()
128 snprintf(buf, len, "%02x %s%s%s AC=%d%% USB=%dmA %sCharge\n", in dbg_chgconf()
[all …]
/kernel/linux/linux-6.6/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.
91 * Offset from TWL6030_IRQ_BASE / pdata->irq_base
169 * Read and write several 8-bit registers at once.
175 * Read and write single 8-bit registers
208 /* Card detect Configuration for MMC1 Controller on OMAP4 */
219 /* MMC1 Controller on OMAP4 uses Phoenix irq for Card detect */
226 return -EIO; in twl6030_mmc_card_detect()
229 /*----------------------------------------------------------------------*/
[all …]

123