[PATCH v6 2/3] dt-bindings: input: matrix_keypad - add missing property

Markus Burri posted 3 patches 2 weeks, 1 day ago
[PATCH v6 2/3] dt-bindings: input: matrix_keypad - add missing property
Posted by Markus Burri 2 weeks, 1 day ago
The property is implemented in the driver but not described in dt-bindings.
Add missing property 'gpio-activelow' to DT schema.

Signed-off-by: Markus Burri <markus.burri@mt.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../devicetree/bindings/input/gpio-matrix-keypad.yaml        | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
index 4a5893edf..73bb153ed 100644
--- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
@@ -40,6 +40,11 @@ properties:
     type: boolean
     description: Do not enable autorepeat feature.
 
+  gpio-activelow:
+    type: boolean
+    description:
+      Force GPIO polarity to active low.
+      In the absence of this property GPIOs are treated as active high.
 
   debounce-delay-ms:
     description: Debounce interval in milliseconds.
-- 
2.39.5
Re: [PATCH v6 2/3] dt-bindings: input: matrix_keypad - add missing property
Posted by Dmitry Torokhov 2 weeks ago
On Wed, Feb 26, 2025 at 04:28:42PM +0100, Markus Burri wrote:
> The property is implemented in the driver but not described in dt-bindings.
> Add missing property 'gpio-activelow' to DT schema.
> 
> Signed-off-by: Markus Burri <markus.burri@mt.com>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>

Applied but dropped Rob's reviewed-by because the patch is different
from what he has reviewed.

Thanks.

-- 
Dmitry