devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bogdan Togorean <bogdan.togorean@gmail.com>
To: alsa-devel@alsa-project.org
Cc: lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org,
	robh+dt@kernel.org, tiwai@suse.com, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Bogdan Togorean <bogdan.togorean@gmail.com>
Subject: [PATCH 1/2] ASoC: adau1977: Add MICBIAS example in DT bindings
Date: Tue, 19 Feb 2019 16:11:38 +0200	[thread overview]
Message-ID: <20190219141139.24216-2-bogdan.togorean@gmail.com> (raw)
In-Reply-To: <20190219141139.24216-1-bogdan.togorean@gmail.com>

Add MICBIAS property to the optional devicetree bindings.

Signed-off-by: Bogdan Togorean <bogdan.togorean@gmail.com>
---
 Documentation/devicetree/bindings/sound/adi,adau1977.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/adi,adau1977.txt b/Documentation/devicetree/bindings/sound/adi,adau1977.txt
index e79aeef73f28..87c16e6f2e7c 100644
--- a/Documentation/devicetree/bindings/sound/adi,adau1977.txt
+++ b/Documentation/devicetree/bindings/sound/adi,adau1977.txt
@@ -23,6 +23,12 @@ Optional properties:
  - DVDD-supply: supply voltage for the digital core, please consult
                 Documentation/devicetree/bindings/regulator/regulator.txt
 
+- adi,micbias: configures the voltage setting for the MICBIAS pin.
+		Select 0/1/2/3/4/5/6/7/8 to specify MICBIAS voltage
+		5V/5.5V/6V/6.5V/7V/7.5V/8V/8.5V/9V
+		If not specified the default value will be "7" meaning 8.5 Volts.
+		This property is only valid for the ADAU1977
+
 For required properties on SPI, please consult
 Documentation/devicetree/bindings/spi/spi-bus.txt
 
@@ -40,6 +46,7 @@ Examples:
 		AVDD-supply = <&regulator>;
 		DVDD-supply = <&regulator_digital>;
 
+		adi,micbias = <3>;
 		reset_gpio = <&gpio 10 GPIO_ACTIVE_LOW>;
 	};
 
-- 
2.20.1

  reply	other threads:[~2019-02-19 14:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 14:11 [PATCH 0/2] ASoC: adau1977: Add support for micbias in DT Bogdan Togorean
2019-02-19 14:11 ` Bogdan Togorean [this message]
2019-02-19 15:50   ` Applied "ASoC: adau1977: Add MICBIAS example in DT bindings" to the asoc tree Mark Brown
2019-02-22 14:31   ` [PATCH 1/2] ASoC: adau1977: Add MICBIAS example in DT bindings Rob Herring
2019-02-19 14:11 ` [PATCH 2/2] ASoC: adau1977: Add support for setting MICBIAS via DT Bogdan Togorean
2019-02-19 15:50   ` Applied "ASoC: adau1977: Add support for setting MICBIAS via DT" to the asoc tree 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=20190219141139.24216-2-bogdan.togorean@gmail.com \
    --to=bogdan.togorean@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.com \
    /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;
as well as URLs for NNTP newsgroup(s).