public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jerome Brunet <jbrunet@baylibre.com>
To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/5] ASoC: es7134: Add VDD and AVDD power supplies
Date: Fri, 29 Jun 2018 17:09:23 +0200	[thread overview]
Message-ID: <20180629150924.18197-5-jbrunet@baylibre.com> (raw)
In-Reply-To: <20180629150924.18197-1-jbrunet@baylibre.com>

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>
---
 sound/soc/codecs/es7134.c | 4 ++++
 1 file changed, 4 insertions(+)

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 = {
-- 
2.14.4


  parent reply	other threads:[~2018-06-29 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 15:09 [PATCH 0/5] ASoC: es7134: driver updates Jerome Brunet
2018-06-29 15:09 ` [PATCH 1/5] ASoC: es7134: remove 64kHz rate from the supported rates Jerome Brunet
2018-07-02 10:09   ` Applied "ASoC: es7134: remove 64kHz rate from the supported rates" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 2/5] ASoC: es7134: check if mclk rate is valid Jerome Brunet
2018-07-02 10:09   ` Applied "ASoC: es7134: check if mclk rate is valid" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 3/5] ASoC: es7134: update DT binding with new compatible and supplies Jerome Brunet
2018-07-02 10:04   ` Mark Brown
2018-07-02 10:11     ` Jerome Brunet
2018-06-29 15:09 ` Jerome Brunet [this message]
2018-07-02 10:09   ` Applied "ASoC: es7134: Add VDD and AVDD power supplies" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 5/5] ASoC: es7134: add support for the es7154 Jerome Brunet
2018-07-02 10:05   ` Mark Brown
2018-07-02 10:15     ` Jerome Brunet
2018-07-02 10:21       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180629150924.18197-5-jbrunet@baylibre.com \
    --to=jbrunet@baylibre.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox