diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-06 22:54:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-07 20:47:28 -0400 |
commit | 822b4b8d63e09076a4487eb881d3b7a13b28121c (patch) | |
tree | 9055f1cfd04567b7f38270ffd7521baa74947642 /sound/soc | |
parent | 6d97c09c64974ab41708e2d38394928ec0eeb2f0 (diff) |
ASoC: dapm: Add flags to regulator supplies
This will be used to enable additional control of the regulators.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/ab8500-codec.c | 8 | ||||
-rw-r--r-- | sound/soc/codecs/wm2200.c | 4 | ||||
-rw-r--r-- | sound/soc/codecs/wm5100.c | 6 | ||||
-rw-r--r-- | sound/soc/codecs/wm5102.c | 12 | ||||
-rw-r--r-- | sound/soc/codecs/wm5110.c | 12 | ||||
-rw-r--r-- | sound/soc/codecs/wm8996.c | 2 |
6 files changed, 22 insertions, 22 deletions
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index b7836503dc69..3f46bffeb0c3 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c | |||
@@ -390,10 +390,10 @@ static const struct snd_soc_dapm_widget ab8500_dapm_widgets[] = { | |||
390 | SND_SOC_DAPM_CLOCK_SUPPLY("audioclk"), | 390 | SND_SOC_DAPM_CLOCK_SUPPLY("audioclk"), |
391 | 391 | ||
392 | /* Regulators */ | 392 | /* Regulators */ |
393 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AUD", 0), | 393 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AUD", 0, 0), |
394 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AMIC1", 0), | 394 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AMIC1", 0, 0), |
395 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AMIC2", 0), | 395 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-AMIC2", 0, 0), |
396 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-DMIC", 0), | 396 | SND_SOC_DAPM_REGULATOR_SUPPLY("V-DMIC", 0, 0), |
397 | 397 | ||
398 | /* Power */ | 398 | /* Power */ |
399 | SND_SOC_DAPM_SUPPLY("Audio Power", | 399 | SND_SOC_DAPM_SUPPLY("Audio Power", |
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index 71debd0a3822..efa93dbb0191 100644 --- a/sound/soc/codecs/wm2200.c +++ b/sound/soc/codecs/wm2200.c | |||
@@ -1117,8 +1117,8 @@ SND_SOC_DAPM_SUPPLY("MICBIAS1", WM2200_MIC_BIAS_CTRL_1, WM2200_MICB1_ENA_SHIFT, | |||
1117 | 0, NULL, 0), | 1117 | 0, NULL, 0), |
1118 | SND_SOC_DAPM_SUPPLY("MICBIAS2", WM2200_MIC_BIAS_CTRL_2, WM2200_MICB2_ENA_SHIFT, | 1118 | SND_SOC_DAPM_SUPPLY("MICBIAS2", WM2200_MIC_BIAS_CTRL_2, WM2200_MICB2_ENA_SHIFT, |
1119 | 0, NULL, 0), | 1119 | 0, NULL, 0), |
1120 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20), | 1120 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0), |
1121 | SND_SOC_DAPM_REGULATOR_SUPPLY("AVDD", 20), | 1121 | SND_SOC_DAPM_REGULATOR_SUPPLY("AVDD", 20, 0), |
1122 | 1122 | ||
1123 | SND_SOC_DAPM_INPUT("IN1L"), | 1123 | SND_SOC_DAPM_INPUT("IN1L"), |
1124 | SND_SOC_DAPM_INPUT("IN1R"), | 1124 | SND_SOC_DAPM_INPUT("IN1R"), |
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index f4817292ef45..4da1b92b22c2 100644 --- a/sound/soc/codecs/wm5100.c +++ b/sound/soc/codecs/wm5100.c | |||
@@ -848,9 +848,9 @@ SND_SOC_DAPM_SUPPLY("SYSCLK", WM5100_CLOCKING_3, WM5100_SYSCLK_ENA_SHIFT, 0, | |||
848 | SND_SOC_DAPM_SUPPLY("ASYNCCLK", WM5100_CLOCKING_6, WM5100_ASYNC_CLK_ENA_SHIFT, | 848 | SND_SOC_DAPM_SUPPLY("ASYNCCLK", WM5100_CLOCKING_6, WM5100_ASYNC_CLK_ENA_SHIFT, |
849 | 0, NULL, 0), | 849 | 0, NULL, 0), |
850 | 850 | ||
851 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20), | 851 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0), |
852 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0), | 852 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0), |
853 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0), | 853 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0), |
854 | 854 | ||
855 | SND_SOC_DAPM_SUPPLY("CP1", WM5100_HP_CHARGE_PUMP_1, WM5100_CP1_ENA_SHIFT, 0, | 855 | SND_SOC_DAPM_SUPPLY("CP1", WM5100_HP_CHARGE_PUMP_1, WM5100_CP1_ENA_SHIFT, 0, |
856 | NULL, 0), | 856 | NULL, 0), |
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index e2fb07ee68a7..4a2db4e10885 100644 --- a/sound/soc/codecs/wm5102.c +++ b/sound/soc/codecs/wm5102.c | |||
@@ -305,12 +305,12 @@ SND_SOC_DAPM_SUPPLY("OPCLK", ARIZONA_OUTPUT_SYSTEM_CLOCK, | |||
305 | SND_SOC_DAPM_SUPPLY("ASYNCOPCLK", ARIZONA_OUTPUT_ASYNC_CLOCK, | 305 | SND_SOC_DAPM_SUPPLY("ASYNCOPCLK", ARIZONA_OUTPUT_ASYNC_CLOCK, |
306 | ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0), | 306 | ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0), |
307 | 307 | ||
308 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0), | 308 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0), |
309 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0), | 309 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0), |
310 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20), | 310 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0), |
311 | SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0), | 311 | SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, 0), |
312 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0), | 312 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0, 0), |
313 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0), | 313 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0, 0), |
314 | 314 | ||
315 | SND_SOC_DAPM_SIGGEN("TONE"), | 315 | SND_SOC_DAPM_SIGGEN("TONE"), |
316 | SND_SOC_DAPM_SIGGEN("NOISE"), | 316 | SND_SOC_DAPM_SIGGEN("NOISE"), |
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index 57c7d9c0aadb..bf47914234b3 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c | |||
@@ -310,12 +310,12 @@ SND_SOC_DAPM_SUPPLY("OPCLK", ARIZONA_OUTPUT_SYSTEM_CLOCK, | |||
310 | SND_SOC_DAPM_SUPPLY("ASYNCOPCLK", ARIZONA_OUTPUT_ASYNC_CLOCK, | 310 | SND_SOC_DAPM_SUPPLY("ASYNCOPCLK", ARIZONA_OUTPUT_ASYNC_CLOCK, |
311 | ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0), | 311 | ARIZONA_OPCLK_ASYNC_ENA_SHIFT, 0, NULL, 0), |
312 | 312 | ||
313 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0), | 313 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD2", 0, 0), |
314 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0), | 314 | SND_SOC_DAPM_REGULATOR_SUPPLY("DBVDD3", 0, 0), |
315 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20), | 315 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0), |
316 | SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0), | 316 | SND_SOC_DAPM_REGULATOR_SUPPLY("MICVDD", 0, 0), |
317 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0), | 317 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDL", 0, 0), |
318 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0), | 318 | SND_SOC_DAPM_REGULATOR_SUPPLY("SPKVDDR", 0, 0), |
319 | 319 | ||
320 | SND_SOC_DAPM_SIGGEN("TONE"), | 320 | SND_SOC_DAPM_SIGGEN("TONE"), |
321 | SND_SOC_DAPM_SIGGEN("NOISE"), | 321 | SND_SOC_DAPM_SIGGEN("NOISE"), |
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index 00f183dfa454..6dcb02c3666f 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c | |||
@@ -931,7 +931,7 @@ SND_SOC_DAPM_INPUT("IN2RP"), | |||
931 | SND_SOC_DAPM_INPUT("DMIC1DAT"), | 931 | SND_SOC_DAPM_INPUT("DMIC1DAT"), |
932 | SND_SOC_DAPM_INPUT("DMIC2DAT"), | 932 | SND_SOC_DAPM_INPUT("DMIC2DAT"), |
933 | 933 | ||
934 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20), | 934 | SND_SOC_DAPM_REGULATOR_SUPPLY("CPVDD", 20, 0), |
935 | SND_SOC_DAPM_SUPPLY_S("SYSCLK", 1, WM8996_AIF_CLOCKING_1, 0, 0, NULL, 0), | 935 | SND_SOC_DAPM_SUPPLY_S("SYSCLK", 1, WM8996_AIF_CLOCKING_1, 0, 0, NULL, 0), |
936 | SND_SOC_DAPM_SUPPLY_S("SYSDSPCLK", 2, WM8996_CLOCKING_1, 1, 0, NULL, 0), | 936 | SND_SOC_DAPM_SUPPLY_S("SYSDSPCLK", 2, WM8996_CLOCKING_1, 1, 0, NULL, 0), |
937 | SND_SOC_DAPM_SUPPLY_S("AIFCLK", 2, WM8996_CLOCKING_1, 2, 0, NULL, 0), | 937 | SND_SOC_DAPM_SUPPLY_S("AIFCLK", 2, WM8996_CLOCKING_1, 2, 0, NULL, 0), |