Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / panel / sitronix,st7789v.yaml
blob0ce2ea13583dd73a1dc57a90b6f68d6a7b5a6bd1
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#
7 title: Sitronix ST7789V RGB panel with SPI control bus
9 maintainers:
10   - Maxime Ripard <mripard@kernel.org>
12 allOf:
13   - $ref: panel-common.yaml#
14   - $ref: /schemas/spi/spi-peripheral-props.yaml#
16 properties:
17   compatible:
18     enum:
19       - edt,et028013dma
20       - inanbo,t28cp45tn89-v17
21       - jasonic,jt240mhqs-hwt-ek-e3
22       - sitronix,st7789v
24   reg:
25     maxItems: 1
27   reset-gpios: true
28   power-supply: true
29   backlight: true
30   port: true
31   rotation: true
33   spi-cpha: true
34   spi-cpol: true
36   spi-rx-bus-width:
37     minimum: 0
38     maximum: 1
40   dc-gpios:
41     maxItems: 1
42     description: DCX pin, Display data/command selection pin in parallel interface
44 required:
45   - compatible
46   - reg
47   - power-supply
49 unevaluatedProperties: false
51 examples:
52   - |
53     #include <dt-bindings/gpio/gpio.h>
55     spi {
56         #address-cells = <1>;
57         #size-cells = <0>;
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;
70             port {
71                 panel_input: endpoint {
72                     remote-endpoint = <&tcon0_out_panel>;
73                 };
74             };
75         };
76     };
78 ...