Skip to content

Commit 0eda30a

Browse files
nxpfranklilag-linaro
authored andcommitted
dt-bindings: backlight: Convert zii,rave-sp-backlight.txt to yaml
Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format. Additional Changes: - Remove mfd parent node at example. - Ref to backlight's common.yaml Signed-off-by: Frank Li <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 5461f3f commit 0eda30a

File tree

2 files changed

+36
-23
lines changed

2 files changed

+36
-23
lines changed

Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt

Lines changed: 0 additions & 23 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/leds/backlight/zii,rave-sp-backlight.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Zodiac Inflight Innovations RAVE Supervisory Processor Backlight
8+
9+
maintainers:
10+
- Frank Li <[email protected]>
11+
12+
description:
13+
RAVE SP backlight device is a "MFD cell" device corresponding to
14+
backlight 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-backlight
22+
23+
required:
24+
- compatible
25+
26+
allOf:
27+
- $ref: common.yaml
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
backlight {
34+
compatible = "zii,rave-sp-backlight";
35+
};
36+

0 commit comments

Comments
 (0)