xref: /linux/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml (revision e6e627482a19a34b68116cdb5756bb199b5e2e52)
1dfa10dfcSJagan Teki# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2dfa10dfcSJagan Teki%YAML 1.2
3dfa10dfcSJagan Teki---
4dfa10dfcSJagan Teki$id: http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml#
5dfa10dfcSJagan Teki$schema: http://devicetree.org/meta-schemas/core.yaml#
6dfa10dfcSJagan Teki
7dfa10dfcSJagan Tekititle: Sitronix ST7701 based LCD panels
8dfa10dfcSJagan Teki
9dfa10dfcSJagan Tekimaintainers:
10dfa10dfcSJagan Teki  - Jagan Teki <jagan@amarulasolutions.com>
11dfa10dfcSJagan Teki
12dfa10dfcSJagan Tekidescription: |
13dfa10dfcSJagan Teki  ST7701 designed for small and medium sizes of TFT LCD display, is
14dfa10dfcSJagan Teki  capable of supporting up to 480RGBX864 in resolution. It provides
15dfa10dfcSJagan Teki  several system interfaces like MIPI/RGB/SPI.
16dfa10dfcSJagan Teki
17dfa10dfcSJagan Teki  Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has
18dfa10dfcSJagan Teki  inbuilt ST7701 chip.
19dfa10dfcSJagan Teki
20*e6e62748SMarek Vasut  Densitron DMT028VGHMCMI-1A is 480x640, 2-lane MIPI DSI LCD panel
21*e6e62748SMarek Vasut  which has built-in ST7701 chip.
22*e6e62748SMarek Vasut
23dfa10dfcSJagan TekiallOf:
24dfa10dfcSJagan Teki  - $ref: panel-common.yaml#
25dfa10dfcSJagan Teki
26dfa10dfcSJagan Tekiproperties:
27dfa10dfcSJagan Teki  compatible:
28dfa10dfcSJagan Teki    items:
29dfa10dfcSJagan Teki      - enum:
30*e6e62748SMarek Vasut          - densitron,dmt028vghmcmi-1a
31dfa10dfcSJagan Teki          - techstar,ts8550b
32dfa10dfcSJagan Teki      - const: sitronix,st7701
33dfa10dfcSJagan Teki
34dfa10dfcSJagan Teki  reg:
35dfa10dfcSJagan Teki    description: DSI virtual channel used by that screen
36dfa10dfcSJagan Teki    maxItems: 1
37dfa10dfcSJagan Teki
38dfa10dfcSJagan Teki  VCC-supply:
39dfa10dfcSJagan Teki    description: analog regulator for MIPI circuit
40dfa10dfcSJagan Teki
41dfa10dfcSJagan Teki  IOVCC-supply:
42dfa10dfcSJagan Teki    description: I/O system regulator
43dfa10dfcSJagan Teki
44dfa10dfcSJagan Teki  reset-gpios: true
45dfa10dfcSJagan Teki
46dfa10dfcSJagan Teki  backlight: true
47dfa10dfcSJagan Teki
48dfa10dfcSJagan Tekirequired:
49dfa10dfcSJagan Teki  - compatible
50dfa10dfcSJagan Teki  - reg
51dfa10dfcSJagan Teki  - VCC-supply
52dfa10dfcSJagan Teki  - IOVCC-supply
53dfa10dfcSJagan Teki  - reset-gpios
54dfa10dfcSJagan Teki
55dfa10dfcSJagan TekiadditionalProperties: false
56dfa10dfcSJagan Teki
57dfa10dfcSJagan Tekiexamples:
58dfa10dfcSJagan Teki  - |
59dfa10dfcSJagan Teki    #include <dt-bindings/gpio/gpio.h>
60dfa10dfcSJagan Teki
61dfa10dfcSJagan Teki    dsi {
62dfa10dfcSJagan Teki        #address-cells = <1>;
63dfa10dfcSJagan Teki        #size-cells = <0>;
64dfa10dfcSJagan Teki
65dfa10dfcSJagan Teki        panel@0 {
66dfa10dfcSJagan Teki            compatible = "techstar,ts8550b", "sitronix,st7701";
67dfa10dfcSJagan Teki            reg = <0>;
68dfa10dfcSJagan Teki            VCC-supply = <&reg_dldo2>;
69dfa10dfcSJagan Teki            IOVCC-supply = <&reg_dldo2>;
70dfa10dfcSJagan Teki            reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
71dfa10dfcSJagan Teki            backlight = <&backlight>;
72dfa10dfcSJagan Teki        };
73dfa10dfcSJagan Teki    };
74