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 17properties: 18 compatible: 19 oneOf: 20 - items: 21 - enum: 22 - xiaomi,elish-boe-nt36523 23 - xiaomi,elish-csot-nt36523 24 - const: novatek,nt36523 25 - items: 26 - enum: 27 - lenovo,j606f-boe-nt36523w 28 - const: novatek,nt36523w 29 30 reg: 31 maxItems: 1 32 33 reset-gpios: 34 maxItems: 1 35 description: phandle of gpio for reset line - This should be 8mA 36 37 vddio-supply: 38 description: regulator that supplies the I/O voltage 39 40 rotation: true 41 backlight: true 42 43required: 44 - compatible 45 - reg 46 - vddio-supply 47 - reset-gpios 48 49allOf: 50 - $ref: panel-common-dual.yaml# 51 - if: 52 properties: 53 compatible: 54 contains: 55 enum: 56 - novatek,nt36523w 57 then: 58 properties: 59 ports: 60 properties: 61 port@1: false 62 else: 63 properties: 64 port: false 65 ports: 66 required: 67 - port@1 68 69unevaluatedProperties: false 70 71examples: 72 - | 73 #include <dt-bindings/gpio/gpio.h> 74 75 dsi { 76 #address-cells = <1>; 77 #size-cells = <0>; 78 79 panel@0 { 80 compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; 81 reg = <0>; 82 83 vddio-supply = <&vreg_l14a_1p88>; 84 reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 85 backlight = <&backlight>; 86 87 ports { 88 #address-cells = <1>; 89 #size-cells = <0>; 90 91 port@0 { 92 reg = <0>; 93 panel_in_0: endpoint { 94 remote-endpoint = <&dsi0_out>; 95 }; 96 }; 97 98 port@1{ 99 reg = <1>; 100 panel_in_1: endpoint { 101 remote-endpoint = <&dsi1_out>; 102 }; 103 }; 104 }; 105 }; 106 }; 107 108... 109