From patchwork Mon Jul 27 07:43:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Semwal X-Patchwork-Id: 247154 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp4577579ilg; Mon, 27 Jul 2020 00:44:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8wzKbHAQrDAX/HrTdVAYbErFyZRPxDNCaDPfgtNc8p96mQXSiSsgB4iGcxKlZqkDJpuEL X-Received: by 2002:a05:6402:363:: with SMTP id s3mr19596414edw.238.1595835846066; Mon, 27 Jul 2020 00:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595835846; cv=none; d=google.com; s=arc-20160816; b=fkne0BAZnN/i4ocTQxHzZOJ1leISqO67RQtu8AYG7F0D0Y4sCxvZ+HlhDQx7nson0p F5BlbL1/H5NAyCqSDZgo5y5OQjnOli19Hvic3X+WX2RkfQaFDjKweM4aOesonZPGwd/s jC54hONgQ38/3VAsIb0kEXO0Nnordn9u7Ql29Q9Etnky7ldB8CE4fsM8alHghzHFRq1c OPURt9GqHM7HMvaQzj3GhMuThmX50jyrRIUeKQm0K0Niv54ueOJvwXdebnXTduqowI9+ 566MS+V39F5rtzQVXKtG4xX3HvSMNjyG9Nh7yWlz830KoujfGP7N9zYa5jkOwE7dNjFP LLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5US/XCWACBZUG+u/wcd8ufH/ZA+g/IaYFSks30i6g9k=; b=xr61TU2m67hoxxY6UQjMXH1DzdoklN65xoWcYJWVWn4DUNuF4ykH5hAnxDkP81WgdS UZexM2nRS1dRarDyn3K/8/u9vfRNXLIWs3I/oqFWgNsfUXmpXviZko3VXXRovKsl8QLO 7rchrTrFb4wHswZpSxC0RDZJYQNVUS44gqUXPJOofyfBmCkQ7iEaDNddQBJOE7tgLRkL g1Z+cpVMvTUr8tYoSCKeCenTQrQ4iuDZuy2mLaKZXsKKS6vPhx08xz5XKyqOrBWjU5ln uUuR5uTPpPXXLj7yKDXoOIxfsI/9l0e94pPN8pxOAQxOtdzHttZ2wvYD2SvWyIMtlX1J YLTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qur/Atmd"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo3si4997305ejb.494.2020.07.27.00.44.05; Mon, 27 Jul 2020 00:44:06 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qur/Atmd"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727041AbgG0HoF (ORCPT + 6 others); Mon, 27 Jul 2020 03:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbgG0HoE (ORCPT ); Mon, 27 Jul 2020 03:44:04 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12E4C0619D4 for ; Mon, 27 Jul 2020 00:44:03 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id d188so2563978pfd.2 for ; Mon, 27 Jul 2020 00:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5US/XCWACBZUG+u/wcd8ufH/ZA+g/IaYFSks30i6g9k=; b=qur/AtmdKo9Z1/6syLwN1Bs4Sm/0w7BycwiIZCY7HuB+hYitWI7TQ8VkabtUNI47M/ 29JN1tJWNYx+YxEysZUSk7IW1ZJlGbD9Y+yD1pR4biouLN2Rgnw9LfDEja2iMYVkyCgT yZ/d/pZGG8Mcqy6Ki+qZBMYfcZc0+vmoTzIRvAG7jJs9FZk7wUpEIh5fU+gIpDRoqJNl y8F1anTTNJ6r6hyPdW5JNd6JfWtEle2hAkZLUteWrM+AN2Vd/94lXUquyxFVmQxLl+cE L4xu9F/uvyrIwP131jddQKfXgyD9Ix8VNsH3b6wUbBNMmzxO0zIxXBJ6+GTo0B3/ydWD Y2tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5US/XCWACBZUG+u/wcd8ufH/ZA+g/IaYFSks30i6g9k=; b=fJ3VssZfo7HS28N74c/nuvEanahs1IbkSBDXWz9SpzvXv1rj9iJi09GmpkFKhE5Ulh uyGBTwg6jDx32jevXpzOTgEKppwS1hWw53AZiirxOL4lg7P29aYke1doMaBKCQnZ7me+ MpoXJmeTUMfDbObVAS88oD9Y2e52BFesh+nsDMof01OIEmEoNQOTB7aDWw2xaKKJuMOR 8yW/mrv+RXLHGqoqDu/dR9ew+LjZZPo5y9/XWAgvYPqssN9B2PmYf+hg+ZTrKxER4TM6 yte/NmjiqWmkSyYZuuK+6lx7hr3s/5IUT4v85X9lm4OByMX+BPo9K1kEQDo0xfFWKWfz x1ew== X-Gm-Message-State: AOAM532t7aWm6Yk7BGUk3HUHxKTVlgaG9BSKoAOriSHitofvsLbbdnRM TRwh8QzN2q6Ad9cR+th1n+BPrw== X-Received: by 2002:a62:7991:: with SMTP id u139mr18349947pfc.87.1595835842812; Mon, 27 Jul 2020 00:44:02 -0700 (PDT) Received: from nagraj.local ([49.206.21.239]) by smtp.gmail.com with ESMTPSA id n22sm13062152pjq.25.2020.07.27.00.43.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 00:44:01 -0700 (PDT) From: Sumit Semwal To: Thierry Reding , Sam Ravnborg , Rob Herring Cc: David Airlie , Daniel Vetter , Mauro Carvalho Chehab , "David S . Miller" , Rob Herring , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Bjorn Andersson , Sumit Semwal Subject: [PATCH v3 1/2] dt-bindings: display: panel: Add bindings for Tianma nt36672a panel Date: Mon, 27 Jul 2020 13:13:47 +0530 Message-Id: <20200727074348.26116-2-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727074348.26116-1-sumit.semwal@linaro.org> References: <20200727074348.26116-1-sumit.semwal@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The nt36672a panel from Tianma is a FHD+ panel with a resolution of 1080x2246 and 6.18 inches size. It is found in some of the Poco F1 phones. Signed-off-by: Sumit Semwal --- v2: remove ports node, making port@0 directly under panel@0 node. v3: updated to replace port@0 to just 'port'. --- .../display/panel/tianma,nt36672a.yaml | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml -- 2.27.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml new file mode 100644 index 000000000000..03dc323332a5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/tianma,nt36672a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tianma model NT36672A DSI Panel display driver + +maintainers: + - Sumit Semwal + +description: | + The nt36672a panel from Tianma is a FHD+ LCD display panel with a resolution + of 1080x2246. It is a video mode DSI panel. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: tianma,nt36672a + + reg: + description: DSI virtual channel of the peripheral + + reset-gpios: + description: phandle of gpio for reset line - This should be 8mA, gpio + can be configured using mux, pinctrl, pinctrl-names (active high) + + vddio-supply: + description: phandle of the regulator that provides the supply voltage + Power IC supply + + vddpos-supply: + description: phandle of the positive boost supply regulator + + vddneg-supply: + description: phandle of the negative boost supply regulator + + pinctrl-names: + description: Pinctrl for panel active and suspend + + pinctrl-0: + description: Active pinctrls + + pinctrl-1: + description: Suspend pinctrls + + port: true + +required: + - compatible + - reg + - vddi0-supply + - vddpos-supply + - vddneg-supply + - reset-gpios + - pinctrl-names + - pinctrl-0 + - pinctrl-1 + - port + +unevaluatedProperties: false + +examples: + - |+ + #include + dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "tianma,nt36672a"; + reg = <0>; + vddi0-supply = <&vreg_l14a_1p88>; + vddpos-supply = <&lab>; + vddneg-supply = <&ibb>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "panel_active", "panel_suspend"; + pinctrl-0 = <&sde_dsi_active>; + pinctrl-1 = <&sde_dsi_suspend>; + + #address-cells = <1>; + #size-cells = <0>; + port { + tianma_nt36672a_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +...