| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A 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/arch/arm/boot/dts/st/ |
| H A 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 …]
|
| H A D | stm32mp15xx-dhcor-testbench.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 17 stdout-path = "serial0:115200n8"; 20 sd_switch: regulator-sd_switch { 21 compatible = "regulator-gpio"; 22 regulator-name = "sd_switch"; 23 regulator-min-microvolt = <1800000>; 24 regulator-max-microvolt = <2900000>; 25 regulator-type = "voltage"; 26 regulator-always-on; 29 gpios-states = <0>; [all …]
|
| H A 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 …]
|
| H A D | stm32mp135f-dhcor-dhsbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG 7 * DHCOR PCB number: 718-100 or newer 8 * DHSBC PCB number: 719-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 16 #include "stm32mp13xx-dhcor-som.dtsi" 20 compatible = "dh,stm32mp135f-dhcor-dhsbc", 21 "dh,stm32mp135f-dhcor-som", 32 stdout-path = "serial0:115200n8"; [all …]
|
| H A 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 …]
|
| H A D | stm32mp157c-phycore-stm32mp15-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de> 4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/leds/leds-pca9532.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> [all …]
|
| H A 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 …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A 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 …]
|
| H A D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A 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 …]
|
| H A 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/sound/soc/codecs/ |
| H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 21 /* set gpio mosi mode */ in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 28 /* pad_aud_*_mosi are GPIO mode after clear and set them to dir input in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 48 /* set gpio miso mode */ in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() [all …]
|
| H A D | wcd9335.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 19 #include <sound/soc-dapm.h> 26 #include "wcd-clsh-v2.h" 28 #include <dt-bindings/sound/qcom,wcd9335.h> 99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25) 146 {"SLIM TX" #id " MUX", "DEC" #id, "ADC MUX" #id}, \ 147 {"ADC MUX" #id, "DMIC", "DMIC MUX" #id}, \ 148 {"ADC MUX" #id, "AMIC", "AMIC MUX" #id}, \ [all …]
|
| /linux/include/linux/ |
| H A 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/Documentation/devicetree/bindings/mfd/ |
| H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 touchscreen, ADC, PWM or rotator. It can contain one or several different 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 [all …]
|
| H A 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,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 39 clock-names: [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A 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/drivers/iio/adc/ |
| H A 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/drivers/thermal/ |
| H A D | airoha_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 /* period unit calculated in BUS clock * 256 scaling-up */ 66 * - Fire BIT(1) when lower than EN7581_COLD_THRE 67 * - Fire BIT(0) and BIT(5) when higher than EN7581_HOT2NORMAL_THRE or 105 * - Fire BIT(1) when lower than EN7581_COLD_THRE 106 * - Fire BIT(0) and BIT(5) when higher than EN7581_HOT2NORMAL_THRE or 144 * the same addr is used for ADC volt and valid reading. 156 * - 1 sample 157 * - 2 sample and make average of them 158 * - 4,6,10,16 sample, drop max and min and make average of them [all …]
|
| /linux/drivers/media/usb/dvb-usb/ |
| H A 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/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-powkiddy-rk2023.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [all …]
|
| H A D | rk3562-evb2-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2024-2025 Rockchip Electronics Co., Ltd. 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 17 compatible = "rockchip,rk3562-evb2-v10", "rockchip,rk3562"; 20 stdout-path = "serial0:1500000n8"; 23 adc_keys: adc-keys { [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | af9033.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 u64 post_bit_error_prev; /* for old read_ber we return (curr - prev) */ 35 struct i2c_client *client = dev->client; in af9033_wr_reg_val_tab() 40 dev_dbg(&client->dev, "tab_len=%d\n", tab_len); in af9033_wr_reg_val_tab() 43 dev_warn(&client->dev, "tab len %d is too big\n", tab_len); in af9033_wr_reg_val_tab() 44 return -EINVAL; in af9033_wr_reg_val_tab() 50 if (i == tab_len - 1 || tab[i].reg != tab[i + 1].reg - 1) { in af9033_wr_reg_val_tab() 51 ret = regmap_bulk_write(dev->regmap, tab[i].reg - j, in af9033_wr_reg_val_tab() 64 dev_dbg(&client->dev, "failed=%d\n", ret); in af9033_wr_reg_val_tab() 70 struct af9033_dev *dev = fe->demodulator_priv; in af9033_init() [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | max2165.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "tuner-i2c.h" 38 msg.addr = priv->config->i2c_address; in max2165_write_reg() 43 ret = i2c_transfer(priv->i2c, &msg, 1); in max2165_write_reg() 49 return (ret != 1) ? -EIO : 0; in max2165_write_reg() 55 u8 dev_addr = priv->config->i2c_address; in max2165_read_reg() 64 ret = i2c_transfer(priv->i2c, msg, 2); in max2165_read_reg() 67 return -EIO; in max2165_read_reg() 104 priv->tf_ntch_low_cfg = dat[0] >> 4; in max2165_read_rom_table() 105 priv->tf_ntch_hi_cfg = dat[0] & 0x0F; in max2165_read_rom_table() [all …]
|