Searched +full:adc +full:- +full:1 +full:bit +full:- +full:rpt (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | mt6360-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #define MT6360_ADCEN_MASK BIT(15) 61 /* Due to only one set of ADC control, this lock is used to prevent the race condition */ 69 u8 rpt[3]; in mt6360_adc_read_channel() local 74 mutex_lock(&mad->adc_lock); in mt6360_adc_read_channel() 76 /* Select the preferred ADC channel */ in mt6360_adc_read_channel() 77 ret = regmap_update_bits(mad->regmap, MT6360_REG_PMUADCRPT1, MT6360_PREFERCH_MASK, in mt6360_adc_read_channel() 82 adc_enable = cpu_to_be16(MT6360_ADCEN_MASK | BIT(channel)); in mt6360_adc_read_channel() 83 ret = regmap_raw_write(mad->regmap, MT6360_REG_PMUADCCFG, &adc_enable, sizeof(adc_enable)); in mt6360_adc_read_channel() 87 predict_end_t = ktime_add_ms(mad->last_off_timestamps[channel], 2 * ADC_WAIT_TIME_MS); in mt6360_adc_read_channel() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 23 maxItems: 1 26 maxItems: 1 28 VDD-supply: [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-audio-da7219.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 da7219: da7219@1a { 10 pinctrl-names = "default"; 11 pinctrl-0 = <&da7219_pins>; 14 interrupts-extended = <&pio 165 IRQ_TYPE_LEVEL_LOW>; 16 dlg,micbias-lvl = <2600>; 17 dlg,mic-amp-in-sel = "diff"; 18 VDD-supply = <&pp1800_alw>; 19 VDDMIC-supply = <&pp3300_alw>; 20 VDDIO-supply = <&pp1800_alw>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() 91 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work() 96 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 38 * - The EC controls the enable and the EC always enables a rail as 40 * - The rails are actually connected to each other by a jumper and 45 ppvar_sys: ppvar-sys { [all …]
|