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

Samuel Kayode posted 9 patches 7 months, 1 week ago
There is a newer version of this series
[PATCH v2 3/9] dt-bindings: input: add pf1550
Posted by Samuel Kayode 7 months, 1 week ago
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 --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
+
+...
-- 
2.49.0
Re: [PATCH v2 3/9] dt-bindings: input: add pf1550
Posted by Krzysztof Kozlowski 7 months ago
On 16/05/2025 20:52, Samuel Kayode wrote:
> 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 +++++++++++++++++++

Same comments as for other patch.

Best regards,
Krzysztof