Skip to content
Snippets Groups Projects
Unverified Commit 24e0b04d authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Mark Brown
Browse files

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: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
[Samuel: split binding and implementation patches]
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220621035452.60272-2-samuel@sholland.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 658e9595
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,11 @@ properties:
description:
Regulator for the headphone amplifier
allwinner,internal-bias-resistor:
description:
Enable the internal 2.2K bias resistor between HBIAS and MICDET pins
type: boolean
required:
- compatible
- reg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment