summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-03-04 15:35:52 +0100
committerMark Brown <broonie@kernel.org>2018-03-07 12:47:13 +0000
commit583a9debd71e21a317b1fc7b293c22c49b33d9e4 (patch)
tree18acb47f7eb222b7a5c0e97973311e65a83cdb3c /sound/soc/mediatek/Kconfig
parentf0c2a330d99ef81519dc809d8b6a7dafe39b0933 (diff)
downloadlinux-next-583a9debd71e21a317b1fc7b293c22c49b33d9e4.tar.gz
ASoC: rt5651: Allow specifying over-current threshold through a device-property
OVer-Current-Detection (OVCD) for the micbias current is used to detect if an inserted jack is a headset or headphones (mic shorted to ground). Some boards may need different values for the OVCD current threshold because of a resistor on the board in serial with or parallel to the jack mic contact. This commit adds support for configuring the OCVD current threshold through the "realtek,over-current-threshold-microamp" device-property. Note this commit changes the default value from 600uA to 2000uA, because testing has shown 600uA to be a poor default. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/Kconfig')
0 files changed, 0 insertions, 0 deletions