[PATCH v2 5/7] dt-bindings: input: matrix_keypad - add settle time after enable all columns

Markus Burri posted 7 patches 2 weeks, 4 days ago
[PATCH v2 5/7] dt-bindings: input: matrix_keypad - add settle time after enable all columns
Posted by Markus Burri 2 weeks, 4 days ago
matrix_keypad with high capacity need a longer settle time after enable
all columns.
Add optional property to specify the settle time

Signed-off-by: Markus Burri <markus.burri@mt.com>
---
 .../devicetree/bindings/input/gpio-matrix-keypad.yaml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
index 9ea66b3..0ce89a6 100644
--- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
@@ -66,6 +66,12 @@ properties:
       before we can scan keypad after activating column gpio.
     default: 0
 
+  all-cols-on-delay-us:
+    description: |
+      Delay, measured in microseconds, that is needed
+      after activating all column gpios.
+    default: 0
+
   drive-inactive-cols:
     type: boolean
     description: |
-- 
2.39.5
Re: [PATCH v2 5/7] dt-bindings: input: matrix_keypad - add settle time after enable all columns
Posted by Rob Herring 1 week, 5 days ago
On Tue, Nov 05, 2024 at 02:03:20PM +0100, Markus Burri wrote:
> matrix_keypad with high capacity need a longer settle time after enable
> all columns.
> Add optional property to specify the settle time
> 
> Signed-off-by: Markus Burri <markus.burri@mt.com>
> ---
>  .../devicetree/bindings/input/gpio-matrix-keypad.yaml       | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> index 9ea66b3..0ce89a6 100644
> --- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> +++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> @@ -66,6 +66,12 @@ properties:
>        before we can scan keypad after activating column gpio.
>      default: 0
>  
> +  all-cols-on-delay-us:
> +    description: |

Don't need '|'.

> +      Delay, measured in microseconds, that is needed
> +      after activating all column gpios.

Wrap at 80 char.

> +    default: 0
> +
>    drive-inactive-cols:
>      type: boolean
>      description: |
> -- 
> 2.39.5
>