WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / sitronix,st7701.yaml
blob6dff59fe4be14cf51c8719712150db89896ebbb3
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sitronix ST7701 based LCD panels
9 maintainers:
10   - Jagan Teki <jagan@amarulasolutions.com>
12 description: |
13   ST7701 designed for small and medium sizes of TFT LCD display, is
14   capable of supporting up to 480RGBX864 in resolution. It provides
15   several system interfaces like MIPI/RGB/SPI.
17   Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has
18   inbuilt ST7701 chip.
20 allOf:
21   - $ref: panel-common.yaml#
23 properties:
24   compatible:
25     items:
26       - enum:
27           - techstar,ts8550b
28       - const: sitronix,st7701
30   reg:
31     description: DSI virtual channel used by that screen
32     maxItems: 1
34   VCC-supply:
35     description: analog regulator for MIPI circuit
37   IOVCC-supply:
38     description: I/O system regulator
40   reset-gpios: true
42   backlight: true
44 required:
45   - compatible
46   - reg
47   - VCC-supply
48   - IOVCC-supply
49   - reset-gpios
51 additionalProperties: false
53 examples:
54   - |
55     #include <dt-bindings/gpio/gpio.h>
57     dsi {
58         #address-cells = <1>;
59         #size-cells = <0>;
61         panel@0 {
62             compatible = "techstar,ts8550b", "sitronix,st7701";
63             reg = <0>;
64             VCC-supply = <&reg_dldo2>;
65             IOVCC-supply = <&reg_dldo2>;
66             reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
67             backlight = <&backlight>;
68         };
69     };