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