diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-06-29 17:09:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-02 11:07:30 +0100 |
commit | 424e2b4b3521334812d833eef27df77671428698 (patch) | |
tree | 7386c9e929f6a464cdbc3654a7b6c4e9fd16cc1f | |
parent | a016b11cc41df06b79c0c226e719d0d88373919c (diff) |
ASoC: es7134: Add VDD and AVDD power supplies
Add the VDD and AVDD power supplies to the DAPM graph as some board may
need to enable a regulator to turn them on.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/es7134.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/es7134.c b/sound/soc/codecs/es7134.c index 698289dc3e22..5ad59c38fed1 100644 --- a/sound/soc/codecs/es7134.c +++ b/sound/soc/codecs/es7134.c @@ -167,11 +167,15 @@ static const struct snd_soc_dapm_widget es7134_dapm_widgets[] = { SND_SOC_DAPM_OUTPUT("AOUTL"), SND_SOC_DAPM_OUTPUT("AOUTR"), SND_SOC_DAPM_DAC("DAC", "Playback", SND_SOC_NOPM, 0, 0), + SND_SOC_DAPM_REGULATOR_SUPPLY("VDD", 0, 0), + SND_SOC_DAPM_REGULATOR_SUPPLY("AVDD", 0, 0), }; static const struct snd_soc_dapm_route es7134_dapm_routes[] = { { "AOUTL", NULL, "DAC" }, { "AOUTR", NULL, "DAC" }, + { "Playback", NULL, "VDD" }, + { "DAC", NULL, "AVDD" }, }; static const struct snd_soc_component_driver es7134_component_driver = { |