devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: sound: ts3a227e: add control of debounce times
@ 2022-09-07 13:58 Astrid Rost
  2022-09-08 12:20 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 11+ messages in thread
From: Astrid Rost @ 2022-09-07 13:58 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Rob Herring, Krzysztof Kozlowski
  Cc: kernel, alsa-devel-mejlinglistan, Astrid Rost, devicetree,
	linux-kernel

Add devicetree parameters to control the insertion, release and press
debounce times.

Signed-off-by: Astrid Rost <astrid.rost@axis.com>
---
 Documentation/devicetree/bindings/sound/ts3a227e.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/ts3a227e.txt b/Documentation/devicetree/bindings/sound/ts3a227e.txt
index 21ab45bc7e8f..a4aa4154c54c 100644
--- a/Documentation/devicetree/bindings/sound/ts3a227e.txt
+++ b/Documentation/devicetree/bindings/sound/ts3a227e.txt
@@ -17,6 +17,15 @@ Optional properies:
       Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage
       2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V
       Default value is "1" (2.2V).
+ - ti,debounce-release: key release debounce (datasheet section 9.6.7).
+      Select 0/1 to specify the release debounce time 0ms/20ms
+      Default value is "1" (20 ms).
+ - ti,debounce-press: key press debounce (datasheet section 9.6.7).
+      Select 0/1/2/3 to specify the press debounce time 2ms/40ms/80ms/120ms
+      Default value is "2" (80 ms).
+ - ti,debounce-insertion: headset insertion debounce (datasheet section 9.6.5).
+      Select 0/1/2/3/4/5/6/7 to specify the insertion debounce time 2ms/30ms/60ms/90ms/120ms/150ms/1s/2s
+      Default value is "3" (90 ms).
 
 Examples:
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-13  9:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07 13:58 [PATCH] dt-bindings: sound: ts3a227e: add control of debounce times Astrid Rost
2022-09-08 12:20 ` Krzysztof Kozlowski
2022-09-08 14:35   ` Mark Brown
2022-09-09  7:16     ` Astrid Rost
2022-09-09  7:25       ` Krzysztof Kozlowski
2022-09-09  7:23     ` Krzysztof Kozlowski
2022-09-09  8:21       ` Krzysztof Kozlowski
2022-09-09 18:47         ` Mark Brown
2022-09-12  7:26         ` Astrid Rost
2022-09-13  7:16           ` Astrid Rost
2022-09-13  9:13             ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).