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 30*9fa6bcf2SKrzysztof Kozlowski reg: 31*9fa6bcf2SKrzysztof Kozlowski maxItems: 1 32*9fa6bcf2SKrzysztof Kozlowski 33c61093b5SJianhua Lu reset-gpios: 34c61093b5SJianhua Lu maxItems: 1 35c61093b5SJianhua Lu description: phandle of gpio for reset line - This should be 8mA 36c61093b5SJianhua Lu 37c61093b5SJianhua Lu vddio-supply: 38c61093b5SJianhua Lu description: regulator that supplies the I/O voltage 39c61093b5SJianhua Lu 40b4b26ab2SKonrad Dybcio rotation: true 41c61093b5SJianhua Lu backlight: true 42c61093b5SJianhua Lu 43c61093b5SJianhua Lurequired: 44c61093b5SJianhua Lu - compatible 45c61093b5SJianhua Lu - reg 46c61093b5SJianhua Lu - vddio-supply 47c61093b5SJianhua Lu - reset-gpios 4890ed42ceSKrzysztof Kozlowski 4990ed42ceSKrzysztof KozlowskiallOf: 5090ed42ceSKrzysztof Kozlowski - $ref: panel-common-dual.yaml# 5190ed42ceSKrzysztof Kozlowski - if: 5290ed42ceSKrzysztof Kozlowski properties: 5390ed42ceSKrzysztof Kozlowski compatible: 5490ed42ceSKrzysztof Kozlowski contains: 5590ed42ceSKrzysztof Kozlowski enum: 5690ed42ceSKrzysztof Kozlowski - novatek,nt36523w 5790ed42ceSKrzysztof Kozlowski then: 5890ed42ceSKrzysztof Kozlowski properties: 5990ed42ceSKrzysztof Kozlowski ports: 6090ed42ceSKrzysztof Kozlowski properties: 6190ed42ceSKrzysztof Kozlowski port@1: false 6290ed42ceSKrzysztof Kozlowski else: 6390ed42ceSKrzysztof Kozlowski properties: 6490ed42ceSKrzysztof Kozlowski port: false 6590ed42ceSKrzysztof Kozlowski ports: 6690ed42ceSKrzysztof Kozlowski required: 6790ed42ceSKrzysztof Kozlowski - port@1 68c61093b5SJianhua Lu 69c61093b5SJianhua LuunevaluatedProperties: false 70c61093b5SJianhua Lu 71c61093b5SJianhua Luexamples: 72c61093b5SJianhua Lu - | 73c61093b5SJianhua Lu #include <dt-bindings/gpio/gpio.h> 74c61093b5SJianhua Lu 75c61093b5SJianhua Lu dsi { 76c61093b5SJianhua Lu #address-cells = <1>; 77c61093b5SJianhua Lu #size-cells = <0>; 78c61093b5SJianhua Lu 79c61093b5SJianhua Lu panel@0 { 80c61093b5SJianhua Lu compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; 81c61093b5SJianhua Lu reg = <0>; 82c61093b5SJianhua Lu 83c61093b5SJianhua Lu vddio-supply = <&vreg_l14a_1p88>; 84c61093b5SJianhua Lu reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 85c61093b5SJianhua Lu backlight = <&backlight>; 86c61093b5SJianhua Lu 87c61093b5SJianhua Lu ports { 88c61093b5SJianhua Lu #address-cells = <1>; 89c61093b5SJianhua Lu #size-cells = <0>; 90c61093b5SJianhua Lu 91c61093b5SJianhua Lu port@0 { 92c61093b5SJianhua Lu reg = <0>; 93c61093b5SJianhua Lu panel_in_0: endpoint { 94c61093b5SJianhua Lu remote-endpoint = <&dsi0_out>; 95c61093b5SJianhua Lu }; 96c61093b5SJianhua Lu }; 97c61093b5SJianhua Lu 98c61093b5SJianhua Lu port@1{ 99c61093b5SJianhua Lu reg = <1>; 100c61093b5SJianhua Lu panel_in_1: endpoint { 101c61093b5SJianhua Lu remote-endpoint = <&dsi1_out>; 102c61093b5SJianhua Lu }; 103c61093b5SJianhua Lu }; 104c61093b5SJianhua Lu }; 105c61093b5SJianhua Lu }; 106c61093b5SJianhua Lu }; 107c61093b5SJianhua Lu 108c61093b5SJianhua Lu... 109