Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
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 - 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3036-evb1-ddr3-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
14 compatible = "rockchip,rk3036-evb1-ddr3-v10", "rockchip,rk3036";
17 …bootargs = "console=uart8250,mmio32,0x20068000 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 root…
25 multi_sounds: multi-sounds {
27 compatible = "simple-audio-card";
28 simple-audio-card,format = "i2s";
29 simple-audio-card,mclk-fs = <256>;
30 simple-audio-card,name = "rockchip,rk3036-sounds";
[all …]
H A Drk3126c-evb-ddr3-v10-linux.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
20 …on=uart8250,mmio32,0x20068000 console=ttyFIQ0 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 r…
23 adc-keys {
[all …]
H A 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 …]
H A Drk3128-evb-ddr3-v10-linux.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/rk-input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
20 …on=uart8250,mmio32,0x20068000 console=ttyFIQ0 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 r…
23 adc-keys {
[all …]
H A Drv1126-evb-v10.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/display/drm_mipi_dsi.h>
7 #include <dt-bindings/input/input.h>
10 adc-keys {
11 compatible = "adc-keys";
12 io-channels = <&saradc 0>;
13 io-channel-names = "buttons";
14 poll-interval = <100>;
15 keyup-threshold-microvolt = <1800000>;
17 esc-key {
[all …]
H A Dtegra20-acer-a500-picasso.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra20-cpu-opp.dtsi"
10 #include "tegra20-cpu-opp-microvolt.dtsi"
31 * pre-existing /chosen node to be available to insert the
40 reserved-memory {
41 #address-cells = <1>;
[all …]
H A Dtegra124-venice2.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
29 vdd-supply = <&vdd_3v3_hdmi>;
30 pll-supply = <&vdd_hdmi_pll>;
31 hdmi-supply = <&vdd_5v0_hdmi>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
34 nvidia,hpd-gpio =
41 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3358-evb-ddr3.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/display/drm_mipi_dsi.h>
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 2>;
17 io-channel-names = "buttons";
18 poll-interval = <100>;
[all …]
H A Drk3368a-817-tablet.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/sensor-dev.h>
11 #include "rk3368-android.dtsi"
16 adc_keys: adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 1>;
19 io-channel-names = "buttons";
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dtegra124-nyan.dtsi1 #include <dt-bindings/input/input.h>
19 vdd-supply = <&vdd_3v3_hdmi>;
20 pll-supply = <&vdd_hdmi_pll>;
21 hdmi-supply = <&vdd_5v0_hdmi>;
23 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
24 nvidia,hpd-gpio =
36 vdd-supply = <&vdd_3v3_panel>;
52 clock-frequency = <100000>;
54 acodec: audio-codec@10 {
57 interrupt-parent = <&gpio>;
[all …]
/OK3568_Linux_fs/kernel/sound/pci/ice1712/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/mfd/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra132-norrin.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
30 vdd-supply = <&vdd_3v3_hdmi>;
31 pll-supply = <&vdd_hdmi_pll>;
32 hdmi-supply = <&vdd_5v0_hdmi>;
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 nvidia,hpd-gpio =
42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>;
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dmmc_spi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * (C) Copyright 2006-2007, David Brownell
9 * Hans-Peter Nilsson (hp@axis.com)
18 #include <linux/dma-mapping.h>
20 #include <linux/crc-itu-t.h>
25 #include <linux/mmc/slot-gpio.h>
35 * - For now, we won't try to interoperate with a real mmc/sd/sdio
37 * SPI protocol. The main reason for such configs would be mmc-ish
44 * - MMC depends on a different chipselect management policy than the
52 * - We tell the controller to keep the chipselect active from the
[all …]

12