Home
last modified time | relevance | path

Searched +full:jd +full:- +full:src (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Drt5668.txt7 - 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 …]
Drealtek,rt5682s.yaml1 # 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 …]
Drt5682.txt7 - 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 …]
Drealtek,rt5659.yaml1 # 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 …]
Drt5665.txt7 - 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 …]
/linux-6.12.1/sound/soc/codecs/
Dsrc4xxx.c1 // 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 …]
Darizona-jack.c1 // 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 …]
Drt712-sdca.c1 // 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 …]
Drt711.c1 // 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 …]
Drt711-sdca.c1 // 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 …]
Drt722-sdca.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt722-sdca.c -- rt722 SDCA ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
26 #include "rt722-sdca.h"
31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write()
37 dev_err(&rt722->slave->dev, in rt722_sdca_index_write()
48 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_read()
53 dev_err(&rt722->slave->dev, in rt722_sdca_index_read()
99 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect()
110 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect()
[all …]
Drt5668.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5668.c -- RT5668B ALSA SoC audio component driver
26 #include <sound/soc-dapm.h>
746 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0);
747 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0);
748 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0);
803 * rt5668_sel_asrc_clk_src - select ASRC clock source for a set of filters
827 return -EINVAL; in rt5668_sel_asrc_clk_src()
887 * rt5668_headset_detect - Detect headset.
922 rt5668->jack_type = SND_JACK_HEADSET; in rt5668_headset_detect()
[all …]
Drt5682.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt5682.c -- RT5682 ALSA SoC audio component driver
25 #include <sound/soc-dapm.h>
38 "LDO1-IN",
60 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list()
749 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
750 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
817 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset()
818 if (!rt5682->is_sdw) in rt5682_reset()
819 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset()
[all …]
Drt5682s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver
25 #include <sound/soc-dapm.h>
38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk",
39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk",
46 [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN",
69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); in rt5682s_apply_patch_list()
624 regmap_write(rt5682s->regmap, RT5682S_RESET, 0); in rt5682s_reset()
634 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682s_button_detect()
651 mutex_lock(&rt5682s->sar_mutex); in rt5682s_sar_power_mode()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-rt5682s-sku.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 pinctrl-names = "default";
13 pinctrl-0 = <&hp_irq>;
15 #sound-dai-cells = <1>;
17 interrupt-parent = <&tlmm>;
24 AVDD-supply = <&pp1800_alc5682>;
25 DBVDD-supply = <&pp1800_alc5682>;
26 LDO1-IN-supply = <&pp1800_alc5682>;
27 MICVDD-supply = <&pp3300_codec>;
29 realtek,dmic1-data-pin = <1>;
[all …]
Dsc7180-trogdor-rt5682i-sku.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 pinctrl-names = "default";
13 pinctrl-0 = <&hp_irq>;
15 #sound-dai-cells = <1>;
17 interrupt-parent = <&tlmm>;
24 AVDD-supply = <&pp1800_alc5682>;
25 DBVDD-supply = <&pp1800_alc5682>;
26 LDO1-IN-supply = <&pp1800_alc5682>;
27 MICVDD-supply = <&pp3300_codec>;
28 VBAT-supply = <&pp3300_audio>;
[all …]
Dsc7280-herobrine-audio-rt5682.dtsi1 // 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 …]
Dsc7280-herobrine-audio-rt5682-3mic.dtsi1 // 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 …]
Dsc7180-acer-aspire1.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/sound/qcom,q6asm.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 /delete-node/ &tz_mem;
15 /delete-node/ &ipa_fw_mem;
20 chassis-type = "laptop";
30 stdout-path = "serial0:115200n8";
33 reserved-memory {
[all …]
/linux-6.12.1/drivers/media/dvb-frontends/
Dzl10039.c1 // 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 …]
/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_rt711.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * soc_sdw_rt711 - Helpers to handle RT711 from generic machine driver
17 #include <sound/soc-acpi.h>
18 #include <sound/soc-dapm.h>
34 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOC_SDW_JACK_JDSRC(quirk)); in rt711_add_codec_device_props()
66 struct snd_soc_card *card = rtd->card; in asoc_sdw_rt711_rtd_init()
72 component = dai->component; in asoc_sdw_rt711_rtd_init()
73 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in asoc_sdw_rt711_rtd_init()
75 card->components); in asoc_sdw_rt711_rtd_init()
76 if (!card->components) in asoc_sdw_rt711_rtd_init()
[all …]
Dsoc_sdw_rt_sdca_jack_common.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * soc_sdw_rt711_sdca - Helpers to handle RT711-SDCA from generic machine driver
17 #include <sound/soc-acpi.h>
18 #include <sound/soc-dapm.h>
35 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOC_SDW_JACK_JDSRC(quirk)); in rt_sdca_jack_add_codec_device_props()
81 * RT713 is an SDCA device but the sdca suffix is required for backwards-compatibility with
90 struct snd_soc_card *card = rtd->card; in asoc_sdw_rt_sdca_jack_rtd_init()
97 component = dai->component; in asoc_sdw_rt_sdca_jack_rtd_init()
98 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in asoc_sdw_rt_sdca_jack_rtd_init()
100 card->components, component->name_prefix); in asoc_sdw_rt_sdca_jack_rtd_init()
[all …]
/linux-6.12.1/Documentation/dev-tools/
Dkselftest.rst23 On some systems, hot-plug tests could hang forever waiting for cpu and
24 memory to be ready to be offlined. A special hot-plug target is created
25 to run the full range of hot-plug tests. In default mode, hot-plug tests run
26 in safe mode with a limited scope. In limited mode, cpu-hotplug test is
40 $ make -C tools/testing/selftests
44 $ make -C tools/testing/selftests run_tests
55 kernel src. This is applicable to "Running a subset of selftests" section
87 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
106 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
117 See the top-level tools/testing/selftests/Makefile for the list of all
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
[all …]
Dmt8192-asurada.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/spmi/spmi.h>
25 stdout-path = "serial0:115200n8";
33 backlight_lcd0: backlight-lcd0 {
34 compatible = "pwm-backlight";
36 power-supply = <&ppvar_sys>;
37 enable-gpios = <&pio 152 0>;
38 brightness-levels = <0 1023>;
[all …]

12