mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
The purpose of common schemas, like panel-common.yaml, is to list applicable properties. It can list common ABI, e.g. "label" property, and pure hardware related properties like power supply or GPIOs. In the second case it means that all panels have these supplies or GPIOs. This is the only meaning when hardware property is allowed in common schema, because bindings are precise and we do not define common schemas for "possible" hardware configurations. Following this, all panel bindings which reference common schema and use "unevaluatedProperties: false" do not need to list these common parts. Simplify such bindings to also reduce copy-paste code and review time for new contributions. 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-3-3086eda1efaf@oss.qualcomm.com
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ilitek ILI9322 TFT panel driver with SPI control bus
|
|
|
|
maintainers:
|
|
- Linus Walleij <linusw@kernel.org>
|
|
|
|
description: |
|
|
This is a driver for 320x240 TFT panels, accepting a variety of input
|
|
streams that get adapted and scaled to the panel. The panel output has
|
|
960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
|
|
VCOMH outputs.
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- dlink,dir-685-panel
|
|
- const: ilitek,ili9322
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vcc-supply:
|
|
description: Core voltage supply
|
|
|
|
iovcc-supply:
|
|
description: Voltage supply for the interface input/output signals
|
|
|
|
vci-supply:
|
|
description: Voltage supply for analog parts
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
panel: display@0 {
|
|
compatible = "dlink,dir-685-panel", "ilitek,ili9322";
|
|
reg = <0>;
|
|
vcc-supply = <&vdisp>;
|
|
iovcc-supply = <&vdisp>;
|
|
vci-supply = <&vdisp>;
|
|
|
|
port {
|
|
panel_in: endpoint {
|
|
remote-endpoint = <&display_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|