109 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 Panels8 9maintainers:10 - Jianhua Lu <lujianhua000@gmail.com>11 12description: |13 The Novatek NT36523 is a generic DSI Panel IC used to drive dsi14 panels. Support video mode panels from China Star Optoelectronics15 Technology (CSOT) and BOE Technology.16 17properties:18 compatible:19 oneOf:20 - items:21 - enum:22 - xiaomi,elish-boe-nt3652323 - xiaomi,elish-csot-nt3652324 - const: novatek,nt3652325 - items:26 - enum:27 - lenovo,j606f-boe-nt36523w28 - const: novatek,nt36523w29 30 reg:31 maxItems: 132 33 reset-gpios:34 maxItems: 135 description: phandle of gpio for reset line - This should be 8mA36 37 vddio-supply:38 description: regulator that supplies the I/O voltage39 40 rotation: true41 backlight: true42 43required:44 - compatible45 - reg46 - vddio-supply47 - reset-gpios48 49allOf:50 - $ref: panel-common-dual.yaml#51 - if:52 properties:53 compatible:54 contains:55 enum:56 - novatek,nt36523w57 then:58 properties:59 ports:60 properties:61 port@1: false62 else:63 properties:64 port: false65 ports:66 required:67 - port@168 69unevaluatedProperties: false70 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