diff options
author | Arnaud Ferraris <arnaud.ferraris@collabora.com> | 2022-06-21 06:54:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 15:18:04 +0300 |
commit | 25ae1a04da0d32c22db0b018e5668129b91fa104 (patch) | |
tree | 7deec89c2768a55ae60acace65d18b487ae96632 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 24e0b04dd42be34ec4b18dc1a1e139d66eb572a3 (diff) | |
download | linux-25ae1a04da0d32c22db0b018e5668129b91fa104.tar.xz |
ASoC: sun50i-codec-analog: Add support 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 enables or disables the internal bias resistor based on a
device tree property.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
[Samuel: split binding and implementation; move to device probe]
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220621035452.60272-3-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions