Skip to content

Commit

Permalink
ASoC: es7134: Add VDD and AVDD power supplies
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
jbrun3t authored and broonie committed Jul 2, 2018
1 parent a016b11 commit 424e2b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/soc/codecs/es7134.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 424e2b4

Please sign in to comment.