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/novatek,nt36523.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Novatek NT36523 based DSI display Panels 8 9maintainers: 10 - Jianhua Lu <lujianhua000@gmail.com> 11 12description: | 13 The Novatek NT36523 is a generic DSI Panel IC used to drive dsi 14 panels. Support video mode panels from China Star Optoelectronics 15 Technology (CSOT) and BOE Technology. 16 17allOf: 18 - $ref: panel-common.yaml# 19 20properties: 21 compatible: 22 items: 23 - enum: 24 - xiaomi,elish-boe-nt36523 25 - xiaomi,elish-csot-nt36523 26 - const: novatek,nt36523 27 28 reset-gpios: 29 maxItems: 1 30 description: phandle of gpio for reset line - This should be 8mA 31 32 vddio-supply: 33 description: regulator that supplies the I/O voltage 34 35 reg: true 36 ports: true 37 backlight: true 38 39required: 40 - compatible 41 - reg 42 - vddio-supply 43 - reset-gpios 44 - ports 45 46unevaluatedProperties: false 47 48examples: 49 - | 50 #include <dt-bindings/gpio/gpio.h> 51 52 dsi { 53 #address-cells = <1>; 54 #size-cells = <0>; 55 56 panel@0 { 57 compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; 58 reg = <0>; 59 60 vddio-supply = <&vreg_l14a_1p88>; 61 reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 62 backlight = <&backlight>; 63 64 ports { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 68 port@0 { 69 reg = <0>; 70 panel_in_0: endpoint { 71 remote-endpoint = <&dsi0_out>; 72 }; 73 }; 74 75 port@1{ 76 reg = <1>; 77 panel_in_1: endpoint { 78 remote-endpoint = <&dsi1_out>; 79 }; 80 }; 81 }; 82 }; 83 }; 84 85... 86