Sitronix ST7789V RGB panel with SPI control bus
Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):panel-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "edt,et028013dma", "inanbo,t28cp45tn89-v17", "jasonic,jt240mhqs-hwt-ek-e3", "sitronix,st7789v"
reg — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
true — No constraints added by this property rule.
power-supply — required here #
true — No constraints added by this property rule.
backlight — not listed as required here #
true — No constraints added by this property rule.
port — not listed as required here #
true — No constraints added by this property rule.
rotation — not listed as required here #
true — No constraints added by this property rule.
spi-cpha — not listed as required here #
true — No constraints added by this property rule.
spi-cpol — not listed as required here #
true — No constraints added by this property rule.
spi-rx-bus-width — not listed as required here #
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):1
dc-gpios — not listed as required here #
Maximum number of items (maxItems): 1
DCX pin, Display data/command selection pin in parallel interface
Required in this object (required): "compatible", "reg", "power-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "sitronix,st7789v";
reg = <0>;
reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
backlight = <&pwm_bl>;
power-supply = <&power>;
rotation = <180>;
spi-max-frequency = <100000>;
spi-cpol;
spi-cpha;
port {
panel_input: endpoint {
remote-endpoint = <&tcon0_out_panel>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0