Skip to content

Commit a9c2d9d

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format. Additional changes: - add ref to input.yaml. - remove mfd node in example. Signed-off-by: Frank Li <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 393194c commit a9c2d9d

File tree

2 files changed

+36
-22
lines changed

2 files changed

+36
-22
lines changed

Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/input/zii,rave-sp-pwrbutton.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Zodiac Inflight Innovations RAVE Supervisory Processor Power Button
8+
9+
maintainers:
10+
- Frank Li <[email protected]>
11+
12+
description:
13+
RAVE SP input device is a "MFD cell" device corresponding to power
14+
button functionality of RAVE Supervisory Processor. It is expected
15+
that its Device Tree node is specified as a child of the node
16+
corresponding to the parent RAVE SP device (as documented in
17+
Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
18+
19+
properties:
20+
compatible:
21+
const: zii,rave-sp-pwrbutton
22+
23+
required:
24+
- compatible
25+
26+
allOf:
27+
- $ref: input.yaml
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
pwrbutton {
34+
compatible = "zii,rave-sp-pwrbutton";
35+
};
36+

0 commit comments

Comments
 (0)