summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSeven Lee <wtli@nuvoton.com>2022-06-27 11:29:59 +0800
committerMark Brown <broonie@kernel.org>2022-07-11 17:18:45 +0100
commit2551b6e89936f98406bce9c1d50110e3ff443f81 (patch)
treefdc1166bfbb253871367c93c459fc9fc03a379de /Documentation
parent8e26c518d300b356078f229e50e3f192005befca (diff)
downloadlinux-2551b6e89936f98406bce9c1d50110e3ff443f81.tar.bz2
ASoC: nau8821: Add headset button detection
This patch adds the function of headphone button detection, Button detection will be enabled if the device tree has a key_enable property. Signed-off-by: Seven Lee <wtli@nuvoton.com> Link: https://lore.kernel.org/r/20220627032959.3442064-1-wtli@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/nau8821.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/nau8821.txt b/Documentation/devicetree/bindings/sound/nau8821.txt
index 6c3baf7a5f21..7c84e7c7327a 100644
--- a/Documentation/devicetree/bindings/sound/nau8821.txt
+++ b/Documentation/devicetree/bindings/sound/nau8821.txt
@@ -34,7 +34,7 @@ Optional properties:
- nuvoton,jack-eject-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
- nuvoton,dmic-clk-threshold: the ADC threshold of DMIC clock.
-
+ - nuvoton,key_enable: Headset button detection switch.
Example: