aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8903.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-22 15:04:44 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-22 16:37:24 -0400
commitc2aef4ffd24dab5c8e94c66e4042ad39d38bcf39 (patch)
tree379a188c17f2e1b21904179ea01e278007f11d6b /sound/soc/codecs/wm8903.c
parent42768a12822c3a0a6d7db69445281db975938294 (diff)
ASoC: Support CLK_DSP in WM8903
CLK_DSP provides a master clock for the DAC and ADC related functionality on the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r--sound/soc/codecs/wm8903.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index a3a489da008f..27c8b94c0551 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -846,6 +846,7 @@ SND_SOC_DAPM_PGA("Right Speaker PGA", WM8903_POWER_MANAGEMENT_5, 0, 0,
846 846
847SND_SOC_DAPM_SUPPLY("Charge Pump", WM8903_CHARGE_PUMP_0, 0, 0, 847SND_SOC_DAPM_SUPPLY("Charge Pump", WM8903_CHARGE_PUMP_0, 0, 0,
848 wm8903_cp_event, SND_SOC_DAPM_POST_PMU), 848 wm8903_cp_event, SND_SOC_DAPM_POST_PMU),
849SND_SOC_DAPM_SUPPLY("CLK_DSP", WM8903_CLOCK_RATES_2, 1, 0, NULL, 0),
849}; 850};
850 851
851static const struct snd_soc_dapm_route intercon[] = { 852static const struct snd_soc_dapm_route intercon[] = {
@@ -891,7 +892,12 @@ static const struct snd_soc_dapm_route intercon[] = {
891 { "Right Input PGA", NULL, "Right Input Mode Mux" }, 892 { "Right Input PGA", NULL, "Right Input Mode Mux" },
892 893
893 { "ADCL", NULL, "Left Input PGA" }, 894 { "ADCL", NULL, "Left Input PGA" },
895 { "ADCL", NULL, "CLK_DSP" },
894 { "ADCR", NULL, "Right Input PGA" }, 896 { "ADCR", NULL, "Right Input PGA" },
897 { "ADCR", NULL, "CLK_DSP" },
898
899 { "DACL", NULL, "CLK_DSP" },
900 { "DACR", NULL, "CLK_DSP" },
895 901
896 { "Left Output Mixer", "Left Bypass Switch", "Left Input PGA" }, 902 { "Left Output Mixer", "Left Bypass Switch", "Left Input PGA" },
897 { "Left Output Mixer", "Right Bypass Switch", "Right Input PGA" }, 903 { "Left Output Mixer", "Right Bypass Switch", "Right Input PGA" },