diff mbox series

dt-bindings: input: matrix_keypad - add wakeup-source property

Message ID Z8EMI9ALqYY72VBV@google.com (mailing list archive)
State New
Headers show
Series dt-bindings: input: matrix_keypad - add wakeup-source property | expand

Commit Message

Dmitry Torokhov Feb. 28, 2025, 1:06 a.m. UTC
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/
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 .../devicetree/bindings/input/gpio-matrix-keypad.yaml         | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Manuel Traut Feb. 28, 2025, 6:42 a.m. UTC | #1
On Thu, Feb 27, 2025 at 05:06:43PM -0800, Dmitry Torokhov wrote:
> 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/
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Reviewed-by: Manuel Traut <manuel.traut@mt.com>

> ---
>  .../devicetree/bindings/input/gpio-matrix-keypad.yaml         | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> index 73bb153ed241..ebfff9e42a36 100644
> --- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> +++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> @@ -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;
>      };
> -- 
> 2.48.1.711.g2feabab25a-goog
> 
> 
> -- 
> Dmitry
Conor Dooley Feb. 28, 2025, 6:49 p.m. UTC | #2
On Thu, Feb 27, 2025 at 05:06:43PM -0800, Dmitry Torokhov wrote:
> 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/
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

> ---
>  .../devicetree/bindings/input/gpio-matrix-keypad.yaml         | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> index 73bb153ed241..ebfff9e42a36 100644
> --- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> +++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
> @@ -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;
>      };
> -- 
> 2.48.1.711.g2feabab25a-goog
> 
> 
> -- 
> Dmitry
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
index 73bb153ed241..ebfff9e42a36 100644
--- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml
@@ -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;
     };