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

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 <Frank.Li@nxp.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241010-zii_yaml-v2-2-0ab730607422@nxp.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Frank Li and committed by
Lee Jones
0eda30af 5461f3fd

+36 -23
-23
Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
··· 1 - Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings 2 - 3 - RAVE SP backlight device is a "MFD cell" device corresponding to 4 - backlight 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-backlight" 12 - 13 - Example: 14 - 15 - rave-sp { 16 - compatible = "zii,rave-sp-rdu1"; 17 - current-speed = <38400>; 18 - 19 - backlight { 20 - compatible = "zii,rave-sp-backlight"; 21 - }; 22 - } 23 -
+36
Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml
··· 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 <Frank.Li@nxp.com> 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 +