/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
D | nuvoton,nau8821.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Seven Lee <wtli@nuvoton.com> 13 - $ref: dai-common.yaml# 25 nuvoton,jkdet-enable: 29 nuvoton,jkdet-pull-enable: 30 description: Enable JKDET pin pull. If set - pin pull enabled, 34 nuvoton,jkdet-pull-up: 35 description: Pull-up JKDET pin. If set then JKDET pin is pull up, [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | ep93xx_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs 9 * responsible for ensuring that delay between adjacent conversion triggers is 15 #include <linux/delay.h> 28 * lower ADC conversion rate down to CONFIG_HZ, so we fallback to busy wait 31 * HR Timers-based version loads CPU only up to 10% during back to back ADC 32 * conversion, while busy wait-based version consumes whole CPU power. 89 mutex_lock(&priv->lock); in ep93xx_read_raw() 90 if (priv->lastch != channel->channel) { in ep93xx_read_raw() 91 priv->lastch = channel->channel; in ep93xx_read_raw() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-rradc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC Round Robin ADC 10 - Caleb Connolly <caleb.connolly@linaro.org> 13 The Qualcomm SPMI Round Robin ADC (RRADC) provides interface to clients to 21 - qcom,pmi8998-rradc 22 - qcom,pm660-rradc 27 qcom,batt-id-delay-ms: [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stm32f429-disco.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 53 #include <dt-bindings/gpio/gpio.h> 56 model = "STMicroelectronics STM32F429i-DISCO board"; 57 compatible = "st,stm32f429i-disco", "st,stm32f429"; [all …]
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | wm9705.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9705.c -- Codec driver for Wolfson WM9705 AC97 Codec. 16 #include <linux/delay.h> 35 * This is used to increase the range of values returned by the adc 52 * Set adc sample delay. 56 * touchpanel plate and the ADC sampling the signal. 58 * This delay can be set by setting delay = n, where n is the array 59 * position of the delay in the array delay_table below. 60 * Long delays > 1ms are supported for completeness, but are not 63 static int delay = 4; variable [all …]
|
D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 16 #include <linux/delay.h> 48 * This is used to increase the range of values returned by the adc 65 * Set adc sample delay. 69 * touchpanel plate and the ADC sampling the signal. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 73 * Long delays > 1ms are supported for completeness, but are not 76 static int delay = 3; variable [all …]
|
D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec. 16 #include <linux/delay.h> 48 * This is used to increase the range of values returned by the adc 65 * Set adc sample delay. 69 * touchpanel plate and the ADC sampling the signal. 71 * This delay can be set by setting delay = n, where n is the array 72 * position of the delay in the array delay_table below. 73 * Long delays > 1ms are supported for completeness, but are not 76 static int delay = 4; variable [all …]
|
D | stmpe-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <linux/delay.h> 46 #define STMPE_TS_NAME "stmpe-ts" 50 * struct stmpe_touch - stmpe811 touch screen controller state 57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) 58 * @touch_det_delay: Touch detect interrupt delay 59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, 60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms) 63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, 64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms) [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 28 regmap_update_bits(max98373->regmap, in max98373_dac_event() 34 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 max98373->tdm_mode = false; in max98373_dac_event() 85 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1); 101 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0), 102 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0), 103 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0), [all …]
|
D | tlv320aic3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * --------------------------------------- 17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A 18 * | IN1L -> LINE1L 19 * | IN1R -> LINE1R 20 * | IN2L -> LINE2L 21 * | IN2R -> LINE2R 22 * | MIC3L/R -> N/A 25 * --------------------------------------- 34 #include <linux/delay.h> [all …]
|
D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/delay.h> 28 #include <linux/mfd/twl4030-audio.h> 38 unsigned int digimic_delay; /* in ms */ 67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 89 return -EIO; in twl4030_read() 98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() [all …]
|
D | cs35l41.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l41.c -- CS35l41 ALSA SoC audio driver 5 // Copyright 2017-2021 Cirrus Logic, Inc. 10 #include <linux/delay.h> 22 #include <sound/soc-dapm.h> 164 return -EINVAL; in cs35l41_get_fs_mon_config_index() 169 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200)); 176 "Off", ".5ms", "1ms", "2ms", "4ms", "8ms", "15ms", "30ms" 186 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l41_dsp_preload_ev() 192 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() [all …]
|
D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 23 #include <linux/delay.h> 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ [all …]
|
D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 75 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 80 regmap_write(max98388->regmap, in max98388_dac_event() 85 regmap_write(max98388->regmap, in max98388_dac_event() 88 max98388->tdm_mode = false; in max98388_dac_event() 121 SND_SOC_DAPM_ADC("ADC Voltage", NULL, 123 SND_SOC_DAPM_ADC("ADC Current", NULL, 131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 132 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0); [all …]
|
D | max98520.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 72 struct snd_soc_component *component = codec_dai->component; in max98520_dai_set_fmt() 78 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98520_dai_set_fmt() 87 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98520_dai_set_fmt() 88 return -EINVAL; in max98520_dai_set_fmt() 91 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 111 return -EINVAL; in max98520_dai_set_fmt() 114 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 144 int blr_clk_ratio = params_channels(params) * max98520->ch_size; in max98520_set_clock() [all …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | wm8775.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8775 - driver version 0.0.1 10 * - Cleanup 11 * - V4L2 API update 12 * - sound fixes 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-ctrls.h> 32 /* ----------------------------------------------------------------------- */ 40 #define ALC_HOLD 0x85 /* R17: use zero cross detection, ALC hold time 42.6 ms */ 50 u8 input; /* Last selected input (0-0xf) */ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/renesas/ |
D | r8a7745-iwg22d-sodimm.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board 9 * SSI-SGTL5000 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" 33 #include <dt-bindings/pwm/pwm.h> 36 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E"; 47 stdout-path = "serial3:115200n8"; 51 compatible = "fixed-clock"; 52 #clock-cells = <0>; [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-lp5523.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * lp5523.c - LP5523, LP55231 LED Driver 13 #include <linux/delay.h> 20 #include <linux/platform_data/leds-lp55xx.h> 23 #include "leds-lp55xx-common.h" 88 /* Chip startup time is 500 us, 1 - 2 ms gives some margin */ in lp5523_post_init_device() 92 val |= (chip->pdata->charge_pump_mode << LP5523_CP_MODE_SHIFT) & LP5523_CP_MODE_MASK; in lp5523_post_init_device() 150 chip->engine_idx = i; in lp5523_init_program_engine() 155 pattern[i - 1][j]); in lp5523_init_program_engine() 163 /* Let the programs run for couple of ms and check the engine status */ in lp5523_init_program_engine() [all …]
|
/linux-6.12.1/drivers/iio/light/ |
D | tsl2591.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Device driver for the TAOS TSL2591. This is a very-high sensitivity 8 * light-to-digital converter that transforms light intensity into a digital 14 #include <linux/delay.h> 30 /* ADC integration time, field value to time in ms */ 32 /* ADC integration time, field value to time in seconds */ 34 /* ADC integration time, time in seconds to field value */ 35 #define TSL2591_SEC_TO_FVAL(x) ((x) - 1) 102 #define TSL2591_PRST_ALS_INT_CYCLE_MAX (BIT(4) - 1) 120 /* Power off suspend delay time MS */ [all …]
|
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 */ 31 #include <linux/delay.h> 42 /* ------------------------------------------------------------------------ */ 45 /* ------------------------------------------------------------------------ */ 52 /* ------------------------------------------------------------------------ */ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 23 power-supply = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | ti_am335x_tscadc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * TI Touch Screen / ADC MFD driver 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 77 /* Delay register */ 94 /* Charge delay */ 134 * max num cycles = open delay + (sample delay + conv time) * averaging 141 * max processing time: 266431 * 308ns = 83ms(approx) 174 /* adc device */ 175 struct adc_device *adc; member 180 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get() [all …]
|