1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e67e8565SEmmanuel Vadot%YAML 1.2 3e67e8565SEmmanuel Vadot--- 4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml# 5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6e67e8565SEmmanuel Vadot 7e67e8565SEmmanuel Vadottitle: Novatek NT35950-based display panels 8e67e8565SEmmanuel Vadot 9e67e8565SEmmanuel Vadotmaintainers: 10e67e8565SEmmanuel Vadot - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> 11e67e8565SEmmanuel Vadot 12e67e8565SEmmanuel Vadotdescription: | 13e67e8565SEmmanuel Vadot The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels, 14e67e8565SEmmanuel Vadot with Static RAM for content retention in command mode and also supports 15e67e8565SEmmanuel Vadot video mode with VESA Frame Buffer Compression or Display Stream Compression 16e67e8565SEmmanuel Vadot on single, or dual dsi port(s). 17e67e8565SEmmanuel Vadot This DDIC is also capable of upscaling an input image to the panel's native 18e67e8565SEmmanuel Vadot resolution, for example it can upscale a 1920x1080 input to 3840x2160 with 19e67e8565SEmmanuel Vadot either bilinear interpolation or pixel duplication. 20e67e8565SEmmanuel Vadot 21e67e8565SEmmanuel VadotallOf: 22*7d0873ebSEmmanuel Vadot - $ref: panel-common-dual.yaml# 23e67e8565SEmmanuel Vadot 24e67e8565SEmmanuel Vadotproperties: 25e67e8565SEmmanuel Vadot compatible: 26e67e8565SEmmanuel Vadot items: 27e67e8565SEmmanuel Vadot - enum: 28e67e8565SEmmanuel Vadot - sharp,ls055d1sx04 29e67e8565SEmmanuel Vadot - const: novatek,nt35950 30e67e8565SEmmanuel Vadot description: This indicates the panel manufacturer of the panel 31e67e8565SEmmanuel Vadot that is in turn using the NT35950 panel driver. The compatible 32e67e8565SEmmanuel Vadot string determines how the NT35950 panel driver shall be configured 33e67e8565SEmmanuel Vadot to work with the indicated panel. The novatek,nt35950 compatible shall 34e67e8565SEmmanuel Vadot always be provided as a fallback. 35e67e8565SEmmanuel Vadot 36*7d0873ebSEmmanuel Vadot reg: 37*7d0873ebSEmmanuel Vadot maxItems: 1 38*7d0873ebSEmmanuel Vadot 39e67e8565SEmmanuel Vadot reset-gpios: 40e67e8565SEmmanuel Vadot maxItems: 1 41e67e8565SEmmanuel Vadot description: phandle of gpio for reset line - This should be 8mA, gpio 42e67e8565SEmmanuel Vadot can be configured using mux, pinctrl, pinctrl-names (active high) 43e67e8565SEmmanuel Vadot 44e67e8565SEmmanuel Vadot avdd-supply: 45e67e8565SEmmanuel Vadot description: positive boost supply regulator 46e67e8565SEmmanuel Vadot avee-supply: 47e67e8565SEmmanuel Vadot description: negative boost supply regulator 48e67e8565SEmmanuel Vadot dvdd-supply: 49e67e8565SEmmanuel Vadot description: regulator that supplies the digital voltage 50e67e8565SEmmanuel Vadot vddio-supply: 51e67e8565SEmmanuel Vadot description: regulator that supplies the I/O voltage 52e67e8565SEmmanuel Vadot 53e67e8565SEmmanuel Vadot backlight: true 54e67e8565SEmmanuel Vadot ports: true 55e67e8565SEmmanuel Vadot 56e67e8565SEmmanuel Vadotrequired: 57e67e8565SEmmanuel Vadot - compatible 58e67e8565SEmmanuel Vadot - reg 59e67e8565SEmmanuel Vadot - reset-gpios 60e67e8565SEmmanuel Vadot - avdd-supply 61e67e8565SEmmanuel Vadot - avee-supply 62e67e8565SEmmanuel Vadot - dvdd-supply 63e67e8565SEmmanuel Vadot - vddio-supply 64*7d0873ebSEmmanuel Vadot - ports 65e67e8565SEmmanuel Vadot 66e67e8565SEmmanuel VadotadditionalProperties: false 67e67e8565SEmmanuel Vadot 68e67e8565SEmmanuel Vadotexamples: 69e67e8565SEmmanuel Vadot - | 70e67e8565SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 71e67e8565SEmmanuel Vadot 72e67e8565SEmmanuel Vadot dsi0 { 73e67e8565SEmmanuel Vadot #address-cells = <1>; 74e67e8565SEmmanuel Vadot #size-cells = <0>; 75e67e8565SEmmanuel Vadot 76e67e8565SEmmanuel Vadot panel@0 { 77e67e8565SEmmanuel Vadot compatible = "sharp,ls055d1sx04", "novatek,nt35950"; 78e67e8565SEmmanuel Vadot reg = <0>; 79e67e8565SEmmanuel Vadot 80e67e8565SEmmanuel Vadot backlight = <&pmi8998_wled>; 81e67e8565SEmmanuel Vadot reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>; 82e67e8565SEmmanuel Vadot 83e67e8565SEmmanuel Vadot avdd-supply = <&lab>; 84e67e8565SEmmanuel Vadot avee-supply = <&ibb>; 85e67e8565SEmmanuel Vadot dvdd-supply = <&disp_dvdd_vreg>; 86e67e8565SEmmanuel Vadot vddio-supply = <&vreg_l14a_1p85>; 87e67e8565SEmmanuel Vadot 88e67e8565SEmmanuel Vadot ports { 89e67e8565SEmmanuel Vadot #address-cells = <1>; 90e67e8565SEmmanuel Vadot #size-cells = <0>; 91e67e8565SEmmanuel Vadot 92e67e8565SEmmanuel Vadot port@0 { 93e67e8565SEmmanuel Vadot reg = <0>; 94e67e8565SEmmanuel Vadot panel_in0: endpoint { 95e67e8565SEmmanuel Vadot remote-endpoint = <&dsi0_out>; 96e67e8565SEmmanuel Vadot }; 97e67e8565SEmmanuel Vadot }; 98e67e8565SEmmanuel Vadot 99e67e8565SEmmanuel Vadot port@1 { 100e67e8565SEmmanuel Vadot reg = <1>; 101e67e8565SEmmanuel Vadot panel_in1: endpoint { 102e67e8565SEmmanuel Vadot remote-endpoint = <&dsi1_out>; 103e67e8565SEmmanuel Vadot }; 104e67e8565SEmmanuel Vadot }; 105e67e8565SEmmanuel Vadot }; 106e67e8565SEmmanuel Vadot }; 107e67e8565SEmmanuel Vadot }; 108e67e8565SEmmanuel Vadot 109e67e8565SEmmanuel Vadot... 110