Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241010-zii_yaml-v2-1-0ab730607422@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Frank Li and committed by
Rob Herring (Arm)
a9c2d9de 393194cd

+36 -22
-22
Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt
··· 1 - Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings 2 - 3 - RAVE SP input device is a "MFD cell" device corresponding to power 4 - button functionality of RAVE Supervisory Processor. It is expected 5 - that its Device Tree node is specified as a child of the node 6 - corresponding to the parent RAVE SP device (as documented in 7 - Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) 8 - 9 - Required properties: 10 - 11 - - compatible: Should be "zii,rave-sp-pwrbutton" 12 - 13 - Example: 14 - 15 - rave-sp { 16 - compatible = "zii,rave-sp-rdu1"; 17 - current-speed = <38400>; 18 - 19 - pwrbutton { 20 - compatible = "zii,rave-sp-pwrbutton"; 21 - }; 22 - }
+36
Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml
··· 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 <Frank.li@nxp.com> 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 +