mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
For code readability the bindings are expected to follow order shown in example-schema.yaml - put the additionalProperties/unevaluatedProperties entry at the end, after listing all required properties and possible "allOf:if:then:" conditions. Meaning of this style is to close the schema, after listing what it contains, with final "nothing more is allowed". Move the code around adjusting it to coding style. No functional impact. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260306-dt-bindings-display-panel-clean-v1-4-3086eda1efaf@oss.qualcomm.com
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/raydium,rm68200.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Raydium Semiconductor Corporation RM68200 5.5" 720p MIPI-DSI TFT LCD panel
|
|
|
|
maintainers:
|
|
- Philippe CORNU <philippe.cornu@foss.st.com>
|
|
|
|
description: |
|
|
The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD
|
|
panel connected using a MIPI-DSI video interface.
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
const: raydium,rm68200
|
|
|
|
reg:
|
|
maxItems: 1
|
|
description: DSI virtual channel
|
|
|
|
backlight: true
|
|
enable-gpios: true
|
|
port: true
|
|
power-supply: true
|
|
|
|
reset-gpios:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- power-supply
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
panel@0 {
|
|
compatible = "raydium,rm68200";
|
|
reg = <0>;
|
|
reset-gpios = <&gpiof 15 0>;
|
|
power-supply = <&v1v8>;
|
|
backlight = <&pwm_backlight>;
|
|
};
|
|
};
|
|
...
|