110 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Novatek NT35950-based display panels8 9maintainers:10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>11 12description: |13 The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels,14 with Static RAM for content retention in command mode and also supports15 video mode with VESA Frame Buffer Compression or Display Stream Compression16 on single, or dual dsi port(s).17 This DDIC is also capable of upscaling an input image to the panel's native18 resolution, for example it can upscale a 1920x1080 input to 3840x2160 with19 either bilinear interpolation or pixel duplication.20 21allOf:22 - $ref: panel-common-dual.yaml#23 24properties:25 compatible:26 items:27 - enum:28 - sharp,ls055d1sx0429 - const: novatek,nt3595030 description: This indicates the panel manufacturer of the panel31 that is in turn using the NT35950 panel driver. The compatible32 string determines how the NT35950 panel driver shall be configured33 to work with the indicated panel. The novatek,nt35950 compatible shall34 always be provided as a fallback.35 36 reg:37 maxItems: 138 39 reset-gpios:40 maxItems: 141 description: phandle of gpio for reset line - This should be 8mA, gpio42 can be configured using mux, pinctrl, pinctrl-names (active high)43 44 avdd-supply:45 description: positive boost supply regulator46 avee-supply:47 description: negative boost supply regulator48 dvdd-supply:49 description: regulator that supplies the digital voltage50 vddio-supply:51 description: regulator that supplies the I/O voltage52 53 backlight: true54 ports: true55 56required:57 - compatible58 - reg59 - reset-gpios60 - avdd-supply61 - avee-supply62 - dvdd-supply63 - vddio-supply64 - ports65 66additionalProperties: false67 68examples:69 - |70 #include <dt-bindings/gpio/gpio.h>71 72 dsi0 {73 #address-cells = <1>;74 #size-cells = <0>;75 76 panel@0 {77 compatible = "sharp,ls055d1sx04", "novatek,nt35950";78 reg = <0>;79 80 backlight = <&pmi8998_wled>;81 reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>;82 83 avdd-supply = <&lab>;84 avee-supply = <&ibb>;85 dvdd-supply = <&disp_dvdd_vreg>;86 vddio-supply = <&vreg_l14a_1p85>;87 88 ports {89 #address-cells = <1>;90 #size-cells = <0>;91 92 port@0 {93 reg = <0>;94 panel_in0: endpoint {95 remote-endpoint = <&dsi0_out>;96 };97 };98 99 port@1 {100 reg = <1>;101 panel_in1: endpoint {102 remote-endpoint = <&dsi1_out>;103 };104 };105 };106 };107 };108 109...110