Skip to content
Snippets Groups Projects
Commit fd5f0520 authored by Alessandro Pecugi's avatar Alessandro Pecugi Committed by Gianfranco Mariotti
Browse files

[DRIVER][TLV320] add MAR switch to HPL

Add the ability to connect the left headphone to the right mixer amplifier.
This is necessary to use the differential mic input with headphone output.
parent d48e95a1
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,7 @@ static const struct snd_kcontrol_new hpl_output_mixer_controls[] = {
SOC_DAPM_SINGLE("L_DAC Switch", AIC32X4_HPLROUTE, 3, 1, 0),
SOC_DAPM_SINGLE("IN1_L Switch", AIC32X4_HPLROUTE, 2, 1, 0),
SOC_DAPM_SINGLE("MAL Switch", AIC32X4_HPLROUTE, 1, 1, 0),
SOC_DAPM_SINGLE("MAR Switch", AIC32X4_HPLROUTE, 0, 1, 0),
};
static const struct snd_kcontrol_new hpr_output_mixer_controls[] = {
......@@ -513,6 +514,7 @@ static const struct snd_soc_dapm_route aic32x4_dapm_routes[] = {
{"HPL Output Mixer", "L_DAC Switch", "Left DAC"},
{"HPL Output Mixer", "IN1_L Switch", "IN1_L"},
{"HPL Output Mixer", "MAL Switch", "MAL"},
{"HPL Output Mixer", "MAR Switch", "MAR"},
{"HPL Power", NULL, "HPL Output Mixer"},
{"HPL", NULL, "HPL Power"},
......@@ -538,6 +540,7 @@ static const struct snd_soc_dapm_route aic32x4_dapm_routes[] = {
{"MAR Power", NULL, "HPR Output Mixer"},
{"MAR Power", NULL, "LOR Output Mixer"},
{"MAR Power", NULL, "HPL Output Mixer"},
{"MAR", NULL, "MAR Power"},
{"LOR Output Mixer", "R_DAC Switch", "Right DAC"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment