[alsa-devel] [PATCH 2/8] ASoC: TWL4030: Add Analog PGA control switch to DAPM
Mark Brown
broonie at sirena.org.uk
Mon Dec 8 12:23:37 CET 2008
On Mon, Dec 08, 2008 at 10:09:02AM +0200, Peter Ujfalusi wrote:
> + /* Analog PGAs
> + * bit 0: APGA enable
> + * bit 1: Digital to analog path enable
> + */
> + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXR1_APGA",
> + TWL4030_REG_ARXR1_APGA_CTL, 0, 0x3, 0x3, 0x0),
> + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXL1_APGA",
> + TWL4030_REG_ARXL1_APGA_CTL, 0, 0x3, 0x3, 0x0),
> + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXR2_APGA",
> + TWL4030_REG_ARXR2_APGA_CTL, 0, 0x3, 0x3, 0x0),
> + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXL2_APGA",
> + TWL4030_REG_ARXL2_APGA_CTL, 0, 0x3, 0x3, 0x0),
> +
The PGA should be standard SND_SOC_DAPM_PGA()s with the digital to
analogue switches used to implement mute controls for them.
More information about the Alsa-devel
mailing list