Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1310564ybh; Thu, 16 Jul 2020 08:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBo3nQAfLejohjPXJUvopGPAh1W+g+A1RVqd1+CoZ6gBmn7Lw2jWQEGlN5O9FhLM6IcJA2 X-Received: by 2002:a17:906:2799:: with SMTP id j25mr4278567ejc.466.1594914145311; Thu, 16 Jul 2020 08:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594914145; cv=none; d=google.com; s=arc-20160816; b=f8ZVgYhEbK81YNz9jKHU23YzLURnZcarKo7TIWADhqw6WBRsjAOQiDxaG9p3meO7RB Q00Xs1r7izciul/G+1xA8loseWY1YroMbjV+nNDCRCVz1znhoOVxtm1AgaQB4+55FNXN nudRH0LdguzF6mOFXbAr5d4livnTnHh639I7A3RKuL19FQGvuCrF9gPhz1iATyNk0KLK OYJPqTTU7wBvemf7C2op9bAP2y6ROXkrcg4GTrshPZiMmxtSQ59xtlTDtJVjRKqmBfLH 7Da3iAsKDOtbDBP6Rm+mEeteQr/fzEHoS835SmTVtQ6c1RFBlaq9mOB3yLyjZj+XGFuC xgSA== 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=9ZAKSAh34vTXMTUWEjv2hN2YsXCAZIAQFEsdbfwVoDU=; b=uLzrNUR4h6TIalEGf2B4K+D3E7pz0v6a/4SYMeL7+ZNdQ8qRkbG+XAB+zViPQtpeGt EIqBVUZchWoc1XgmSFIsF+LM9RTPVLJoZCCYt4+irI0JX1fYM8Wlc5TRvBUDR0wPhns7 EB5DThaUgGz9wyDCsFypkioj9/nuccDSDfkKJrZfb1+XcmiDGhUh0pU9+ltmqbs/2Z1z ktGyapc4VUesgF24fC5l+yyZA0Q/0k6mNaKCTP6YqTWI8isAHO81oPpSeDl5qvRiryGF b4WYiVIiNNHBCyfZ1NsLY0Yu2Ic4/Y3pEFI6wCVp3/jbjfdPBHYdtKrf4zzrDYTF7ETO Vaeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FnTEaAYt; 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; 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 l21si3664506ejg.690.2020.07.16.08.42.01; Thu, 16 Jul 2020 08:42:25 -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; dkim=pass header.i=@linaro.org header.s=google header.b=FnTEaAYt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729515AbgGPPj7 (ORCPT + 99 others); Thu, 16 Jul 2020 11:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729397AbgGPPjT (ORCPT ); Thu, 16 Jul 2020 11:39:19 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36C5C061755 for ; Thu, 16 Jul 2020 08:39:19 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id l6so4027462plt.7 for ; Thu, 16 Jul 2020 08:39:19 -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=9ZAKSAh34vTXMTUWEjv2hN2YsXCAZIAQFEsdbfwVoDU=; b=FnTEaAYt0y6BvQOFPCsBRFnTthf3sONoeLwowi4ONN/7NOSqNe/7Guc9c5CyDpPbl5 UWt9WLPB6kjrzLv2tFFfUbhmNO7xyu7G32cNI2I7WGJ1FBqo1IMpocIoejL3/DyWMLcr juFpoZdNbRRZ1prAfjrmKmXrc+lFm2w7bQTqxP9k+uUjTZSd1RizMYBdM6yw3oEGnShN GuhUQCcQ7ydXBCXGZ7hJ2JfOig0aOuZC0H7lF+r3+Gw+EV2Zj1TU1Z2wqNVZrlU1/tpp LQ10NfyB3EziTrY0Wci0FvwaPeYi7/Kwart4MXJXgXVKUZHknlGtDh7ml9kb3o4oHneE CWTw== 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=9ZAKSAh34vTXMTUWEjv2hN2YsXCAZIAQFEsdbfwVoDU=; b=p82mxUhiWAq8S/knqmTSZk5SvWfu5mBtbPG2uW9lratM2OqcAsQTL/CNQG7g+NWa5S UqBvuY4+C5v0MtU1vO9lYIN2h+9ASWlZareOdgI1VGiqMq1kmB3ZqeH/1J4ocTxLSrxs a0sLfs5xXkRfCgtieoFQb++W2XJe25Kivivi9FbXYoR7WvE71ohIxETE2thB+wr+wouG 2jGs3Ks8SuLNayGXu0RnsU8G5rBM9UeOCnEKkU/SM34D7dS9mVDKIWriI3YF5rZgTAD5 HN5gRuWln14vgpq2D6JXvhM20AvBduD1QzxWrY6bv3ChBPdsTqqgaW429P2ncPv6SASd iGxA== X-Gm-Message-State: AOAM532Z4jjakaV7lUfsRb+zbjfUFmg+PUX+lvOm+xsQG8LUemzelT2P 9r6D3R8hMEWy+RTAScZ87JsC7Q== X-Received: by 2002:a17:90a:ea83:: with SMTP id h3mr5772276pjz.176.1594913959344; Thu, 16 Jul 2020 08:39:19 -0700 (PDT) Received: from nagraj.local ([49.206.21.239]) by smtp.gmail.com with ESMTPSA id f14sm417056pjq.36.2020.07.16.08.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 08:39:18 -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, Sumit Semwal Subject: [PATCH 1/2] dt-bindings: display: panel: Add bindings for Tianma nt36672a panel Date: Thu, 16 Jul 2020 21:08:57 +0530 Message-Id: <20200716153858.526-2-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200716153858.526-1-sumit.semwal@linaro.org> References: <20200716153858.526-1-sumit.semwal@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- .../display/panel/tianma,nt36672a.yaml | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml 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..3c583ca926ee --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml @@ -0,0 +1,110 @@ +# 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 + + ports: + type: object + properties: + 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 + - ports + +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>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + tianma_nt36672a_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + }; + +... -- 2.27.0