From patchwork Wed Jul 22 05:58:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Semwal X-Patchwork-Id: 246944 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp247324ilg; Tue, 21 Jul 2020 22:58:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3VugKiHDMSesRh1mgNXqCXPAgiMSGWQE6yI8yXmDEvkRg9BDPLFIVQwDRnddKe+66s/VH X-Received: by 2002:a17:906:40d6:: with SMTP id a22mr29645146ejk.133.1595397511973; Tue, 21 Jul 2020 22:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595397511; cv=none; d=google.com; s=arc-20160816; b=uerSaIpbBC8qWmeuRVnMiJ3XNG6sSS4+rwFrRPT+nzbErsJ2oBhTXM/FgTtgXNBawS qgc//zkhLq7cX2N/hGZeDU17jujqT2+0PjcE96lAOgdUIl+XdVlxHzvj86g7i9Sb3aKN 1jUEwzSs5fREKfFGksvH7YxWzTHSCojp5Wa6CfQ8U9Mg8oH3Xi9kl/AwZ0T+KgxT83ES N9dp4/tl/IXRO36AaE0kmZKrsyk0kru4nAXZuyeUngnWSr+OdUgxqJwF1wUxBi69A9eF +GMrub+pcZRb7Li+J6SX4DgMYZE++bcRK6oBJ9YXEFsV0uz4LitMs522sG2uCxMIl63c 3rMg== 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=dTm4mWhvKAmIc2Rf3uwqpSL+kAsziisrGlZO4B+85K8=; b=YR+XVoyFD+FSOplD3EOqgk4zkNdsRLrC0N/9Tfjp7Np6v/+W7oGJptIF6PPn3RTtVz c/XPaDZ7b0UlaVV7wOezxfx314asIYujEkoH8XHB+6eqFCXV6UcCdsAflZDHekjy9Ih4 F1R7flJPh3cqQplh0vmT7FaVHT0TSjDKoD9Nre7m4Ya7+OsFvxttVu4mkNbT0YsR3F89 4KvREDjMcEXp8R6dkeo+afKw5Kz+a37BYRF6hVhmSzKV5/TJThBmwF0a/SMJHcW2j5ku 6bflHF1YcLU2Fk1UZvUM1FQSCRjvM4XcrAf+7p8q5yvSqysW0gwcSumkjcy7OYetCXSG q0pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=guVuNrx2; 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 e20si13426261edy.5.2020.07.21.22.58.31; Tue, 21 Jul 2020 22:58:31 -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=guVuNrx2; 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 S1728318AbgGVF6b (ORCPT + 6 others); Wed, 22 Jul 2020 01:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728299AbgGVF6a (ORCPT ); Wed, 22 Jul 2020 01:58:30 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAEFBC061794 for ; Tue, 21 Jul 2020 22:58:30 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id k4so405484pld.12 for ; Tue, 21 Jul 2020 22:58:30 -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=dTm4mWhvKAmIc2Rf3uwqpSL+kAsziisrGlZO4B+85K8=; b=guVuNrx2ZWLOp4fNmvGs/LfJYvYVXWStXsqNLTMHKJIZAV/XgbdQm12D7Ftqp67bIP Ojv6OaXH4wfdhdGo2uaSJEY2mNxzfWgXvQEAcVvr4IhBJPOmDeaimWxQySSEcfXnbIj+ j5KgliOrjkHxKKf/CoiroWN75Usd09WLyc58/m7bi9CLgk2JLfz+ApA5VMV4FJued4Yu lV+FwRXcQlbdhzifR2pyGCPE4QLkdQPCHdqEJasdDsuKzV4DpaY34VeVUTACzED7VCIb oFXY+Ssx1ko+J3e/kasBhiR17y+QxrXn3ClI3vY8Wt2TJtpa2NjenDct7nnD+B9AWC3T so1g== 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=dTm4mWhvKAmIc2Rf3uwqpSL+kAsziisrGlZO4B+85K8=; b=nEKkjtCt+J71pGuDDiFdbcl0EUwKggXXG/qf4XM7YLJ9erogoP7+jQmaXuJWdy5Q5y JnkvjDTlQWdRzeAmhDJSlbOx1bceTnovQROzHblSMd2Q1j+GedVbYLfZyoOblO6gJYda 3/8ZFvmMQ1F7ZoQou1zligpb8Navoqu4UoaEHa1DuxYXrfUymQ3mbNXw1/CSkkuVIRON +x94OWoa/nnGqinxaGim8RVFSz0ypvq3B2vir7CRrCY3c6pBFfuiruxQvqP/3gSewptd xld59zV6+47xle/tqbYsjKok0VbrqQ9n+RdIPx+pZRYZvfslDUkiD8QXR56g78YIOLnr S5qA== X-Gm-Message-State: AOAM532Smq9lF1JUyyznyyHBDP50CEOUdUMylAtGTP9Gi33YdsE5Ni+T uge/m5hVvGpSFHyPNqLEg9sdWA== X-Received: by 2002:a17:90b:8d7:: with SMTP id ds23mr8547210pjb.148.1595397510192; Tue, 21 Jul 2020 22:58:30 -0700 (PDT) Received: from nagraj.local ([49.206.21.239]) by smtp.gmail.com with ESMTPSA id e191sm22144010pfh.42.2020.07.21.22.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 22:58:29 -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 v2 1/2] dt-bindings: display: panel: Add bindings for Tianma nt36672a panel Date: Wed, 22 Jul 2020 11:28:15 +0530 Message-Id: <20200722055816.20768-2-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722055816.20768-1-sumit.semwal@linaro.org> References: <20200722055816.20768-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 Change-Id: I401dfbfe23ff2d806c956002f45e349cb9688c16 --- v2: remove ports node, making port@0 directly under panel@0 node. --- .../display/panel/tianma,nt36672a.yaml | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml -- 2.27.0 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..cb1799fbbd32 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml @@ -0,0 +1,104 @@ +# 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@0: + type: object + description: DSI input port driven by master DSI + properties: + reg: + const: 0 + + required: + - reg + +required: + - compatible + - reg + - vddi0-supply + - vddpos-supply + - vddneg-supply + - reset-gpios + - pinctrl-names + - pinctrl-0 + - pinctrl-1 + - port@0 + +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@0 { + reg = <0>; + tianma_nt36672a_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +...