/Linux-v5.10/Documentation/devicetree/bindings/power/supply/ |
D | bq2515x.yaml | 1 # 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 …]
|
D | ti,bq24735.txt | 5 - 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 …]
|
/Linux-v5.10/Documentation/driver-api/gpio/ |
D | drivers-on-gpio.rst | 6 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/arch/arm/mach-pxa/ |
D | magician.c | 1 // 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 …]
|
D | hx4700.c | 1 // 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 …]
|
D | mioa701.c | 1 // 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 …]
|
D | stargate2.c | 1 // 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 …]
|
D | zeus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 #include <linux/platform_data/i2c-pxa.h> 30 #include <linux/apm-emulation.h> 34 #include <asm/mach-types.h> 42 #include <mach/regs-uart.h> 43 #include <linux/platform_data/usb-ohci-pxa27x.h> 44 #include <linux/platform_data/mmc-pxamci.h> 45 #include "pxa27x-udc.h" 47 #include <linux/platform_data/video-pxafb.h> 50 #include <linux/platform_data/pcmcia-pxa2xx_viper.h> [all …]
|
/Linux-v5.10/sound/pci/ice1712/ |
D | psc724.c | 1 // 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 …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | tegra124-nyan.dtsi | 1 // 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 …]
|
D | tegra20-acer-a500-picasso.dts | 1 // 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 …]
|
D | tegra124-venice2.dts | 1 // 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 …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | sta350.c | 1 // 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 …]
|
D | sta32x.c | 1 // 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 …]
|
D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 90 { 0x3D, 0x00 }, /* 3D Jack Detect */ 208 { 0xAC, 0x00 }, /* AC Equalizer Band 7 Coefficient A2 */ 280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 284 dev_err(max98090->component->dev, in max98090_reset() 301 -600, 600, 0); 304 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0), [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | ab8500-core.c | 1 // 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 …]
|
D | tps65010.c | 1 // 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 …]
|
/Linux-v5.10/include/linux/mfd/ |
D | twl.h | 1 /* 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 …]
|
/Linux-v5.10/arch/arm64/boot/dts/nvidia/ |
D | tegra132-norrin.dts | 1 // 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 …]
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) 133 /* Per-AC retry limit register definitions; uses defs.h bitfield macros */ 167 #define BRCMS_PLCP_AUTO -1 172 #define BRCMS_PROTECTION_AUTO -1 199 /* MSC in use,indicates b0-6 holds an mcs */ 327 /* Mapping of ieee80211 AC numbers to tx fifos */ 335 /* Mapping of tx fifos to ieee80211 AC numbers */ 343 static u8 brcms_ac_to_fifo(u8 ac) in brcms_ac_to_fifo() argument [all …]
|
/Linux-v5.10/drivers/mmc/host/ |
D | mmc_spi.c | 1 // 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 …]
|
/Linux-v5.10/drivers/usb/serial/ |
D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * control thanks to Munir Nassar nassarmu@real-time.com 58 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 59 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 60 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 61 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 64 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ 68 { USB_DEVICE(0x0BED, 0x1100) }, /* MEI (TM) Cashflow-SC Bill/Voucher Acceptor */ 73 { USB_DEVICE(0x0FDE, 0xCA05) }, /* OWL Wireless Electricity Monitor CM-160 */ 74 { USB_DEVICE(0x10A6, 0xAA26) }, /* Knock-off DCU-11 cable */ [all …]
|
/Linux-v5.10/arch/arm/common/ |
D | sa1111.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <linux/dma-map-ops.h> 31 #include <asm/mach-types.h> 104 int irq_base; /* base for cascaded on-chip IRQs */ 196 return irq_create_mapping(sachip->irqdomain, hwirq); in sa1111_map_irq() 217 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() 224 desc->irq_data.chip->irq_ack(&desc->irq_data); in sa1111_irq_handler() 233 irqdomain = sachip->irqdomain; in sa1111_irq_handler() 243 /* For level-based interrupts */ in sa1111_irq_handler() 244 desc->irq_data.chip->irq_unmask(&desc->irq_data); in sa1111_irq_handler() [all …]
|
/Linux-v5.10/drivers/i2c/ |
D | i2c-core-base.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1995-99 Simon G. Vogl 10 * Copyright (C) 2013-2017 Wolfram Sang <wsa@kernel.org> 13 #define pr_fmt(fmt) "i2c-core: " fmt 15 #include <dt-bindings/i2c/i2c.h> 17 #include <linux/clk/clk-conf.h> 24 #include <linux/i2c-smbus.h> 43 #include "i2c-core.h" 85 while (id->name[0]) { in i2c_match_id() 86 if (strcmp(client->name, id->name) == 0) in i2c_match_id() [all …]
|
/Linux-v5.10/sound/pci/ |
D | es1968.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Rewritted from card-es1938.c source. 27 * encoding. The codecs are almost always AC-97 compliant codecs, 88 #include <linux/dma-mapping.h> 102 #include <media/drv-intf/tea575x.h> 119 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */ 122 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 }; 123 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 }; 124 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 }; 126 static int use_pm[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; [all …]
|