0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Sitronix ST7701 based LCD panels
0008
0009 maintainers:
0010 - Jagan Teki <jagan@amarulasolutions.com>
0011
0012 description: |
0013 ST7701 designed for small and medium sizes of TFT LCD display, is
0014 capable of supporting up to 480RGBX864 in resolution. It provides
0015 several system interfaces like MIPI/RGB/SPI.
0016
0017 Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has
0018 inbuilt ST7701 chip.
0019
0020 allOf:
0021 - $ref: panel-common.yaml#
0022
0023 properties:
0024 compatible:
0025 items:
0026 - enum:
0027 - techstar,ts8550b
0028 - const: sitronix,st7701
0029
0030 reg:
0031 description: DSI virtual channel used by that screen
0032 maxItems: 1
0033
0034 VCC-supply:
0035 description: analog regulator for MIPI circuit
0036
0037 IOVCC-supply:
0038 description: I/O system regulator
0039
0040 reset-gpios: true
0041
0042 backlight: true
0043
0044 required:
0045 - compatible
0046 - reg
0047 - VCC-supply
0048 - IOVCC-supply
0049 - reset-gpios
0050
0051 additionalProperties: false
0052
0053 examples:
0054 - |
0055 #include <dt-bindings/gpio/gpio.h>
0056
0057 dsi {
0058 #address-cells = <1>;
0059 #size-cells = <0>;
0060
0061 panel@0 {
0062 compatible = "techstar,ts8550b", "sitronix,st7701";
0063 reg = <0>;
0064 VCC-supply = <®_dldo2>;
0065 IOVCC-supply = <®_dldo2>;
0066 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
0067 backlight = <&backlight>;
0068 };
0069 };