diff mbox series

[v2,3/9] dt-bindings: input: add pf1550

Message ID ceed690bd200eb03bc47c0d462292a5230aa2fbf.1747409892.git.samuel.kayode@savoirfairelinux.com
State New
Headers show
Series [v2,1/9] dt-bindings: power: supply: add pf1550 | expand

Commit Message

Samuel Kayode May 16, 2025, 6:52 p.m. UTC
Add the DT binding document for the onkey module of pf1550.

Signed-off-by: Samuel Kayode <samuel.kayode@savoirfairelinux.com>
---
 .../bindings/input/pf1550_onkey.yaml          | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/pf1550_onkey.yaml
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/input/pf1550_onkey.yaml b/Documentation/devicetree/bindings/input/pf1550_onkey.yaml
new file mode 100644
index 000000000000..7079f5284b73
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/pf1550_onkey.yaml
@@ -0,0 +1,31 @@ 
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/pf1550_onkey.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Onkey for PF1550 PMIC from NXP.
+
+maintainers:
+  - Samuel Kayode <samuel.kayode@savoirfairelinux.com>
+
+description: |
+  This module is part of the pf1550 MFD device. For more details
+  see Documentation/devicetree/bindings/mfd/pf1550.yaml.
+
+allOf:
+  - $ref: input.yaml#
+
+properties:
+  compatible:
+    const: fsl,pf1550-onkey
+
+  linux,keycodes:
+    description: Keycode to emit
+    default: 116  # KEY_POWER
+
+required:
+  - compatible
+additionalProperties: false
+
+...