mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02: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
71 lines
1.4 KiB
YAML
71 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/visionox,rm69299.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Visionox model RM69299 Panels
|
|
|
|
maintainers:
|
|
- Abhinav Kumar <quic_abhinavk@quicinc.com>
|
|
- Jessica Zhang <quic_jesszhan@quicinc.com>
|
|
|
|
description: |
|
|
This binding is for display panels using a Visionox RM692999 panel.
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- visionox,rm69299-1080p-display
|
|
- visionox,rm69299-shift
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vdda-supply:
|
|
description: |
|
|
Phandle of the regulator that provides the vdda supply voltage.
|
|
|
|
vdd3p3-supply:
|
|
description: |
|
|
Phandle of the regulator that provides the vdd3p3 supply voltage.
|
|
|
|
port: true
|
|
reset-gpios: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- vdda-supply
|
|
- vdd3p3-supply
|
|
- reset-gpios
|
|
- port
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
panel@0 {
|
|
compatible = "visionox,rm69299-1080p-display";
|
|
reg = <0>;
|
|
|
|
vdda-supply = <&src_pp1800_l8c>;
|
|
vdd3p3-supply = <&src_pp2800_l18a>;
|
|
|
|
reset-gpios = <&pm6150l_gpio 3 0>;
|
|
port {
|
|
panel0_in: endpoint {
|
|
remote-endpoint = <&dsi0_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
...
|