| /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 16 0: dmic1 is not used 17 1: using GPIO2 pin as dmic1 data pin 18 2: using GPIO5 pin as dmic1 data pin 20 - realtek,dmic1-clk-pin 21 0: using GPIO1 pin as dmic1 clock pin 22 1: using GPIO3 pin as dmic1 clock pin [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 16 0: dmic1 is not used 17 1: using GPIO2 pin as dmic1 data pin 18 2: using GPIO5 pin as dmic1 data pin 20 - realtek,dmic1-clk-pin 21 0: using GPIO1 pin as dmic1 clock pin 22 1: using GPIO3 pin as dmic1 clock 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 | rt5645.txt | 7 - compatible : One of "realtek,rt5645" or "realtek,rt5650". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 13 - avdd-supply: Power supply for AVDD, providing 1.8V. 15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V. 19 - hp-detect-gpios: 20 a GPIO spec for the external headphone detect pin. If jd-mode = 0, 21 we will get the JD status by getting the value of hp-detect-gpios. 23 - realtek,in2-differential 24 Boolean. Indicate MIC2 input are differential, rather than single-ended. [all …]
|
| D | rt5640.txt | 7 - compatible : One of "realtek,rt5640" or "realtek,rt5639". 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,in2-differential 20 - realtek,in3-differential 21 Boolean. Indicate MIC1/2/3 input are differential, rather than single-ended. 23 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. [all …]
|
| D | rt5660.txt | 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 24 - realtek,dmic1-data-pin 25 0: dmic1 is not used [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 22 0: dmic1 is not used [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 16 0: dmic1 is not used 17 1: using GPIO2 pin as dmic1 data pin 18 2: using GPIO5 pin as dmic1 data pin 20 - realtek,dmic1-clk-pin 21 0: using GPIO1 pin as dmic1 clock pin 22 1: using GPIO3 pin as dmic1 clock pin [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 12 AVDD pin 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 15 bias through the MICVDD pin. Either MICVDD or VBAT should be present. 17 - VBAT-supply: phandle to the regulator supplying battery power through the 18 VBAT pin. Either MICVDD or VBAT should be present. 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 21 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 | rt5645.txt | 7 - compatible : One of "realtek,rt5645" or "realtek,rt5650". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 13 - avdd-supply: Power supply for AVDD, providing 1.8V. 15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V. 19 - hp-detect-gpios: 20 a GPIO spec for the external headphone detect pin. If jd-mode = 0, 21 we will get the JD status by getting the value of hp-detect-gpios. 23 - cbj-sleeve-gpios: 28 - realtek,in2-differential [all …]
|
| D | rt5640.txt | 7 - compatible : One of "realtek,rt5640" or "realtek,rt5639". 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,in2-differential 20 - realtek,in3-differential 21 Boolean. Indicate MIC1/2/3 input are differential, rather than single-ended. 23 - realtek,lout-differential [all …]
|
| D | rt5660.txt | 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 24 - realtek,dmic1-data-pin 25 0: dmic1 is not used [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 22 0: dmic1 is not used [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | lpass-va-macro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 5 #include <linux/clk-provider.h> 16 #include <sound/soc-dapm.h> 19 #include "lpass-macro-common.h" 165 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400); 443 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request() 476 struct regmap *regmap = va->regmap; in va_macro_mclk_enable() 492 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in va_macro_mclk_event() 497 return clk_prepare_enable(va->fsgen); in va_macro_mclk_event() [all …]
|
| D | rt286.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt286.c -- RT286 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 196 snd_soc_component_write(component, rt286->index_cache[i].reg, in rt286_index_sync() 197 rt286->index_cache[i].def); in rt286_index_sync() 223 if (!rt286->component) in rt286_jack_detect() 224 return -EINVAL; in rt286_jack_detect() 226 dapm = snd_soc_component_get_dapm(rt286->component); in rt286_jack_detect() 228 if (rt286->pdata.cbj_en) { in rt286_jack_detect() 229 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect() [all …]
|
| D | rt298.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt298.c -- RT298 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 200 snd_soc_component_write(component, rt298->index_cache[i].reg, in rt298_index_sync() 201 rt298->index_cache[i].def); in rt298_index_sync() 227 if (!rt298->component) in rt298_jack_detect() 228 return -EINVAL; in rt298_jack_detect() 230 dapm = snd_soc_component_get_dapm(rt298->component); in rt298_jack_detect() 232 if (rt298->pdata.cbj_en) { in rt298_jack_detect() 233 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect() [all …]
|
| D | rt5670.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5670.c -- RT5670 ALSA SoC audio codec driver 25 #include <sound/soc-dapm.h> 31 #include "rt5670-dsp.h" 50 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 422 * rt5670_headset_detect - Detect headset. 457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect() 464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect() 471 rt5670->jack_type = 0; in rt5670_headset_detect() 476 return rt5670->jack_type; in rt5670_headset_detect() [all …]
|
| D | rt274.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt274.c -- RT274 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 344 snd_soc_component_write(component, rt274->index_cache[i].reg, in rt274_index_sync() 345 rt274->index_cache[i].def); in rt274_index_sync() 358 if (!rt274->component) in rt274_jack_detect() 359 return -EINVAL; in rt274_jack_detect() 361 ret = regmap_read(rt274->regmap, RT274_GET_HP_SENSE, &buf); in rt274_jack_detect() 366 ret = regmap_read(rt274->regmap, RT274_GET_MIC_SENSE, &buf); in rt274_jack_detect() 394 snd_soc_jack_report(rt274->jack, status, in rt274_jack_detect_work() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra234-p3737-0000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/sound/rt5640.h> 6 compatible = "nvidia,p3737-0000"; 15 dai-format = "i2s"; 16 remote-endpoint = <&rt5640_ep>; 32 vcc-supply = <&vdd_1v8_sys>; 33 address-width = <8>; 36 read-only; 43 audio-codec@1c { 46 interrupt-parent = <&gpio>; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | rt286.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt286.c -- RT286 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 196 snd_soc_component_write(component, rt286->index_cache[i].reg, in rt286_index_sync() 197 rt286->index_cache[i].def); in rt286_index_sync() 223 if (!rt286->component) in rt286_jack_detect() 224 return -EINVAL; in rt286_jack_detect() 226 dapm = snd_soc_component_get_dapm(rt286->component); in rt286_jack_detect() 228 if (rt286->pdata.cbj_en) { in rt286_jack_detect() 229 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect() [all …]
|
| D | rt298.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt298.c -- RT298 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 200 snd_soc_component_write(component, rt298->index_cache[i].reg, in rt298_index_sync() 201 rt298->index_cache[i].def); in rt298_index_sync() 227 if (!rt298->component) in rt298_jack_detect() 228 return -EINVAL; in rt298_jack_detect() 230 dapm = snd_soc_component_get_dapm(rt298->component); in rt298_jack_detect() 232 if (rt298->pdata.cbj_en) { in rt298_jack_detect() 233 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect() [all …]
|