mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
ASoC: ti,ts3a227e: add control of debounce
Add devicetree parameters to control the insertion, release and press debounce times. Signed-off-by: Astrid Rost <astrid.rost@axis.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220921081834.22009-3-astrid.rost@axis.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
be541bd473
commit
6a47412d07
@ -41,6 +41,35 @@ properties:
|
||||
- 7 # 2.8 V
|
||||
default: 1
|
||||
|
||||
ti,debounce-release-ms:
|
||||
description: key release debounce time in ms (datasheet section 9.6.7).
|
||||
enum:
|
||||
- 0
|
||||
- 20
|
||||
default: 20
|
||||
|
||||
ti,debounce-press-ms:
|
||||
description: key press debounce time in ms (datasheet section 9.6.7).
|
||||
enum:
|
||||
- 2
|
||||
- 40
|
||||
- 80
|
||||
- 120
|
||||
default: 80
|
||||
|
||||
ti,debounce-insertion-ms:
|
||||
description: headset insertion debounce time in ms (datasheet section 9.6.5).
|
||||
enum:
|
||||
- 2
|
||||
- 30
|
||||
- 60
|
||||
- 90
|
||||
- 120
|
||||
- 150
|
||||
- 1000
|
||||
- 2000
|
||||
default: 90
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
Loading…
Reference in New Issue
Block a user