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

From: Peng Fan (OSS)
Date: Thu Mar 23 2023 - 05:30:59 EST


From: Peng Fan <peng.fan@xxxxxxx>

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

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

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
--
2.37.1