diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-03-04 17:35:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-07 15:42:31 +0300 |
commit | 9db7d4b32cbccb5807e2e1f22e2fafc80034ee6d (patch) | |
tree | f71174cdf6f972a6e835d21ca91d6ae868accbe7 /Documentation/devicetree/bindings/sound/rt5651.txt | |
parent | 1cf5b50426136fe54380a7dd1ca7eb49973cae5a (diff) | |
download | linux-9db7d4b32cbccb5807e2e1f22e2fafc80034ee6d.tar.xz |
ASoC: rt5651: Add devicetree-bindings for jack-detect
Add new properties to the rt5651 dt-bindings for configuring the
jack-detect source and over-current detect settings.
Cc: devicetree@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt5651.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rt5651.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5651.txt b/Documentation/devicetree/bindings/sound/rt5651.txt index 3875233095f5..7890aa9477f8 100644 --- a/Documentation/devicetree/bindings/sound/rt5651.txt +++ b/Documentation/devicetree/bindings/sound/rt5651.txt @@ -16,6 +16,23 @@ Optional properties: - realtek,dmic-en Boolean. true if dmic is used. +- realtek,jack-detect-source + u32. Valid values: + 1: Use JD1_1 pin for jack-dectect + 2: Use JD1_2 pin for jack-dectect + 3: Use JD2 pin for jack-dectect + +- realtek,over-current-threshold-microamp + u32, micbias over-current detection threshold in µA, valid values are + 600, 1500 and 2000µA. + +- realtek,over-current-scale-factor + u32, micbias over-current detection scale-factor, valid values are: + 0: Scale current by 0.5 + 1: Scale current by 0.75 + 2: Scale current by 1.0 + 3: Scale current by 1.5 + Pins on the device (for linking into audio routes) for RT5651: * DMIC L1 |