1fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2fac71e4eSEmmanuel Vadot%YAML 1.2 3fac71e4eSEmmanuel Vadot--- 4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt36523.yaml# 5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6fac71e4eSEmmanuel Vadot 7fac71e4eSEmmanuel Vadottitle: Novatek NT36523 based DSI display Panels 8fac71e4eSEmmanuel Vadot 9fac71e4eSEmmanuel Vadotmaintainers: 10fac71e4eSEmmanuel Vadot - Jianhua Lu <lujianhua000@gmail.com> 11fac71e4eSEmmanuel Vadot 12fac71e4eSEmmanuel Vadotdescription: | 13fac71e4eSEmmanuel Vadot The Novatek NT36523 is a generic DSI Panel IC used to drive dsi 14fac71e4eSEmmanuel Vadot panels. Support video mode panels from China Star Optoelectronics 15fac71e4eSEmmanuel Vadot Technology (CSOT) and BOE Technology. 16fac71e4eSEmmanuel Vadot 17fac71e4eSEmmanuel Vadotproperties: 18fac71e4eSEmmanuel Vadot compatible: 19f126890aSEmmanuel Vadot oneOf: 20f126890aSEmmanuel Vadot - items: 21fac71e4eSEmmanuel Vadot - enum: 22fac71e4eSEmmanuel Vadot - xiaomi,elish-boe-nt36523 23fac71e4eSEmmanuel Vadot - xiaomi,elish-csot-nt36523 24fac71e4eSEmmanuel Vadot - const: novatek,nt36523 25f126890aSEmmanuel Vadot - items: 26f126890aSEmmanuel Vadot - enum: 27f126890aSEmmanuel Vadot - lenovo,j606f-boe-nt36523w 28f126890aSEmmanuel Vadot - const: novatek,nt36523w 29fac71e4eSEmmanuel Vadot 30*7d0873ebSEmmanuel Vadot reg: 31*7d0873ebSEmmanuel Vadot maxItems: 1 32*7d0873ebSEmmanuel Vadot 33fac71e4eSEmmanuel Vadot reset-gpios: 34fac71e4eSEmmanuel Vadot maxItems: 1 35fac71e4eSEmmanuel Vadot description: phandle of gpio for reset line - This should be 8mA 36fac71e4eSEmmanuel Vadot 37fac71e4eSEmmanuel Vadot vddio-supply: 38fac71e4eSEmmanuel Vadot description: regulator that supplies the I/O voltage 39fac71e4eSEmmanuel Vadot 40f126890aSEmmanuel Vadot rotation: true 41fac71e4eSEmmanuel Vadot backlight: true 42fac71e4eSEmmanuel Vadot 43fac71e4eSEmmanuel Vadotrequired: 44fac71e4eSEmmanuel Vadot - compatible 45fac71e4eSEmmanuel Vadot - reg 46fac71e4eSEmmanuel Vadot - vddio-supply 47fac71e4eSEmmanuel Vadot - reset-gpios 48*7d0873ebSEmmanuel Vadot 49*7d0873ebSEmmanuel VadotallOf: 50*7d0873ebSEmmanuel Vadot - $ref: panel-common-dual.yaml# 51*7d0873ebSEmmanuel Vadot - if: 52*7d0873ebSEmmanuel Vadot properties: 53*7d0873ebSEmmanuel Vadot compatible: 54*7d0873ebSEmmanuel Vadot contains: 55*7d0873ebSEmmanuel Vadot enum: 56*7d0873ebSEmmanuel Vadot - novatek,nt36523w 57*7d0873ebSEmmanuel Vadot then: 58*7d0873ebSEmmanuel Vadot properties: 59*7d0873ebSEmmanuel Vadot ports: 60*7d0873ebSEmmanuel Vadot properties: 61*7d0873ebSEmmanuel Vadot port@1: false 62*7d0873ebSEmmanuel Vadot else: 63*7d0873ebSEmmanuel Vadot properties: 64*7d0873ebSEmmanuel Vadot port: false 65*7d0873ebSEmmanuel Vadot ports: 66*7d0873ebSEmmanuel Vadot required: 67*7d0873ebSEmmanuel Vadot - port@1 68fac71e4eSEmmanuel Vadot 69fac71e4eSEmmanuel VadotunevaluatedProperties: false 70fac71e4eSEmmanuel Vadot 71fac71e4eSEmmanuel Vadotexamples: 72fac71e4eSEmmanuel Vadot - | 73fac71e4eSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 74fac71e4eSEmmanuel Vadot 75fac71e4eSEmmanuel Vadot dsi { 76fac71e4eSEmmanuel Vadot #address-cells = <1>; 77fac71e4eSEmmanuel Vadot #size-cells = <0>; 78fac71e4eSEmmanuel Vadot 79fac71e4eSEmmanuel Vadot panel@0 { 80fac71e4eSEmmanuel Vadot compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; 81fac71e4eSEmmanuel Vadot reg = <0>; 82fac71e4eSEmmanuel Vadot 83fac71e4eSEmmanuel Vadot vddio-supply = <&vreg_l14a_1p88>; 84fac71e4eSEmmanuel Vadot reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 85fac71e4eSEmmanuel Vadot backlight = <&backlight>; 86fac71e4eSEmmanuel Vadot 87fac71e4eSEmmanuel Vadot ports { 88fac71e4eSEmmanuel Vadot #address-cells = <1>; 89fac71e4eSEmmanuel Vadot #size-cells = <0>; 90fac71e4eSEmmanuel Vadot 91fac71e4eSEmmanuel Vadot port@0 { 92fac71e4eSEmmanuel Vadot reg = <0>; 93fac71e4eSEmmanuel Vadot panel_in_0: endpoint { 94fac71e4eSEmmanuel Vadot remote-endpoint = <&dsi0_out>; 95fac71e4eSEmmanuel Vadot }; 96fac71e4eSEmmanuel Vadot }; 97fac71e4eSEmmanuel Vadot 98fac71e4eSEmmanuel Vadot port@1{ 99fac71e4eSEmmanuel Vadot reg = <1>; 100fac71e4eSEmmanuel Vadot panel_in_1: endpoint { 101fac71e4eSEmmanuel Vadot remote-endpoint = <&dsi1_out>; 102fac71e4eSEmmanuel Vadot }; 103fac71e4eSEmmanuel Vadot }; 104fac71e4eSEmmanuel Vadot }; 105fac71e4eSEmmanuel Vadot }; 106fac71e4eSEmmanuel Vadot }; 107fac71e4eSEmmanuel Vadot 108fac71e4eSEmmanuel Vadot... 109