/linux/Documentation/devicetree/bindings/sound/ |
H A D | realtek,rt5659.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 40 - $ref: dai-common.yaml# 45 - realtek,rt5659 46 - realtek,rt5658 57 clock-names: 60 realtek,dmic1-data-pin: 63 - 0 # dmic1 is not used [all …]
|
H A D | realtek,rt5645.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 35 - $ref: dai-common.yaml# 40 - realtek,rt5645 41 - realtek,rt5650 50 avdd-supply: 53 cpvdd-supply: 56 hp-detect-gpios: [all …]
|
H A 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 23 1: using GPIO4 pin as dmic1 data pin [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A 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 …]
|
H A D | sc7280-idp.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 9 #include <dt-bindings/input/linux-event-codes.h> 15 #include "sc7280-chrome-common.dtsi" 16 #include "sc7280-herobrine-lte-sku.dtsi" 25 max98360a: audio-codec-0 { 27 pinctrl-names = "default"; 28 pinctrl-0 = <&_en>; 29 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>; 30 #sound-dai-cells = <0>; [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3740-0002+p3701-0008.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/sound/rt5640.h> 7 #include "tegra234-p3701-0008.dtsi" 11 compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234"; 19 stdout-path = "serial0:115200n8"; 29 dai-format = "i2s"; 30 remote-endpoint = <&rt5640_ep>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | rt5514.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5514.c -- RT5514 ALSA SoC audio codec driver 24 #include <sound/soc-dapm.h> 31 #include "rt5514-spi.h" 120 regmap_write(rt5514->i2c_regmap, 0x18002000, 0x000010ec); in rt5514_enable_dsp_prepare() 122 regmap_write(rt5514->i2c_regmap, 0x18002200, 0x00028604); in rt5514_enable_dsp_prepare() 124 regmap_write(rt5514->i2c_regmap, 0xfafafafa, 0x00000001); in rt5514_enable_dsp_prepare() 125 /* mini-core reset */ in rt5514_enable_dsp_prepare() 126 regmap_write(rt5514->i2c_regmap, 0x18002f00, 0x0005514b); in rt5514_enable_dsp_prepare() 127 regmap_write(rt5514->i2c_regmap, 0x18002f00, 0x00055149); in rt5514_enable_dsp_prepare() [all …]
|
H A D | rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5645.c -- RT5645 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 41 static unsigned int quirk = -1; 438 /* Some (package) variants have the headset-mic pin not-connected */ 670 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 671 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 672 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 673 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 687 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */ [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, -4650, 150, 0); 887 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 888 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 889 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 891 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); [all …]
|
H A 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 …]
|
H A D | rt700.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt700.c -- rt700 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 66 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect() 69 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect() 112 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 122 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 128 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect() 137 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect() 140 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect() [all …]
|
H A 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() 106 struct regmap *regmap = rt711->regmap; in rt711_sdca_calibration() 110 mutex_lock(&rt711->calibrate_mutex); in rt711_sdca_calibration() [all …]
|
H A D | rt5677.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5677.h -- RT5677 ALSA SoC audio driver 20 /* I/O - Output */ 22 /* I/O - Input */ 25 /* I/O - SLIMBus */ 31 /* I/O - ADC/DAC */ 43 /* Mixer - D-D */ 60 /* Mixer - PDM */ 116 /* Format - ADC/DAC */ 124 /* Function - Analog */ [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform 30 #include <sound/soc-acpi.h> 31 #include <dt-bindings/sound/rt5640.h> 33 #include "../atom/sst-atom-controls.h" 34 #include "../common/soc-intel-quirks.h" 36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640" 77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */ 98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */ 112 static int quirk_override = -1; [all …]
|
/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra234.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Pinctrl data for the NVIDIA Tegra234 pinmux 5 * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. 16 #include "pinctrl-tegra.h" 224 /* Table for pin descriptor */ 1371 TEGRA_PIN_FUNCTION(dmic2), 1382 #define PINGROUP_REG_N(r) -1 1385 #define DRV_PINGROUP_N(r) -1 1388 .drv_reg = -1, \ 1389 .drv_bank = -1, \ [all …]
|
H A D | pinctrl-tegra194.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Pinctrl data for the NVIDIA Tegra194 pinmux 5 * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. 23 #include "pinctrl-tegra.h" 254 /* Table for pin descriptor */ 1218 TEGRA_PIN_FUNCTION(dmic2), 1281 #define PINGROUP_REG_N(r) -1 1284 #define DRV_PINGROUP_N(r) -1 1287 .drv_reg = -1, \ 1288 .drv_bank = -1, \ [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra114-asus-tf701t.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 13 chassis-type = "convertible"; 29 trusted-foundations { 30 compatible = "tlm,trusted-foundations"; 31 tlm,version-major = <2>; 32 tlm,version-minor = <8>; 40 reserved-memory { [all …]
|