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

From: Samuel Kayode
Date: Fri May 16 2025 - 14:52:15 EST


Add the DT binding document for the onkey module of pf1550.

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

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@xxxxxxxxxxxxxxxxxxxx>
+
+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
+
+...
--
2.49.0