Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1018337pxb; Wed, 1 Sep 2021 15:26:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGn9uS4lYymKWeJW0XE/g+1v/s5hUxFlazH1OJEVDAoqVgulWNl3UFUaBkCld+HTanOH5X X-Received: by 2002:a5d:9617:: with SMTP id w23mr71855iol.115.1630535171772; Wed, 01 Sep 2021 15:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630535171; cv=none; d=google.com; s=arc-20160816; b=QcblItOjP/uTKZEwj3gUR4Edd6QWLCyCuaq92D375OPhcWpZ6esYQIz/mPeW2GS9dn qDL8DJlwIYyPFGz1fzpwHAFJR+nJnHUSwpTYUb4yNAe51cPQXsemlAggiDVR6XEf5XVQ bydEYBeWNSaFb2ft0cNBosLEC33YesjOWbMzrhQHT0WOdMW6caYhEEu90GHoRvyguhHp iCVMpNyc1PuEMToKJVRQPWwZlquzxpaY4Gv1c/w9uGddWyIzMHVXt1CZeTs5+HFrGRGP MAozHk1QayOqNNmielLdt96iPjkU3EVp7ZAAWBgrg/k45a1X/DaI3YHYUkWaqx7HkFdS 1bcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=f31eKLwODwaxoE0QAuuQhr1FefQRQ74Lj+JGCX5/WY4=; b=DJzqxkXW7bf8TzmOBECZp0UopOX40Tq7TS8eiNdfC53EVIu9r4Lpgc8wo7tBIUy8l3 Maq1Ik+RHccLqI80ErXdrmEHPwvo5lqVFub9Y6QdqOqQD3dX/kJOGIipkjo8+FCZORqd xsSnuxFtYzANePiQ7KA6R7zX+fGU6oJuDGcjpyjvBsD5n5Uh4gKsPHU5qrBJaa8Bh5be FqUBBFQMe5OuP7k5VKrxYkTyz054BuypIv6rBv1Qezuyjdq9vMqXm0gd8mYQGjbQ88MI PgaIFhCIa8LiDaTcBOzdQxFtls7OElIg/HZV8gbHJTUbE+dR0Bg1gorJF1Ti2FTUSQoe t/Rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si103542ilc.12.2021.09.01.15.25.59; Wed, 01 Sep 2021 15:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344987AbhIARc3 (ORCPT + 99 others); Wed, 1 Sep 2021 13:32:29 -0400 Received: from relay01.th.seeweb.it ([5.144.164.162]:51575 "EHLO relay01.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344958AbhIARc2 (ORCPT ); Wed, 1 Sep 2021 13:32:28 -0400 Received: from IcarusMOD.eternityproject.eu (unknown [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id D9736200D6; Wed, 1 Sep 2021 19:31:29 +0200 (CEST) From: AngeloGioacchino Del Regno To: thierry.reding@gmail.com Cc: sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, marijn.suijten@somainline.org, martin.botka@somainline.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, paul.bouchara@somainline.org, AngeloGioacchino Del Regno Subject: [PATCH 2/2] dt-bindings: display: Add bindings for Novatek NT35950 Date: Wed, 1 Sep 2021 19:31:27 +0200 Message-Id: <20210901173127.998901-2-angelogioacchino.delregno@somainline.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210901173127.998901-1-angelogioacchino.delregno@somainline.org> References: <20210901173127.998901-1-angelogioacchino.delregno@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels, with Static RAM for content retention in command mode and also supports video mode with VESA Frame Buffer Compression or Display Stream Compression on single, or dual dsi port(s). This DDIC is also capable of upscaling an input image to the panel's native resolution, for example it can upscale a 1920x1080 input to 3840x2160 with either bilinear interpolation or pixel duplication. Signed-off-by: AngeloGioacchino Del Regno --- .../display/panel/novatek,nt35950.yaml | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml new file mode 100644 index 000000000000..377a05d48a02 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml @@ -0,0 +1,106 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt35950.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT35950-based display panels + +maintainers: + - AngeloGioacchino Del Regno + +description: | + The nt35950 IC from Novatek is a Driver IC used to drive MIPI-DSI panels, + with Static RAM for content retention in command mode and also supports + video mode with VESA Frame Buffer Compression or Display Stream Compression + on single, or dual dsi port(s). + This DDIC is also capable of upscaling an input image to the panel's native + resolution, for example it can upscale a 1920x1080 input to 3840x2160 with + either bilinear interpolation or pixel duplication. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - sharp,ls055d1sx04 + - const: novatek,nt35950 + description: This indicates the panel manufacturer of the panel + that is in turn using the NT35950 panel driver. The compatible + string determines how the NT35950 panel driver shall be configured + to work with the indicated panel. The novatek,nt35950 compatible shall + always be provided as a fallback. + + reset-gpios: + maxItems: 1 + description: phandle of gpio for reset line - This should be 8mA, gpio + can be configured using mux, pinctrl, pinctrl-names (active high) + + avdd-supply: + description: positive boost supply regulator + avee-supply: + description: negative boost supply regulator + dvdd-supply: + description: regulator that supplies the digital voltage + vddio-supply: + description: regulator that supplies the I/O voltage + + backlight: true + ports: true + reg: true + +required: + - compatible + - reg + - reset-gpios + - avdd-supply + - avee-supply + - dvdd-supply + - vddio-supply + +additionalProperties: false + +examples: + - | + #include + + dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sharp,ls055d1sx04", "novatek,nt35950"; + reg = <0>; + + backlight = <&pmi8998_wled>; + reset-gpios = <&tlmm 94 GPIO_ACTIVE_HIGH>; + + avdd-supply = <&lab>; + avee-supply = <&ibb>; + dvdd-supply = <&disp_dvdd_vreg>; + vddio-supply = <&vreg_l14a_1p85>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + panel_in0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + panel_in1: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + }; + }; + }; + +... -- 2.32.0