diff options
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt new file mode 100644 index 000000000000..c6995dde641b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt | |||
@@ -0,0 +1,37 @@ | |||
1 | Sitronix ST7789V RGB panel with SPI control bus | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "sitronix,st7789v" | ||
5 | - reg: Chip select of the panel on the SPI bus | ||
6 | - reset-gpios: a GPIO phandle for the reset pin | ||
7 | - power-supply: phandle of the regulator that provides the supply voltage | ||
8 | |||
9 | Optional properties: | ||
10 | - backlight: phandle to the backlight used | ||
11 | |||
12 | The generic bindings for the SPI slaves documented in [1] also applies | ||
13 | |||
14 | The device node can contain one 'port' child node with one child | ||
15 | 'endpoint' node, according to the bindings defined in [2]. This | ||
16 | node should describe panel's video bus. | ||
17 | |||
18 | [1]: Documentation/devicetree/bindings/spi/spi-bus.txt | ||
19 | [2]: Documentation/devicetree/bindings/graph.txt | ||
20 | |||
21 | Example: | ||
22 | |||
23 | panel@0 { | ||
24 | compatible = "sitronix,st7789v"; | ||
25 | reg = <0>; | ||
26 | reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; | ||
27 | backlight = <&pwm_bl>; | ||
28 | spi-max-frequency = <100000>; | ||
29 | spi-cpol; | ||
30 | spi-cpha; | ||
31 | |||
32 | port { | ||
33 | panel_input: endpoint { | ||
34 | remote-endpoint = <&tcon0_out_panel>; | ||
35 | }; | ||
36 | }; | ||
37 | }; | ||