summaryrefslogtreecommitdiff
path: root/sound/soc/sunxi/sun50i-codec-analog.c
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2022-06-21 06:54:50 +0300
committerMark Brown <broonie@kernel.org>2022-06-27 15:18:03 +0300
commit24e0b04dd42be34ec4b18dc1a1e139d66eb572a3 (patch)
tree275d00afc8b3499ee0025ee75ae7e98d212ea9cf /sound/soc/sunxi/sun50i-codec-analog.c
parent658e95953075ca781ef8712d0a3203e485888c7f (diff)
downloadlinux-24e0b04dd42be34ec4b18dc1a1e139d66eb572a3.tar.xz
ASoC: dt-bindings: sun50i-codec: Add binding for internal bias
In order to properly bias headset microphones, there should be a pull-up resistor between pins HBIAS and MIC2P. This can be an external resistor, but the codec also provides an internal 2.2K resistor which is enabled by a register. This patch adds a device-tree property to the sun50i-codec-analog driver to take advantage of this feature. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> [Samuel: split binding and implementation patches] Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20220621035452.60272-2-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/sun50i-codec-analog.c')
0 files changed, 0 insertions, 0 deletions