Re: [PATCH] dt-bindings: input: matrix_keypad - add wakeup-source property

From: Manuel Traut
Date: Fri Feb 28 2025 - 01:42:56 EST


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@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502280105.REZ29MVg-lkp@xxxxxxxxx/
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

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

> ---
> .../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