Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ce6d5fb authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 5fb54fcd on remote branch

Change-Id: I7923fdd1cfb7f70c01f01a014d0d770aba9747f8
parents 0ef5e3e5 5fb54fcd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -329,8 +329,8 @@ machine_dlkm-y := $(MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_CPE) += cpe_lsm_dlkm.o
cpe_lsm_dlkm-y := $(CPE_LSM_OBJS)

obj-$(CONFIG_SND_SOC_GVM_AUTO_SPF) += spf_machine_dlkm.o
spf_machine_dlkm-y := $(SPF_MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_GVM_AUTO_SPF) += gvm_spf_machine_dlkm.o
gvm_spf_machine_dlkm-y := $(SPF_MACHINE_OBJS)

# inject some build related information
DEFINES += -DBUILD_TIMESTAMP=\"$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')\"
+7 −3
Original line number Diff line number Diff line
@@ -212,9 +212,13 @@ const struct snd_soc_dapm_route tavil_audio_map[] = {
	 */

	/* Virtual input widgets */
	{"AIF1 CAP", NULL, "AIF1_CAP Mixer"},
	{"AIF2 CAP", NULL, "AIF2_CAP Mixer"},
	{"AIF3 CAP", NULL, "AIF3_CAP Mixer"},
	{"AIF1 CAP", NULL, "AIF1_CAP_MIX"},
	{"AIF2 CAP", NULL, "AIF2_CAP_MIX"},
	{"AIF3 CAP", NULL, "AIF3_CAP_MIX"},

	{"AIF1_CAP_MIX", NULL, "AIF1_CAP Mixer"},
	{"AIF2_CAP_MIX", NULL, "AIF2_CAP Mixer"},
	{"AIF3_CAP_MIX", NULL, "AIF3_CAP Mixer"},

	/* WDMA3 */
	{"WDMA3 PORT0 MUX", "DEC0", "ADC MUX0"},
+15 −9
Original line number Diff line number Diff line
@@ -8187,14 +8187,20 @@ static const struct snd_soc_dapm_widget tavil_dapm_widgets[] = {
		tavil_codec_force_enable_micbias,
		SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),

	SND_SOC_DAPM_AIF_OUT_E("AIF1 CAP", "AIF1 Capture", 0, SND_SOC_NOPM,
			       AIF1_CAP, 0, tavil_codec_enable_tx,
	SND_SOC_DAPM_AIF_OUT("AIF1 CAP", "AIF1 Capture", 0, SND_SOC_NOPM, 0, 0),
	SND_SOC_DAPM_AIF_OUT("AIF2 CAP", "AIF2 Capture", 0, SND_SOC_NOPM, 0, 0),
	SND_SOC_DAPM_AIF_OUT("AIF3 CAP", "AIF3 Capture", 0, SND_SOC_NOPM, 0, 0),

	SND_SOC_DAPM_MIXER_E("AIF1_CAP_MIX", SND_SOC_NOPM, AIF1_CAP, 0,
		NULL, 0, tavil_codec_enable_tx,
		SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
	SND_SOC_DAPM_AIF_OUT_E("AIF2 CAP", "AIF2 Capture", 0, SND_SOC_NOPM,
			       AIF2_CAP, 0, tavil_codec_enable_tx,

	SND_SOC_DAPM_MIXER_E("AIF2_CAP_MIX", SND_SOC_NOPM, AIF2_CAP, 0,
		NULL, 0, tavil_codec_enable_tx,
		SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
	SND_SOC_DAPM_AIF_OUT_E("AIF3 CAP", "AIF3 Capture", 0, SND_SOC_NOPM,
			       AIF3_CAP, 0, tavil_codec_enable_tx,

	SND_SOC_DAPM_MIXER_E("AIF3_CAP_MIX", SND_SOC_NOPM, AIF3_CAP, 0,
		NULL, 0, tavil_codec_enable_tx,
		SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),

	SND_SOC_DAPM_MIXER("SLIM TX0", SND_SOC_NOPM, 0, 0, NULL, 0),
+2 −1
Original line number Diff line number Diff line
@@ -2074,7 +2074,8 @@ const char * const tx_master_ch_text[] = {
	"ZERO", "SWRM_TX1_CH1", "SWRM_TX1_CH2", "SWRM_TX1_CH3", "SWRM_TX1_CH4",
	"SWRM_TX2_CH1", "SWRM_TX2_CH2", "SWRM_TX2_CH3", "SWRM_TX2_CH4",
	"SWRM_TX3_CH1", "SWRM_TX3_CH2", "SWRM_TX3_CH3", "SWRM_TX3_CH4",
	"SWRM_PCM_IN",
	"SWRM_PCM_IN", "ADC1", "ADC3", "ADC4", "DMIC0", "DMIC1", "DMIC2",
	"DMIC4", "DMIC5", "DMIC6", "DMIC7",
};

const struct soc_enum tx_master_ch_enum =
+11 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#ifndef _WCD937X_H
@@ -50,6 +51,16 @@ static int wcd937x_swr_master_ch_map[] = {
	SWRM_TX3_CH3,
	SWRM_TX3_CH4,
	SWRM_PCM_IN,
	ADC1,
	ADC3,
	ADC4,
	DMIC0,
	DMIC1,
	DMIC2,
	DMIC4,
	DMIC5,
	DMIC6,
	DMIC7,
};

#ifdef CONFIG_SND_SOC_WCD937X
Loading