Re: [PATCH 1/4] ASoC: tlv320aic32x4: Add missing DAC and driver output mixer routes

From: Gianfranco Mariotti

Date: Tue Nov 24 2026 - 14:08:01 EST


Hi Mark,

Thanks for pointing this out, I proceeded to double-check on the
AIC32x6 reference guides.

Checking all four patches against SLAA463 (TLV320AIC3206) and SLAU306
(TLV320AIC3256) in addition to SLAA557/SLAA408 (TLV320AIC3204/3254):

- TAS2505 uses its own separate soc_component_dev_aic32x4_tas2505
component and is unaffected by this series.
- Patch 1: AIC32X4_HPRROUTE bit 4 (L_DAC Switch), AIC32X4_LOLROUTE bit 4
(R_DAC Switch), and AIC32X4_LOLROUTE bit 0 (LOR Switch) are supported
on both AIC32x4 and AIC32x6, whereas AIC32X4_HPRROUTE bit 0 ("HPL
Switch", HPL output routed to HPR) is AIC32x4-only and marked Reserved
on AIC32x6 (which uses ground-centered charge-pump headphone drivers
rather than AVDD-powered headphone drivers).
- Patches 2 & 4: MAL/MAR power and routing (Page 1, Reg 9 and 12-15) and
CM2_L/CM2_R negative MicPGA routing (Page 1, Reg 54 and 57 bits 1:0)
are identical across AIC32x4 and AIC32x6.
- Patch 3: MAL/MAR bypass volume (Page 1, Reg 24-25, 0x00..0x28) is
identical across all four guides. IN1L/R-to-HPL/R bypass volume (Page
1, Reg 22-23, 0x00..0x75) is also identical in SLAA557, SLAA408, and
SLAU306 (AIC3256); SLAA463B (AIC3206) omits the -6.5 dB, -7.5 dB, and
-31.1 dB rows (shifting MUTE from 0x75 to 0x72), which looks like a
table erratum in SLAA463B given SLAU306A has them and both parts share
ti,tlv320aic32x6.

I will restrict "HPL Switch" and its DAPM route to AIC32X4_TYPE_AIC32X4
in v2.

Best regards,
Gianfranco

Il giorno mar 24 nov 2026 alle ore 19:03 Mark Brown
<broonie@xxxxxxxxxx> ha scritto:
>
> > The HPR and LOL output routing selection registers (Page 1, Registers 13
> > and 14) support routing the opposite DAC channel's negative
> > reconstruction filter terminal as well as bridging the HPL and LOR
> > output amplifier stages for mono differential configurations:
> > - AIC32X4_HPRROUTE bit 4: Left DAC negative terminal to HPR
> > - AIC32X4_HPRROUTE bit 0: HPL output driver to HPR
> > - AIC32X4_LOLROUTE bit 4: Right DAC negative terminal to LOL
> > - AIC32X4_LOLROUTE bit 0: LOR output driver to LOL
>
> > static const struct snd_kcontrol_new hpr_output_mixer_controls[] = {
> > + SOC_DAPM_SINGLE("L_DAC Switch", AIC32X4_HPRROUTE, 4, 1, 0),
> > SOC_DAPM_SINGLE("R_DAC Switch", AIC32X4_HPRROUTE, 3, 1, 0),
> > SOC_DAPM_SINGLE("IN1_R Switch", AIC32X4_HPRROUTE, 2, 1, 0),
> > + SOC_DAPM_SINGLE("HPL Switch", AIC32X4_HPRROUTE, 0, 1, 0),
>
> Is this supported for all the devices covered by the driver? See
>
> https://www.ti.com/lit/pdf/slaa463
> https://www.ti.com/lit/pdf/slau306
>
> --
> Mark Brown <broonie@xxxxxxxxxx>