ASoC: msm8916-wcd-analog: Add MIC BIAS Internal3
authorStephan Gerhold <stephan@gerhold.net>
Tue, 14 Jan 2020 18:12:29 +0000 (19:12 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jan 2020 15:39:48 +0000 (15:39 +0000)
commit00d852326e524214f046a5e1301eee84535a6863
treea7db513f19d931d0cfe70e9bf2628292abdb6a43
parent65fe457e7bafcbb844c66e8c54a414f090967eaa
ASoC: msm8916-wcd-analog: Add MIC BIAS Internal3

PM8916 has three TX inputs that each have an (optional) internal
RBIAS resistor. MIC BIAS Internal1/2 (for TX1/2) are already supported.
TX3 does not have its own MIC BIAS supply, instead it is also supplied
from MIC_BIAS1.

Now that we have simplified the MIC BIAS Internal* implementation
we can easily add support for it:

Add a MIC BIAS Internal3 supply that enables the internal RBIAS
resistor on TX3, and make sure to also enable the MIC_BIAS1 supply.

Tested-by: Nikita Travkin <nikitos.tr@gmail.com> # longcheer-l8150
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200114181229.42302-2-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-analog.c