/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AT91 sama9260 and similar Analog to Digital Converter (ADC) 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - atmel,at91sam9260-adc 16 - atmel,at91sam9rl-adc 17 - atmel,at91sam9g45-adc 18 - atmel,at91sam9x5-adc [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | stm32mp157c-emstamp-argon.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 or MIT) 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 23 stdout-path = "serial0:115200n8"; 31 reserved-memory { 32 #address-cells = <1>; 33 #size-cells = <1>; 37 compatible = "shared-dma-pool"; [all …]
|
D | stm32mp15xx-dkx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/mfd/st,stpmic1.h> 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 22 compatible = "shared-dma-pool"; 24 no-map; 28 compatible = "shared-dma-pool"; [all …]
|
D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/mfd/st,stpmic1.h> 24 reserved-memory { 25 #address-cells = <1>; 26 #size-cells = <1>; 30 compatible = "shared-dma-pool"; [all …]
|
D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/st,stpmic1.h> 17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 20 stdout-path = "serial0:115200n8"; 28 reserved-memory { [all …]
|
D | stm32mp15xx-dhcor-avenger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 9 #include "stm32mp15xx-dhcor-io1v8.dtsi" 22 cec_clock: clk-cec-fixed { 23 #clock-cells = <0>; 24 compatible = "fixed-clock"; 25 clock-frequency = <24000000>; 29 stdout-path = "serial0:115200n8"; 32 hdmi-out { 33 compatible = "hdmi-connector"; [all …]
|
D | am335x-myirtech-myd.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */ 4 /* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ */ 6 /dts-v1/; 8 #include "am335x-myirtech-myc.dtsi" 10 #include <dt-bindings/display/tda998x.h> 11 #include <dt-bindings/input/input.h> 14 model = "MYIR MYD-AM335X"; 15 compatible = "myir,myd-am335x", "myir,myc-am335x", "ti,am33xx"; 18 stdout-path = &uart0; [all …]
|
D | am437x-gp-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/pinctrl/am43xx.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/gpio/gpio.h> 17 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; 24 stdout-path = &uart0; 27 evm_v3_3d: fixedregulator-v3_3d { 28 compatible = "regulator-fixed"; [all …]
|
D | imx6qdl-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 22 compatible = "pwm-backlight"; 23 brightness-levels = <0 45 63 88 119 158 203 255>; 24 default-brightness-level = <4>; 25 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpio_bl_on>; [all …]
|
D | stm32h743i-eval.dts | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "stm32h7-pinctrl.dtsi" 48 model = "STMicroelectronics STM32H743i-EVAL board"; 49 compatible = "st,stm32h743i-eval", "st,stm32h743"; 53 stdout-path = "serial0:115200n8"; 65 vdda: regulator-vdda { 66 compatible = "regulator-fixed"; 67 regulator-name = "vdda"; [all …]
|
D | am43x-epos-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/pinctrl/am43xx.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/sound/tlv320aic31xx.h> 18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43"; 25 stdout-path = &uart0; 28 vmmcsd_fixed: fixedregulator-sd { [all …]
|
D | am335x-icev2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 11 /dts-v1/; 16 model = "TI AM3359 ICE-V2"; 17 compatible = "ti,am3359-icev2", "ti,am33xx"; 25 stdout-path = &uart3; 29 compatible = "regulator-fixed"; 30 regulator-name = "vbat"; 31 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <5000000>; [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | reset.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Luis Rodriguez <mcgrof@winlab.rutgers.edu> 5 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org> 6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 30 #include <linux/pci.h> /* To determine if a card is pci-e */ 43 * that don't fit on other places such as clock, sleep and power control 52 * ath5k_hw_register_timeout() - Poll a register for a flag/field change 64 * Returns -EAGAIN if we exceeded AR5K_TUNE_REGISTER_TIMEOUT * 15us or 0 73 for (i = AR5K_TUNE_REGISTER_TIMEOUT; i > 0; i--) { in ath5k_hw_register_timeout() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments PCM186x Universal Audio ADC 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 30 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 31 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 32 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 45 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 SOC_DOUBLE_R_S_TLV("ADC Capture Volume", PCM186X_PGA_VAL_CH1_L, 49 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 55 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, [all …]
|
/Linux-v6.1/include/linux/ |
D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 46 #define WM97XX_ADCSEL_MASK 0x7000 /* ADC selection mask */ 47 #define WM97XX_COO 0x0800 /* enable coordinate mode */ 48 #define WM97XX_CTC 0x0400 /* enable continuous mode */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 73 #define WM9712_WAIT 0x0200 /* wait until adc is read before next sample */ 90 #define WM9705_WAIT 0x0100 /* wait until adc is read before next sample */ 102 #define WM9713_CTC 0x0100 /* enable continuous mode */ 106 #define WM9713_COO 0x0001 /* enable coordinate mode */ [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | s3c-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* linux/drivers/hwmon/s3c-hwmon.c 8 * S3C24XX/S3C64XX ADC hwmon support 21 #include <linux/hwmon-sysfs.h> 23 #include <linux/soc/samsung/s3c-adc.h> 24 #include <linux/platform_data/hwmon-s3c.h> 34 * struct s3c_hwmon - ADC hwmon client information 36 * @client: The client we registered with the S3C ADC core. 49 * s3c_hwmon_read_ch - read a value from a given adc channel. 54 * Read a value from the @channel with the proper locking and sleep until [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sdm845-cheza.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 25 stdout-path = "serial0:115200n8"; 29 compatible = "pwm-backlight"; 31 enable-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 32 power-supply = <&ppvar_sys>; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&ap_edp_bklten>; 37 /* FIXED REGULATORS - parents above children */ [all …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | me_daq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * ME-2000i, ME-2600i, ME-3000vm1 13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i) 35 * PCI BAR2 Memory map (dev->mmio) 76 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */ 83 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3)) 84 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3)) 87 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */ 88 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */ 89 #define ME_COUNTER_STARTDATA_REG(x) (0x20 + ((x) * 2)) /* - | W */ [all …]
|
/Linux-v6.1/drivers/iio/light/ |
D | gp2ap002.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * https://lore.kernel.org/lkml/1315556546-7445-1-git-send-email-dg77.kim@samsung.com/ 17 * https://lore.kernel.org/linux-input/20190125175045.22576-1-pawel.mikolaj.chmiel@gmail.com/ 18 * Based partly on code from the Samsung GT-S7710 by <mjchen@sta.samsung.com> 28 #include <linux/iio/consumer.h> /* To get our ADC channel */ 29 #include <linux/iio/types.h> /* To deal with our ADC channel */ 42 /* ------------------------------------------------------------------------ */ 45 /* ------------------------------------------------------------------------ */ 52 /* ------------------------------------------------------------------------ */ 54 /* LED0 :Select switch for LED driver's On-registence(0:2x higher, 1:normal)*/ [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the ADC present in the Atmel AT91 evaluation boards. 37 #define AT91_ADC_MR 0x04 /* Mode Register */ 38 #define AT91_ADC_TSAMOD (3 << 0) /* ADC mode */ 39 #define AT91_ADC_TSAMOD_ADC_ONLY_MODE (0 << 0) /* ADC Mode */ 40 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */ 48 #define AT91_ADC_SLEEP (1 << 5) /* Sleep Mode */ 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 106 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */ 137 (st->registers->channel_base + (ch * 4)) [all …]
|
/Linux-v6.1/drivers/power/supply/ |
D | rk817_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 58 * voltage_k and voltage_b values are used to calibrate the ADC 68 * soc - state of charge - like the BSP this is stored as a percentage, 111 /* ADC coefficients extracted from BSP kernel */ 143 return -EINVAL; in rk817_chg_cur_to_reg() 166 return -EINVAL; in rk817_chg_cur_from_reg() 177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol() 181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol() 186 charger->voltage_k = (4025 - 2300) * 1000 / in rk817_bat_calib_vol() [all …]
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | dib0700_devices.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2005-9 DiBcom, SA et al 29 MODULE_PARM_DESC(force_lna_activation, "force the activation of Low-Noise-Amplifier(s) (LNA), if ap… 38 /* Hauppauge Nova-T 500 (aka Bristol) 87 struct dib0700_state *st = adap->dev->priv; in bristol_frontend_attach() 88 if (adap->id == 0) { in bristol_frontend_attach() 89 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 90 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() 91 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 92 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | ucb1400_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * If something doesn't work and it worked before spliting, e-mail me, 11 * dont bother Nicolas please ;-) 13 * This code is heavily based on ucb1x00-*.c copyrighted by Russell King 15 * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request. 33 /* Switch to interrupt mode. */ 36 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_mode_int() 43 * Switch to pressure mode, and read pressure. We don't need to wait 48 ucb1400_reg_write(ucb->ac97, UCB_TS_CR, in ucb1400_ts_read_pressure() 55 return ucb1400_adc_read(ucb->ac97, UCB_ADC_INP_TSPY, adcsync); in ucb1400_ts_read_pressure() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|