| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | renesas,rzn1-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/renesas,rzn1-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 14 can use up to two internal ADC cores (ADC1 and ADC2) those internal cores are 20 - const: renesas,r9a06g032-adc # RZ/N1D 21 - const: renesas,rzn1-adc 28 - description: APB internal bus clock 29 - description: ADC clock [all …]
|
| H A D | aspeed,ast2600-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Billy Tsai <billy_tsai@aspeedtech.com> 13 • 10-bits resolution for 16 voltage channels. 16 • Channel scanning can be non-continuous. 21 • Built-in a compensating method. 22 • Built-in a register to trim internal reference voltage. 30 - aspeed,ast2600-adc0 [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | rzn1-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2025 Schneider-Electric 9 * The RZ/N1 ADC controller can handle channels from its internal ADC1 and/or 10 * ADC2 cores. The driver use ADC1 and/or ADC2 cores depending on the presence 11 * of the related power supplies (AVDD and VREF) description in the device-tree. 53 #define RZN1_ADC_NO_CHANNEL -1 126 int adc1_vref_mV; /* ADC1 Vref in mV. Negative if ADC1 is not used */ 135 rzn1_adc->regs + RZN1_ADC_CONFIG_REG); in rzn1_adc_power() 138 return readl_poll_timeout_atomic(rzn1_adc->regs + RZN1_ADC_CONTROL_REG, in rzn1_adc_power() 156 writel(vc, rzn1_adc->regs + RZN1_ADC_VC_REG(ch)); in rzn1_adc_vc_setup_conversion() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 29 #include <sound/soc-dapm.h> 35 #include "rt5677-spi.h" 552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 563 struct snd_soc_component *component = rt5677->componen in rt5677_dsp_mode_i2c_write_addr() [all...] |
| H A D | rt5665.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5665.c -- RT5665/RT5658 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 884 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 885 static const DECLARE_TLV_DB_SCALE(mono_vol_tlv, -1400, 150, 0); 886 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -465 [all...] |
| H A D | cs53l30.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 45 #define CS53L30_ADCDMIC1_CTL1 0x25 /* ADC1/DMIC1 Control 1. */ 46 #define CS53L30_ADCDMIC1_CTL2 0x26 /* ADC1/DMIC1 Control 2. */ 47 #define CS53L30_ADC1_CTL3 0x27 /* ADC1 Control 3. */ 48 #define CS53L30_ADC1_NG_CTL 0x28 /* ADC1 Noise Gate Control. */ 68 #define CS53L30_ASP_TDMTX_ENx(x) (CS53L30_ASP_TDMTX_EN6 - (x)) 83 /* R6 (0x06) CS53L30_PWRCTL - Power Control */ 99 /* R7 (0x07) CS53L30_MCLKCTL - MCLK Control */ 111 #define CS53L30_MCLK_DIV_MASK (((1 << CS53L30_MCLK_DIV_WIDTH) - 1) << CS53L30_MCLK_DIV_SHIFT) 121 /* R8 (0x08) CS53L30_INT_SR_CTL - Internal Sample Rate Control */ [all …]
|
| H A D | rt5668.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5668.c -- RT5668B ALSA SoC audio component driver 26 #include <sound/soc-dapm.h> 746 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 747 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 748 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1762 [all...] |
| H A D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 38 "LDO1-IN", 60 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 751 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -652 [all...] |
| H A D | rt5682s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wcl [all...] |
| H A D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 35 #define LADC1 0x06 /* ADC1 Lch Digital Volume */ 36 #define RADC1 0x07 /* ADC1 Rch Digital Volume */ 47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */ 126 /* DAC De-Emphasis Setting */ 165 * min : 0xFE : -115. [all...] |
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ufispace-ncplite.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/gpio/aspeed-gpio.h> 11 compatible = "ufispace,ncplite-bmc", "aspeed,ast2600"; 18 stdout-path = &uart5; 27 iio-hwmon { 28 compatible = "iio-hwmon"; 29 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
| H A D | aspeed-bmc-facebook-greatlakes.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/leds/leds-pca955x.h> 8 #include <dt-bindings/i2c/i2c.h> 12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600"; 23 iio-hwmon { 24 compatible = "iio-hwmon"; 25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
| H A D | aspeed-bmc-facebook-bletchley.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600"; 29 iio-hwmon { [all …]
|
| /linux/drivers/mfd/ |
| H A D | mc13xxx-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2009-2010 Pengutronix 4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> 51 if (!mutex_trylock(&mc13xxx->lock)) { in mc13xxx_lock() 52 dev_dbg(mc13xxx->dev, "wait for %s from %ps\n", in mc13xxx_lock() 55 mutex_lock(&mc13xxx->lock); in mc13xxx_lock() 57 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_lock() 64 dev_dbg(mc13xxx->dev, "%s from %ps\n", in mc13xxx_unlock() 66 mutex_unlock(&mc13xxx->lock); in mc13xxx_unlock() 74 ret = regmap_read(mc13xxx->regmap, offset, val); in mc13xxx_reg_read() [all …]
|
| /linux/drivers/iio/light/ |
| H A D | tsl2563.c | 1 // SPDX-License-Identifier: GPL-2.0-only 125 struct i2c_client *client = chip->client; in tsl2563_set_power() 139 struct i2c_client *client = chip->client; in tsl2563_get_power() 153 ret = i2c_smbus_write_byte_data(chip->client, in tsl2563_configure() 155 chip->gainlevel->gaintime); in tsl2563_configure() 158 ret = i2c_smbus_write_word_data(chip->client, in tsl2563_configure() 160 chip->high_thres); in tsl2563_configure() 163 ret = i2c_smbus_write_word_data(chip->client, in tsl2563_configure() 165 chip->low_thres); in tsl2563_configure() 195 return ret ? 0 : -ENODEV; in tsl2563_detect() [all …]
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vf500-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2020 Toradex 7 #include "vf-colibri.dtsi" 11 compatible = "toradex,vf500-colibri_vf50", "fsl,vf500"; 18 touchscreen: vf50-touchscreen { 19 compatible = "toradex,vf50-touchscreen"; 20 io-channels = <&adc1 0>,<&adc0 0>, 21 <&adc0 1>,<&adc1 2>; 22 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 23 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; [all …]
|
| H A D | vf610-zii-ssmb-dtu.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SSMB - SPU3 Switch Management Board 7 * DTU - Digital Tapping Unit 9 * Copyright (C) 2015-2019 Zodiac Inflight Innovations 11 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 15 /dts-v1/; 23 stdout-path = &uart0; 31 gpio-leds { 32 compatible = "gpio-leds"; 33 pinctrl-0 = <&pinctrl_leds_debug>; [all …]
|
| H A D | vf610-zii-spb4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SPB - Seat Power Box 11 /dts-v1/; 19 stdout-path = &uart0; 27 gpio-leds { 28 compatible = "gpio-leds"; 29 pinctrl-0 = <&pinctrl_leds_debug>; 30 pinctrl-names = "default"; 32 led-debug { 35 linux,default-trigger = "heartbeat"; [all …]
|
| H A D | vf610-zii-ssmb-spu3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SSMB - SPU3 Switch Management Board 7 * SPU - Seat Power Unit 11 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 15 /dts-v1/; 23 stdout-path = &uart0; 31 gpio-leds { 32 compatible = "gpio-leds"; 33 pinctrl-0 = <&pinctrl_leds_debug>; 34 pinctrl-names = "default"; [all …]
|
| H A D | vf610-zii-cfu1.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 15 stdout-path = &uart0; 23 gpio-leds { 24 compatible = "gpio-leds"; 25 pinctrl-0 = <&pinctrl_leds_debug>; 26 pinctrl-names = "default"; 28 led-debug { 31 linux,default-trigger = "heartbeat"; 34 led-fail { [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | toradex,vf50-touchscreen.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/toradex,vf50-touchscreen.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 - Sanchayan Maity <maitysanchayan@gmail.com> 15 const: toradex,vf50-touchscreen 20 io-channels: 24 IIO ADC for Y-, X-, Y+, X+ connections 26 xp-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,pm4125-sdw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,pm4125-sdw.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexey Klimov <alexey.klimov@linaro.org> 23 qcom,tx-port-mapping: 30 PM4125 TX Port 1 (ADC1,2 & DMIC0 & MBHC) <=> SWR0 Port 1 31 PM4125 TX Port 2 (ADC1 & DMIC0,1,2 & MBHC) <=> SWR0 Port 2 33 $ref: /schemas/types.yaml#/definitions/uint32-array 39 qcom,rx-port-mapping: [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp133c-prihmb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 10 #include "stm32mp13-pinctrl.dtsi" 13 model = "Priva E-Measuringbox board"; 18 mdio-gpio0 = &mdio0; 27 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | rzt2h-n2h-evk-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/net/mscc-phy-vsc8531.h> 11 #include <dt-bindings/net/renesas,r9a09g077-pcs-miic.h> 12 #include <dt-bindings/pinctrl/renesas,r9a09g077-pinctrl.h> 26 stdout-path = "serial0:115200n8"; 29 reg_1p8v: regulator-1p8v { 30 compatible = "regulator-fixed"; 31 regulator-name = "fixed-1.8V"; [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx7-mba7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Device Tree Include file for TQ-Systems MBa7 carrier board. 5 * Copyright (C) 2016 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/net/ti-dp83867.h> 20 /delete-property/ mmc2; 26 compatible = "gpio-beeper"; 31 stdout-path = &uart6; 34 gpio_buttons: gpio-keys { [all …]
|