Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sitronix ST7789V RGB panel with SPI control bus
8
9maintainers:
10 - Maxime Ripard <mripard@kernel.org>
11
12allOf:
13 - $ref: panel-common.yaml#
14 - $ref: /schemas/spi/spi-peripheral-props.yaml#
15
16properties:
17 compatible:
18 enum:
19 - edt,et028013dma
20 - inanbo,t28cp45tn89-v17
21 - jasonic,jt240mhqs-hwt-ek-e3
22 - sitronix,st7789v
23
24 reg:
25 maxItems: 1
26
27 reset-gpios: true
28 power-supply: true
29 backlight: true
30 port: true
31 rotation: true
32
33 spi-cpha: true
34 spi-cpol: true
35
36 spi-rx-bus-width:
37 minimum: 0
38 maximum: 1
39
40 dc-gpios:
41 maxItems: 1
42 description: DCX pin, Display data/command selection pin in parallel interface
43
44required:
45 - compatible
46 - reg
47 - power-supply
48
49unevaluatedProperties: false
50
51examples:
52 - |
53 #include <dt-bindings/gpio/gpio.h>
54
55 spi {
56 #address-cells = <1>;
57 #size-cells = <0>;
58
59 panel@0 {
60 compatible = "sitronix,st7789v";
61 reg = <0>;
62 reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
63 backlight = <&pwm_bl>;
64 power-supply = <&power>;
65 rotation = <180>;
66 spi-max-frequency = <100000>;
67 spi-cpol;
68 spi-cpha;
69
70 port {
71 panel_input: endpoint {
72 remote-endpoint = <&tcon0_out_panel>;
73 };
74 };
75 };
76 };
77
78...