OSDN Git Service

ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 17 Aug 2017 08:02:09 +0000 (10:02 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 18:33:02 +0000 (19:33 +0100)
commite269998d588f8ad96eaf86916e23b8ee3d2b9f1b
tree880e5540e16a104648cb7445949a47ba36b4a720
parent6329b1bb4e691b24e51ea940b3c2cffd402bd5f8
ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt

This patch adds bindings in DT to provide required micbias voltage which
could be specific to board. With this new binding, now the mic bias
voltage is left at hardware default value if the device tree does not
specify any mic bias voltage value. Correct micbias value is required
for mbhc buttons to work.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt
sound/soc/codecs/msm8916-wcd-analog.c