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