Re: [PATCH 1/2] ASoC: adau1977: Add MICBIAS example in DT bindings

From: Rob Herring
Date: Fri Feb 22 2019 - 09:31:27 EST


On Tue, Feb 19, 2019 at 8:12 AM Bogdan Togorean
<bogdan.togorean@xxxxxxxxx> wrote:
>
> Add MICBIAS property to the optional devicetree bindings.
>
> Signed-off-by: Bogdan Togorean <bogdan.togorean@xxxxxxxxx>
> ---
> 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

There's no shortage of mic bias properties for codecs. We should
define a common property for this.

But looks like this is already applied, so what's one more...

Rob