| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rt5668.txt | 7 - compatible : "realtek,rt5668b" 9 - reg : The I2C address of the device. 13 - interrupts : The CODEC's interrupt output. 15 - realtek,dmic1-data-pin 20 - realtek,dmic1-clk-pin 24 - realtek,jd-src 25 0: No JD is used 26 1: using JD1 as JD source 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 43 interrupt-parent = <&gpio>; [all …]
|
| D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 13 - interrupts : The CODEC's interrupt output. 15 - realtek,dmic1-data-pin 20 - realtek,dmic1-clk-pin 24 - realtek,jd-src 25 0: No JD is used 26 1: using JD1 as JD source 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 30 - realtek,btndet-delay [all …]
|
| D | rt5665.txt | 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin 26 - realtek,dmic2-data-pin [all …]
|
| D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | rt5668.txt | 7 - compatible : "realtek,rt5668b" 9 - reg : The I2C address of the device. 13 - interrupts : The CODEC's interrupt output. 15 - realtek,dmic1-data-pin 20 - realtek,dmic1-clk-pin 24 - realtek,jd-src 25 0: No JD is used 26 1: using JD1 as JD source 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 43 interrupt-parent = <&gpio>; [all …]
|
| D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Derek Fang <derek.fang@realtek.com> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used 34 - 1 # using GPIO2 pin as dmic1 data pin 35 - 2 # using GPIO5 pin as dmic1 data pin [all …]
|
| D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin 35 - realtek,dmic1-clk-pin [all …]
|
| D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
| D | rt5665.txt | 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin 26 - realtek,dmic2-data-pin [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | src4xxx.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2021-2022 Deqx Pty Ltd 24 /* SRC attenuation */ 25 static const DECLARE_TLV_DB_SCALE(src_tlv, -12750, 50, 0); 28 SOC_DOUBLE_R_TLV("SRC Volume", 34 "loopback", "other_port", "DIR", "SRC" 46 static const char * const dit_mux_text[] = {"Port A", "Port B", "DIR", "SRC"}; 51 /* SRC control */ 55 SOC_DAPM_ENUM("SRC source select", src_in_enum); 85 SND_SOC_DAPM_MUX("DIT Out Src", SRC4XXX_PWR_RST_01, [all …]
|
| D | arizona-jack.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc 26 #include <dt-bindings/mfd/arizona.h> 33 * The hardware supports 8 ranges / buttons, but the snd-jack interface 34 * only supports 6 buttons (button 0-5). 100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 105 switch (arizona->type) { in arizona_extcon_hp_clamp() 122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() 127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp() [all …]
|
| D | rt712-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt712-sdca.c -- rt712 SDCA ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 25 #include "rt712-sdca.h" 31 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_write() 36 dev_err(&rt712->slave->dev, in rt712_sdca_index_write() 47 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_read() 52 dev_err(&rt712->slave->dev, in rt712_sdca_index_read() 77 struct regmap *regmap = rt712->regmap; in rt712_sdca_calibration() 81 mutex_lock(&rt712->calibrate_mutex); in rt712_sdca_calibration() [all …]
|
| D | rt711-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt711-sdca.c -- rt711 SDCA ALSA SoC audio driver 22 #include <sound/soc-dapm.h> 27 #include "rt711-sdca.h" 33 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write() 38 dev_err(&rt711->slave->dev, in rt711_sdca_index_write() 49 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read() 54 dev_err(&rt711->slave->dev, in rt711_sdca_index_read() 88 struct regmap *regmap = rt711->regmap; in rt711_sdca_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_sdca_calibration() [all …]
|
| D | rt711.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt711.c -- rt711 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 89 struct regmap *regmap = rt711->regmap; in rt711_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration() 93 regmap_write(rt711->regmap, in rt711_calibration() 113 pr_err("%s, calibration time-out!\n", in rt711_calibration() 115 ret = -ETIMEDOUT; in rt711_calibration() 129 regmap_write(rt711->regmap, in rt711_calibration() 131 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8192-asurada-audio-rt5682.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 rt5682: audio-codec@1a { 10 interrupts-extended = <&pio 18 IRQ_TYPE_LEVEL_LOW>; 11 realtek,jd-src = <1>; 12 realtek,btndet-delay = <16>; 13 #sound-dai-cells = <1>; 15 AVDD-supply = <&mt6359_vio18_ldo_reg>; 16 DBVDD-supply = <&mt6359_vio18_ldo_reg>; 17 LDO1-IN-supply = <&mt6359_vio18_ldo_reg>; 18 MICVDD-supply = <&pp3300_g>; [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | zl10039.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Zarlink ZL10039 DVB-S tuner 5 * Copyright 2007 Jan D. Louw <jd.louw@mweb.co.za> 64 .addr = state->i2c_addr, in zl10039_read() 69 .addr = state->i2c_addr, in zl10039_read() 78 if (i2c_transfer(state->i2c, msg, 2) != 2) { in zl10039_read() 80 return -EREMOTEIO; in zl10039_read() 87 const enum zl10039_reg_addr reg, const u8 *src, in zl10039_write() argument 92 .addr = state->i2c_addr, in zl10039_write() 102 return -EINVAL; in zl10039_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | zl10039.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Zarlink ZL10039 DVB-S tuner 5 * Copyright 2007 Jan D. Louw <jd.louw@mweb.co.za> 64 .addr = state->i2c_addr, in zl10039_read() 69 .addr = state->i2c_addr, in zl10039_read() 78 if (i2c_transfer(state->i2c, msg, 2) != 2) { in zl10039_read() 80 return -EREMOTEIO; in zl10039_read() 87 const enum zl10039_reg_addr reg, const u8 *src, in zl10039_write() argument 92 .addr = state->i2c_addr, in zl10039_write() 102 return -EINVAL; in zl10039_write() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | sc7280-herobrine-audio-rt5682.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-1mic"; 16 audio-routing = "Headphone Jack", "HPOL", 19 #address-cells = <1>; 20 #size-cells = <0>; 22 dai-link@0 { 23 link-name = "MAX98360"; 27 sound-dai = <&lpass_cpu MI2S_SECONDARY>; [all …]
|
| D | sc7280-herobrine-audio-rt5682-3mic.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-3mic"; 16 audio-routing = "VA DMIC0", "vdd-micb", 17 "VA DMIC1", "vdd-micb", 18 "VA DMIC2", "vdd-micb", 19 "VA DMIC3", "vdd-micb", 24 #address-cells = <1>; 25 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/boards/ |
| D | sof_sdw_rt711_sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711_sdca - Helpers to handle RT711-SDCA from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 32 return -EPROBE_DEFER; in rt711_sdca_add_codec_device_props() 35 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", in rt711_sdca_add_codec_device_props() 74 struct snd_soc_card *card = rtd->card; in rt711_sdca_rtd_init() 77 struct snd_soc_component *component = codec_dai->component; in rt711_sdca_rtd_init() 81 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_sdca_rtd_init() 82 "%s hs:rt711-sdca", in rt711_sdca_rtd_init() [all …]
|
| D | sof_sdw_rt711.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711 - Helpers to handle RT711 from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 32 return -EPROBE_DEFER; in rt711_add_codec_device_props() 35 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", in rt711_add_codec_device_props() 74 struct snd_soc_card *card = rtd->card; in rt711_rtd_init() 77 struct snd_soc_component *component = codec_dai->component; in rt711_rtd_init() 81 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_rtd_init() 83 card->components); in rt711_rtd_init() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/boards/ |
| D | sof_sdw_rt711.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711 - Helpers to handle RT711 from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 32 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_JACK_JDSRC(sof_sdw_quirk)); in rt711_add_codec_device_props() 74 struct snd_soc_card *card = rtd->card; in rt711_rtd_init() 77 struct snd_soc_component *component = codec_dai->component; in rt711_rtd_init() 81 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_rtd_init() 83 card->components); in rt711_rtd_init() 84 if (!card->components) in rt711_rtd_init() [all …]
|
| D | sof_sdw_rt_sdca_jack_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711_sdca - Helpers to handle RT711-SDCA from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 33 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_JACK_JDSRC(sof_sdw_quirk)); in rt_sdca_jack_add_codec_device_props() 84 struct snd_soc_card *card = rtd->card; in rt_sdca_jack_rtd_init() 87 struct snd_soc_component *component = codec_dai->component; in rt_sdca_jack_rtd_init() 91 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt_sdca_jack_rtd_init() 92 "%s hs:%s-sdca", in rt_sdca_jack_rtd_init() 93 card->components, component->name_prefix); in rt_sdca_jack_rtd_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/extcon/ |
| D | extcon-arizona.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc 21 #include <linux/extcon-provider.h> 28 #include <dt-bindings/mfd/arizona.h> 143 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 148 switch (arizona->type) { in arizona_extcon_hp_clamp() 165 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() 170 dev_warn(arizona->dev, in arizona_extcon_hp_clamp() 180 snd_soc_dapm_mutex_lock(arizona->dapm); in arizona_extcon_hp_clamp() [all …]
|
| /kernel/linux/linux-5.10/Documentation/dev-tools/ |
| D | kselftest.rst | 15 On some systems, hot-plug tests could hang forever waiting for cpu and 16 memory to be ready to be offlined. A special hot-plug target is created 17 to run the full range of hot-plug tests. In default mode, hot-plug tests run 18 in safe mode with a limited scope. In limited mode, cpu-hotplug test is 31 $ make -C tools/testing/selftests 35 $ make -C tools/testing/selftests run_tests 46 kernel src. This is applicable to "Running a subset of selftests" section 78 $ make -C tools/testing/selftests TARGETS=ptrace run_tests 97 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests 108 See the top-level tools/testing/selftests/Makefile for the list of all [all …]
|