Commit 424e2b4b authored by Jerome Brunet's avatar Jerome Brunet Committed by Mark Brown

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: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a016b11c
...@@ -167,11 +167,15 @@ static const struct snd_soc_dapm_widget es7134_dapm_widgets[] = { ...@@ -167,11 +167,15 @@ static const struct snd_soc_dapm_widget es7134_dapm_widgets[] = {
SND_SOC_DAPM_OUTPUT("AOUTL"), SND_SOC_DAPM_OUTPUT("AOUTL"),
SND_SOC_DAPM_OUTPUT("AOUTR"), SND_SOC_DAPM_OUTPUT("AOUTR"),
SND_SOC_DAPM_DAC("DAC", "Playback", SND_SOC_NOPM, 0, 0), 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[] = { static const struct snd_soc_dapm_route es7134_dapm_routes[] = {
{ "AOUTL", NULL, "DAC" }, { "AOUTL", NULL, "DAC" },
{ "AOUTR", NULL, "DAC" }, { "AOUTR", NULL, "DAC" },
{ "Playback", NULL, "VDD" },
{ "DAC", NULL, "AVDD" },
}; };
static const struct snd_soc_component_driver es7134_component_driver = { static const struct snd_soc_component_driver es7134_component_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment