[1/2] dt-bindings: input: fsl,scu-key: add wakeup-source property

Message ID 20230323093141.4070840-1-peng.fan@oss.nxp.com
State New
Headers
Series [1/2] dt-bindings: input: fsl,scu-key: add wakeup-source property |

Commit Message

Peng Fan (OSS) March 23, 2023, 9:31 a.m. UTC
  From: Peng Fan <peng.fan@nxp.com>

Add wakeup-source to indicate whether it could work to wakeup the system
from suspend mode.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Krzysztof Kozlowski March 24, 2023, 11:40 a.m. UTC | #1
On 23/03/2023 10:31, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add wakeup-source to indicate whether it could work to wakeup the system
> from suspend mode.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  

Patch

diff --git a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
index e5a3c355ee1f..037d4aa7364f 100644
--- a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
+++ b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
@@ -24,6 +24,10 @@  properties:
   linux,keycodes:
     maxItems: 1
 
+  wakeup-source:
+    description: pwr key can be used as a wakeup source
+    type: boolean
+
 required:
   - compatible
   - linux,keycodes