From patchwork Fri Dec 22 11:07:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 182625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp984474dyi; Fri, 22 Dec 2023 03:08:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1XAtdfrgQINMYhPAoii9joKL2UM8Q52TeQRR01KCJiww7TRzltyQSd+aLo2ZeeVKeppvJ X-Received: by 2002:a05:620a:b86:b0:781:25d8:2554 with SMTP id k6-20020a05620a0b8600b0078125d82554mr1337419qkh.136.1703243303527; Fri, 22 Dec 2023 03:08:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703243303; cv=none; d=google.com; s=arc-20160816; b=Tuz+wXtCVSXgODzf9vZDy4L+mmJ3EODgySiDcmPmJ7gX3wp/F45awgIb9V9Rpm3vAo k+mt6llA5E8V5qWgqkMGgjvXyoti3NobuZjnKw/ubEswjX2uWOga+YMh3jciFXQcLdT+ vgohu0f4dRs4jM1cAq2fn64EIj6bydyNAJrnq0OxvbcOiveQFqzZYWNscFynik1d4qi1 EzIQAj/X5l3/DOYMyghPsowKYaG7WAHCC8Hf+6HU6r16XNXpVXB4q1yQvKJRpW3dgNSM kDVB0Yw6ZmR3cBqlokiJHHGWvvCV2siOOWKL/scMW7abjAyP9rjoL/qYEdYIiy0+1sAK FzDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=/FYaBKtPH0tgnXy7Wvh2r7LXp3sE8okO7iF1J8MDHfo=; fh=2WBI/C006eP1KfQhsBzQmdq3vt7gRqk7/Q8nsmFDf1A=; b=AfO1Uq0bItaWYE24y1pXWSjEfWJnUwdlV20ATobMZwS5gfbAotQc11ymiardAhycvR Z7XeerLGQaukfdknVAZ5g59wgeY2HhXpKOmca/XCOwDdBKN1FS97qhsWss2f+IKlmP4b sfZH0oZ/zAnenea8VriIlf7AvCO5k8SYs7fRFOwDw+5+b1voEXHywjVj8Ruf86sWS3rP UDSkSerUV1fX5WhvjzY5iFnkxb4lMhTKbYOnJpTgwBG2ru65nYg0Pmy4XoBrxGEqw6oe X+xH6begqWn0akVQP1yO62PsYFElqXEnlPk09aTuwN58D28dp+scUroJMl9ghUoWdKQd FXdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eg4ADUhr; spf=pass (google.com: domain of linux-kernel+bounces-9634-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9634-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qs10-20020a05620a394a00b0077fad9ed4a0si4304699qkn.13.2023.12.22.03.08.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:08:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9634-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eg4ADUhr; spf=pass (google.com: domain of linux-kernel+bounces-9634-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9634-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 51D241C22199 for ; Fri, 22 Dec 2023 11:08:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58DEF1803E; Fri, 22 Dec 2023 11:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eg4ADUhr" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C4231642B; Fri, 22 Dec 2023 11:07:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BM9dLe2023587; Fri, 22 Dec 2023 11:07:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= qcppdkim1; bh=/FYaBKtPH0tgnXy7Wvh2r7LXp3sE8okO7iF1J8MDHfo=; b=eg 4ADUhrZzRzkBGkQacGqwu3O5/LBlEsxnL587Uje9A3bEzHWtSOso70Vo+Y7ByAgF xhHAeJU/uRC4bfsENu5BXE6GSwKeOPJDiA+BZltQd9IZJSG4Mwxkb9cFNVE0hyEB SQTejPB+PtLbtChHO/sHDgdkHo4ARN3X4bn7Qp9h9Y4JYZGEz7W2FZzXfJMO3aRZ NO5qEuIr67Wvw4te+X39bpp2Mz4U7T6nIO74lsn/Q34wMwmeLKLK46pchZ7mBgZ4 DBTMbwTEHpr6HynAgcrS2JoDqFzx2nL/lfnCzO0uXCuvpkCm8rJfdlEaIjxWjPwE IrX+4juRuuUKitY9VEnA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v580sg93s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Dec 2023 11:07:22 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3BMB7Jno019230; Fri, 22 Dec 2023 11:07:19 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3v14ymvpvc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Dec 2023 11:07:19 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BMB7JsX019221; Fri, 22 Dec 2023 11:07:19 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-riteshk-hyd.qualcomm.com [10.147.241.247]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3BMB7I9Z019220; Fri, 22 Dec 2023 11:07:19 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id E43FA5299C9; Fri, 22 Dec 2023 16:37:17 +0530 (+0530) From: Ritesh Kumar To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ritesh Kumar , neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, quic_abhinavk@quicinc.com, quic_rajeevny@quicinc.com, quic_vproddut@quicinc.com Subject: [v1 1/2] dt-bindings: display: panel: Add Truly NT36672E LCD DSI panel Date: Fri, 22 Dec 2023 16:37:09 +0530 Message-Id: <20231222110710.19397-2-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231222110710.19397-1-quic_riteshk@quicinc.com> References: <20231222110710.19397-1-quic_riteshk@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: GXeXJK-z1UuCZ9YIf9iElw3QUG_WJ_bA X-Proofpoint-GUID: GXeXJK-z1UuCZ9YIf9iElw3QUG_WJ_bA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=999 mlxscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312220079 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785980050509311563 X-GMAIL-MSGID: 1785980050509311563 Document Truly NT36672E FHD+ LCD DSI panel. Signed-off-by: Ritesh Kumar --- .../display/panel/truly,nt36672e.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml diff --git a/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml new file mode 100644 index 000000000000..39ab05c5b103 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/truly,nt36672e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Truly NT36672E LCD DSI Panel + +maintainers: + - Ritesh Kumar + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: truly,nt36672e + + reg: + maxItems: 1 + description: DSI virtual channel + + vddi-supply: true + avdd-supply: true + avee-supply: true + port: true + reset-gpios: true + backlight: true + +additionalProperties: false + +required: + - compatible + - reg + - vddi-supply + - avdd-supply + - avee-supply + - reset-gpios + - port + +examples: + - | + #include + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "truly,nt36672e"; + reg = <0>; + + reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>; + + vddi-supply = <&vreg_l8c_1p8>; + avdd-supply = <&disp_avdd>; + avee-supply = <&disp_avee>; + + backlight = <&pwm_backlight>; + + port { + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... From patchwork Fri Dec 22 11:07:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 182624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp984178dyi; Fri, 22 Dec 2023 03:07:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGI8RucPhZgg5aVlat46Y0UKP2tkaBRjhiUK5CidlM7Jj29MR0inAtAAlcq7rkDmphsb7lJ X-Received: by 2002:a05:6358:789:b0:172:e0d4:43c9 with SMTP id n9-20020a056358078900b00172e0d443c9mr1176248rwj.10.1703243277038; Fri, 22 Dec 2023 03:07:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703243277; cv=none; d=google.com; s=arc-20160816; b=euSFm2qxQRy3PmZStI4pxTaN3/W3dspTJ5ycypzFjVGpNDH7/JJk9nVfuP/aB4KYkb PDOCUDQtMgElFBBv737QBx1gm0ZY1SETgLfhzL0FvHh2ANLW6QPw2ufIzepLLayJicDc x97SYDK6oOsyx5hEMWNxZlq87WuN+P0ctGc3R7rT2lL/lTrdGn2y1kthihXasomCur1d +2zmOmxiH3mf65WizmWb1FTEPKEfQkXsfotkGW21XRBxpfOyIdQkT7ywNzI7hCc7V4Bz tVloYihdcWKg/A9rZq0UYvRtL96d4Y0fFbx/NzuhtEjPK/zaJ0Hi1CRWHMJEEtei6+pS zFpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=JCl2hEmevIbt2aRc3GvDSJu8/70n2B5Dn6hpN4AUXuU=; fh=2WBI/C006eP1KfQhsBzQmdq3vt7gRqk7/Q8nsmFDf1A=; b=hcONWs3hL41+TbiNegaNxfA21shSFTKPjR+s3hzPobmioaZLe2EmlEEdoVGzMRErQ+ 1viJv1YQ6t3G7NKuA9xsKLyCDQebXSkr45HxMbJjZuiAIq3AHFAtwdBP/FNyfkQIH3yJ QRZTo/kUSmuTT6ERQJfQJQWEuG5Pum9IyiItb0NqUcZLHKEDoGap8cf2/ZTGteHHp1Kn vTCPcorw7yqtCKqq957KG2rm8FJzlTm8z9hmjPP0hnfmdJyAZP3JjGeTmQMm/95Sk+PJ 3eDh9DOwRNSmk1KwMf7cA1jGdrcJeiQIpB42fv8phwSRtJUKN3/hBnGFn9+tdH4oSUlN X3mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dgWGsSi6; spf=pass (google.com: domain of linux-kernel+bounces-9632-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9632-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fe9-20020a056a002f0900b006d3c35096dcsi3054981pfb.320.2023.12.22.03.07.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:07:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9632-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dgWGsSi6; spf=pass (google.com: domain of linux-kernel+bounces-9632-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9632-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D0C8F28A4EC for ; Fri, 22 Dec 2023 11:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBA29171C7; Fri, 22 Dec 2023 11:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dgWGsSi6" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4417B168A2; Fri, 22 Dec 2023 11:07:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BMAxtmQ006106; Fri, 22 Dec 2023 11:07:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= qcppdkim1; bh=JCl2hEmevIbt2aRc3GvDSJu8/70n2B5Dn6hpN4AUXuU=; b=dg WGsSi6TS3ZLetV7Jtfv3/VJ6ui5+bVOYkaiLWUtDe/WLceXfgYHCa8+R3DuDiIwK 3p+QXg+jvVxb5/wsDtMYQxytdY+7qZKn1Z2VaOlZeDNdkxjaubj+FTQoQtjvW+z9 jKSStoCQJ9j/Y5WM47U8parBefaFAOpABCPcHkK5LfM/2QV5SCufwjFmjuZO/DOJ n6slmWBoQHvBePuJy7O95cQbyQRkskdTkmrGvlYes7Y7VUuuL1VqauF2mSD9X8U6 i4rUeA3+6PXtOgtDQe8QM7TZqTT3ptYZk7FZmdlKy+DBgw7pQd3tDQFDY5hYEqPY j6C10mIGgvolF112ITzA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4tuea2mm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Dec 2023 11:07:25 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3BMB7JVo019229; Fri, 22 Dec 2023 11:07:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3v14ymvpvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Dec 2023 11:07:21 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BMB7L2D019242; Fri, 22 Dec 2023 11:07:21 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-riteshk-hyd.qualcomm.com [10.147.241.247]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3BMB7LCg019240; Fri, 22 Dec 2023 11:07:21 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id 01C3B5299C9; Fri, 22 Dec 2023 16:37:20 +0530 (+0530) From: Ritesh Kumar To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ritesh Kumar , neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, quic_abhinavk@quicinc.com, quic_rajeevny@quicinc.com, quic_vproddut@quicinc.com Subject: [v1 2/2] drm/panel: Add support for Truly NT36672E panel driver Date: Fri, 22 Dec 2023 16:37:10 +0530 Message-Id: <20231222110710.19397-3-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231222110710.19397-1-quic_riteshk@quicinc.com> References: <20231222110710.19397-1-quic_riteshk@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: g988SAlTHJlEAOBN47ZB7clk4OGENDP- X-Proofpoint-ORIG-GUID: g988SAlTHJlEAOBN47ZB7clk4OGENDP- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 impostorscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 spamscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312220079 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785980022307262145 X-GMAIL-MSGID: 1785980022307262145 Add support for the 1080x2408 Truly NT36672E video mode DSI panel driver. Signed-off-by: Ritesh Kumar --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly-nt36672e.c | 644 +++++++++++++++++++ 3 files changed, 654 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-truly-nt36672e.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 99e14dc212ec..25ef55edeff7 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -817,6 +817,15 @@ config DRM_PANEL_TRULY_NT35597_WQXGA Say Y here if you want to enable support for Truly NT35597 WQXGA Dual DSI Video Mode panel +config DRM_PANEL_TRULY_NT36672E + tristate "Truly NT36672E" + depends on OF + depends on DRM_MIPI_DSI + help + Say Y here if you want to enable support for Truly NT36672E DSI Video Mode + LCD panel module. The panel has a resolution of 1080x2408 and uses 24 bit + RGB per pixel. + config DRM_PANEL_VISIONOX_RM69299 tristate "Visionox RM69299" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index d10c3de51c6d..913643ba298c 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_DRM_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o obj-$(CONFIG_DRM_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o obj-$(CONFIG_DRM_PANEL_TPO_TPG110) += panel-tpo-tpg110.o obj-$(CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA) += panel-truly-nt35597.o +obj-$(CONFIG_DRM_PANEL_TRULY_NT36672E) += panel-truly-nt36672e.o obj-$(CONFIG_DRM_PANEL_VISIONOX_RM69299) += panel-visionox-rm69299.o obj-$(CONFIG_DRM_PANEL_VISIONOX_VTDR6130) += panel-visionox-vtdr6130.o obj-$(CONFIG_DRM_PANEL_VISIONOX_R66451) += panel-visionox-r66451.o diff --git a/drivers/gpu/drm/panel/panel-truly-nt36672e.c b/drivers/gpu/drm/panel/panel-truly-nt36672e.c new file mode 100644 index 000000000000..bef5139225a5 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-truly-nt36672e.c @@ -0,0 +1,644 @@ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include