dt-bindings: input: matrix_keypad - add wakeup-source property
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Feb 2025 01:06:43 +0000 (17:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 5 Mar 2025 07:10:53 +0000 (23:10 -0800)
The driver recognizes standard "wakeup-source" property and there are
DTS files using it. Add the property to the binding.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502280105.REZ29MVg-lkp@intel.com/
Reviewed-by: Manuel Traut <manuel.traut@mt.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/Z8EMI9ALqYY72VBV@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml

index 73bb153ed241f3b99ddb88e894baaf97e3c81348..ebfff9e42a3653556f5f6bb96a531f7c2ba01a0d 100644 (file)
@@ -68,6 +68,8 @@ properties:
       Drive inactive columns during scan,
       default is to turn inactive columns into inputs.
 
+  wakeup-source: true
+
 required:
   - compatible
   - row-gpios
@@ -96,4 +98,6 @@ examples:
                         0x0001006A
                         0x0101001C
                         0x0201006C>;
+
+        wakeup-source;
     };