From patchwork Tue Jan 16 09:49:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 188476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp149555dye; Tue, 16 Jan 2024 01:53:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmf/Wc7D2QixO4addZDwMd0ZLOhKy54J3kzXp3D9HvB4kpbQOQovnLHUfaYRwQ7eKjuku3 X-Received: by 2002:a05:6359:2f86:b0:175:b6f1:779d with SMTP id rs6-20020a0563592f8600b00175b6f1779dmr3809022rwb.0.1705398831660; Tue, 16 Jan 2024 01:53:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705398831; cv=none; d=google.com; s=arc-20160816; b=Jz0v6lV7WzI7z5RuD7XFGHugA1m5aQsJDYjdF4wzMo7gf87V0y709LKOzxENxBF5mD O+QvYPodGJC7yMjghoxebLOyS9cry7/mrR9mo4+tf4uyfPtY8ZimrPO67iBICkLQw2+x Cw1kNprGFFL/A52bwR+j8hhJvVZ3T4KwPTJ/jJzo7FNLN6xORANgWhnROBykmBsIXKjV wl9yPD6DJ5KajuCPqKWW8Lf0L0e9lukW+7boRu9km05GLMKEWprlVjU8TnLcW3q9u8ZH c7e5arAjwB+8o9YpL142lnihnlTYdls2B8qJkoV5uqRslQLLwkWK5GIa2HoYyICK/xyE 3w8w== 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=muPwWxDiz4mNhpbahk8oaM5X8D3TG6LMceIjokdXjmI=; fh=WZstEXrC2jNs8p3PSpHSsjyFV5KU9tdEQ7/SGaoa91s=; b=MSDeb7oxCQubiY0HtBE9o3yA4X5nP1qVQUjYtGrb8eT9LaeVMiYg3BJr+HYcJsXnl3 OPzjRppzoV1o3jQqm8y408uvLELRduf+DppKc2RIhyCSpfmlk06oNvW5glL3/m7qvibE d52xMmL7OXTIK4lRxiOWcgEJ6BRtTDpglcktDvThBm0VOVQC/1MahggiQy6jGGs71MEg adrHmR7jKSB7FJr+3MAFQn2wy7wOOXQ65S6m7XffVJZ93X2/UvzoMT/2jTBAfETGASJ5 2Z0Zy/qyBFdQ2tRoXYkLU1iBWlQSxrm+WItl6+r8FvlPHagfJXm/XWgDqKUc2NNZgMuh 7AMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kYyFoUr6; spf=pass (google.com: domain of linux-kernel+bounces-27203-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27203-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e11-20020a17090a804b00b0028e3fed2159si5471846pjw.34.2024.01.16.01.53.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 01:53:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27203-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kYyFoUr6; spf=pass (google.com: domain of linux-kernel+bounces-27203-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27203-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BCC55B23698 for ; Tue, 16 Jan 2024 09:51:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61A1F13FEC; Tue, 16 Jan 2024 09:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kYyFoUr6" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 7E2BE134B7; Tue, 16 Jan 2024 09:50:27 +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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40G8sg48032459; Tue, 16 Jan 2024 09:49:45 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=muPwWxDiz4mNhpbahk8oaM5X8D3TG6LMceIjokdXjmI=; b=kY yFoUr6nrTv5Gz3gNpgHike6KCCg+fRWagDxK10RthbtFVRDG9d9PgQm/kMG+oxBG q6h7uYh+LVmFTO5/FYS3DzMA6up1WMxy1W7HMwNRGGFUNwbyu4Li5WCsPTN4kAzu QREBIzlNrowucTN6ZZ2f+GlTEm8wixNSRh/0EnP4kDPOddZUfstE2hFZrw3XHiXu bTc6k7WIJDNecHU71DRZZ+L0PEoI2z4kzarmSL97IFFHNb/hurV1ndnIB4EgA+FT qB4FoQyZ+vvvzSlX2P5TcWmuTEqlB5cF1PexTZEGo2+75DudZshDamH8sGi4MSIs oGvQXByYy9yQHjopN45A== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vn02ctnhu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 09:49:45 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 40G9nftd006269; Tue, 16 Jan 2024 09:49:41 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3vkkkkmgeu-1; Tue, 16 Jan 2024 09:49:41 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40G9nft7006249; Tue, 16 Jan 2024 09:49:41 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-riteshk-hyd.qualcomm.com [10.147.241.247]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 40G9ne40006246; Tue, 16 Jan 2024 09:49:41 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id A2EB6601956; Tue, 16 Jan 2024 15:19:39 +0530 (+0530) From: Ritesh Kumar To: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, arnd@arndb.de, neil.armstrong@linaro.org, dmitry.baryshkov@linaro.org, nfraprado@collabora.com, m.szyprowski@samsung.com Cc: Ritesh Kumar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_abhinavk@quicinc.com, quic_rajeevny@quicinc.com, quic_vproddut@quicinc.com Subject: [PATCH 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Date: Tue, 16 Jan 2024 15:19:34 +0530 Message-Id: <20240116094935.9988-2-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240116094935.9988-1-quic_riteshk@quicinc.com> References: <20240116094935.9988-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: l0HwsHfotPY8VFWEKzBdaM-es9RiIYW6 X-Proofpoint-GUID: l0HwsHfotPY8VFWEKzBdaM-es9RiIYW6 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_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 spamscore=0 impostorscore=0 phishscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 mlxlogscore=709 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401160077 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: 1788240285749095270 X-GMAIL-MSGID: 1788240285749095270 Build the Novatek NT36672E DSI Panel driver as module. Signed-off-by: Ritesh Kumar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 361c31b5d064..028d80be95f6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -859,6 +859,7 @@ CONFIG_DRM_PANEL_LVDS=m CONFIG_DRM_PANEL_SIMPLE=m CONFIG_DRM_PANEL_EDP=m CONFIG_DRM_PANEL_ILITEK_ILI9882T=m +CONFIG_DRM_PANEL_NOVATEK_NT36672E=m CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m CONFIG_DRM_PANEL_RAYDIUM_RM67191=m CONFIG_DRM_PANEL_SITRONIX_ST7703=m From patchwork Tue Jan 16 09:49:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 188475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp148741dye; Tue, 16 Jan 2024 01:51:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPoG/TVz0Rl0vnOO1LScy7lyiNWEB/w3S5RpiWc6l30ED2sHLfFyv+LEnx4V/CcKLqUGXn X-Received: by 2002:a17:906:f84b:b0:a2e:51ab:8a2f with SMTP id ks11-20020a170906f84b00b00a2e51ab8a2fmr1061576ejb.73.1705398671407; Tue, 16 Jan 2024 01:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705398671; cv=none; d=google.com; s=arc-20160816; b=N0VBiFDHlMb+Qlkms53RfZPJamljFL9DWICEniOhvNfp0urFhHQRjj0fFk2zO8JH/U TFT+YnknnmkHjnanmWDeIpUrqCbcwD/lCvetyvQ2IkdJsN7rYfR69oksZ4nSPsTzvbtN YBbUJF10xgxSao79TvitKe9pzLvafOpKRuJITJSO35rxyKlBsUGsP10uIMOU2+0X1DLj OUMl7DQt4Iy5j3PEy38d0+xAivE35kYcBMjjtBjZDPFTzkMmeq4Wx5JLzN0EE3kQ5sNc +MMcPZlqoAE5vHDP9dmwBxPtpIKIvT8uIF3NTmnXoOd9Tn6t50clhkCrpuOirMW7V7yh F4Mw== 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=wQAX+VhAFdlMCGP8X0aXUlSO5dSynGBqLOMB5EIi+c0=; fh=WZstEXrC2jNs8p3PSpHSsjyFV5KU9tdEQ7/SGaoa91s=; b=H4O1jOjEZEDw0lh34PI/tE7gmekdu1RNU5z2dZS7kzHcRmHHREyY7ePUMQYRkhKpuS cWwlJyDpaMxfk3lX0bwvd4SrGAL8A2frpg4maHkNEgGOzTATvSzLnVoMVFgpBIv0vqZ7 1NYuO+Ed/+IDpsc19jrdQcG2nWkOb3cFB8Rpzeu51KD4ZyALcCw38SCc3wkqa40ZqBmB Nv/sonXR9YkzOfLfx6DsfseNqjeg0w/XfKchC7GjvidsGwV2r//E5wHibhyur3l4Jdtg bfQbb72mGE5Eteo0uEUeDIuvm5iP1AX9OszSEhGm03shtaA9W9dim2IKuqynlCBi1/8m uliA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IzVl8V+8; spf=pass (google.com: domain of linux-kernel+bounces-27204-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27204-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w26-20020a1709060a1a00b00a275b4b24dfsi4416884ejf.789.2024.01.16.01.51.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 01:51:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27204-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IzVl8V+8; spf=pass (google.com: domain of linux-kernel+bounces-27204-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27204-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DE7461F2327F for ; Tue, 16 Jan 2024 09:51:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15F021756C; Tue, 16 Jan 2024 09:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="IzVl8V+8" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 04170125BC; Tue, 16 Jan 2024 09:50:27 +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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40G7xBZW006658; Tue, 16 Jan 2024 09:49:45 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=wQAX+VhAFdlMCGP8X0aXUlSO5dSynGBqLOMB5EIi+c0=; b=Iz Vl8V+8rellap5+ZCBBWVu4RT5fxmQ5cybHN0TztDyoyQi7Q6yk+U/IOhSOQc4Uf3 5BEDzGGkfJRWz9AN3XTa5Li7JbyVYD+eEJlMY3H/02uW9vi08yDKY3WUUQJTV5N6 rI/HPqwDgl07dpr/bwlbrM2yOfZ8VGy8FM7l8Ks/FA0I4ICkpXAoJjlJplxSgIiW s4CGLVn0u7cUUHXXuvlDbiq2evMa5xPOinbSEAb7RpY4lHtEjmyAcamKLTTZmDg0 5QpXoIRY6sQCekkOfZt3SRp1db0UJlRotHuZn1muDLWdsKXBbGBtSsoW2EJjg1+a A6q7vqea6N35wuZG/BGg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vnnvbg6wc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 09:49:45 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 40G9nfs0006270; Tue, 16 Jan 2024 09:49:41 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3vkkkkmgev-1; Tue, 16 Jan 2024 09:49:41 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40G9nfIj006250; Tue, 16 Jan 2024 09:49:41 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-riteshk-hyd.qualcomm.com [10.147.241.247]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 40G9neYq006247; Tue, 16 Jan 2024 09:49:41 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id A6ADB601957; Tue, 16 Jan 2024 15:19:39 +0530 (+0530) From: Ritesh Kumar To: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, arnd@arndb.de, neil.armstrong@linaro.org, dmitry.baryshkov@linaro.org, nfraprado@collabora.com, m.szyprowski@samsung.com Cc: Ritesh Kumar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_abhinavk@quicinc.com, quic_rajeevny@quicinc.com, quic_vproddut@quicinc.com Subject: [PATCH 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Date: Tue, 16 Jan 2024 15:19:35 +0530 Message-Id: <20240116094935.9988-3-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240116094935.9988-1-quic_riteshk@quicinc.com> References: <20240116094935.9988-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: SEevayCsF1JDhR8GJCr30yUJJZMM-uWv X-Proofpoint-ORIG-GUID: SEevayCsF1JDhR8GJCr30yUJJZMM-uWv 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 phishscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 mlxscore=0 adultscore=0 impostorscore=0 suspectscore=0 clxscore=1015 spamscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401160077 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: 1788240117365487894 X-GMAIL-MSGID: 1788240117365487894 Enable Display Subsystem with Novatek NT36672E Panel on qcm6490 idp platform. Signed-off-by: Ritesh Kumar --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 100 +++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 2a6e4907c5ee..efa5252130a1 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -9,6 +9,7 @@ #define PM7250B_SID 8 #define PM7250B_SID1 9 +#include #include #include "sc7280.dtsi" #include "pm7250b.dtsi" @@ -38,6 +39,25 @@ stdout-path = "serial0:115200n8"; }; + lcd_disp_bias: lcd-disp-bias-regulator { + compatible = "regulator-fixed"; + regulator-name = "lcd_disp_bias"; + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5500000>; + gpio = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + pinctrl-names = "default"; + pinctrl-0 = <&lcd_disp_bias_en>; + }; + + pm8350c_pwm_backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pm8350c_pwm 3 65535>; + enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_lcd_bl_en>; + }; + reserved-memory { xbl_mem: xbl@80700000 { reg = <0x0 0x80700000 0x0 0x100000>; @@ -420,6 +440,86 @@ }; }; +&gpu { + status = "disabled"; +}; + +&mdss { + status = "okay"; +}; + +&mdss_dsi { + vdda-supply = <&vreg_l6b_1p2>; + status = "okay"; + + panel@0 { + compatible = "novatek,nt36672e"; + reg = <0>; + + reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>; + + vddi-supply = <&vreg_l8c_1p62>; + avdd-supply = <&lcd_disp_bias>; + avee-supply = <&lcd_disp_bias>; + + backlight = <&pm8350c_pwm_backlight>; + + port { + panel0_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + remote-endpoint = <&panel0_in>; + data-lanes = <0 1 2 3>; +}; + +&mdss_dsi_phy { + vdds-supply = <&vreg_l10c_0p88>; + status = "okay"; +}; + +&pm7250b_gpios { + lcd_disp_bias_en: lcd-disp-bias-en-state { + pins = "gpio2"; + function = "func1"; + bias-disable; + qcom,drive-strength = ; + input-disable; + output-enable; + power-source = <0>; + }; +}; + +&pm8350c_gpios { + pmic_lcd_bl_en: pmic-lcd-bl-en-state { + pins = "gpio7"; + function = "normal"; + bias-disable; + qcom,drive-strength = ; + output-low; + power-source = <0>; + }; + + pmic_lcd_bl_pwm: pmic-lcd-bl-pwm-state { + pins = "gpio8"; + function = "func1"; + bias-disable; + qcom,drive-strength = ; + output-low; + power-source = <0>; + }; +}; + +&pm8350c_pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pmic_lcd_bl_pwm>; + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; };