From patchwork Thu Feb 15 10:39:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 201374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp316222dyb; Thu, 15 Feb 2024 03:03:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+Hh35qczPAavRL7wUbv0v9pj/dpbIhRCn7NpdBs6YpkFEKilxegck7oM95+sj456su9UontE91uaptu++V4K6ZvVuPg== X-Google-Smtp-Source: AGHT+IHFKDrsuylSncm1Lp8uodKr0Zc5+eSOSXri9Y47KuT3mTbG6fHOWyvn2KxiuQ3bxbXuIQoz X-Received: by 2002:a05:6402:214a:b0:563:bd95:4e8b with SMTP id bq10-20020a056402214a00b00563bd954e8bmr576728edb.11.1707995003274; Thu, 15 Feb 2024 03:03:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707995003; cv=pass; d=google.com; s=arc-20160816; b=cYIY8bIlH7cgZKMsS/z4854gu4qvswwZrJ0vf1u0bKAUUkmwt6qvtbjGjGtm37eS33 MH/CHPZV4GtoI2E5WPZFB8u2YkgnEDJvgWqHRcg90Z2MXm0oqSUfHHFf39ZmSFnpcXaL qgcxw3magJ3djJxWqcECkgialFd0KeQDIUFwrtXggXhk6zJJ58RnkYDn2Gzp0ecrgph3 dHPxsG73lERpQa5ecb9mdTsRmylpVL4RZaoYiL6pnL0UDSEOgmcvFjbUNmouFt0JtAwO dLddkQH5myJgQ92ygcD96amALabieI5s/P3vWx3Sbg38bmgX+jLvWri1QyvBu039bYYf zuwQ== ARC-Message-Signature: i=2; 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=fDL6ctTBT49t7F89xPo7fsaVbpPTPfKQcC8flQfsg6U=; fh=WZstEXrC2jNs8p3PSpHSsjyFV5KU9tdEQ7/SGaoa91s=; b=Y9dKFieo33OmhAS9G/ztXBikAhijiQ9rafzkw8X4cjo4Kn6WPoAstMIXBIdA4joRq+ xZ2ulT/Qhh+bS6btaHVuVJpsPO4GFysBJv5kMD2luSLrmdGkOPyB+n7LEZhF9ArwUFCX pxJV0BiPwa6lz2yJEKN/f86F1DFDKNj16RPl6siC0koF3Vhy4Jqhgx5W3TpGmdT3JRfj e+zOxNRf6l0ZGSXXGRiIUm9OfnwOOhts5SOQwfgK1Of78QpjOPTmOljfoYmwAlpDNIpI 6I4l14aHiKkf5IqbJQYP5gwMb8Z8cabMIrdTeecaCZhfJ8+TGNtNYj751itDzxLkN9R3 g+9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fd7E7WJk; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-66684-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66684-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 x20-20020aa7d394000000b00561b9f3d96fsi554563edq.315.2024.02.15.03.03.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:03:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66684-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=fd7E7WJk; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-66684-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66684-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 460151F277B2 for ; Thu, 15 Feb 2024 10:52:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61441136993; Thu, 15 Feb 2024 10:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fd7E7WJk" 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 F1E0D13173E; Thu, 15 Feb 2024 10:39:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993599; cv=none; b=IXLrF7xFuC00GYfyD1WQ52/UmU9P1Lo//gPkEJn8cIgdbn3n4EdGLwmGfW9mpNswTMjQ8HWTaR01AsIL7P7zwDdJI2rD8oSq4S2hhuPYOkxhsFr+slTuM42WE60NPLJv6ml/tRQz7EEg2zWNUJcRNbtWMbhE0b0qM+aTbmRUiB8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993599; c=relaxed/simple; bh=t8bXMatBYlUJy5S0mx0nbqiMsa4qyC+vDky2PSwN7Wg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=XIXbKTKMisLm2Qf6CFePOUgK+FMPc8sjQVT6isWU8uNXxpLc4bzrLKth2v+wijNvEpvn02PpcCmxHagZbdhRKiZ5Vvk3stFMX4SxTVWRv1o+pVCf7w+5kNsiK0fssBtk1FHR+zYFqqwkK+vy6/N+FkCNAW9sseMmZ7sni/I3ySk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fd7E7WJk; arc=none smtp.client-ip=205.220.168.131 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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41F7KtDO008705; Thu, 15 Feb 2024 10:39:38 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=fDL6ctTBT49t7F89xPo7fsaVbpPTPfKQcC8flQfsg6U=; b=fd 7E7WJkkpsfopCda1Rk6qssr4aFABGM21stJbuzH8US0Ry1Xz+bsd8UYNojk0l6sL fMFZE7ZrUr7dW4M/5jR7vjRgZVWu2qVkSitv1haehP5kxAINEVnPlb8R1ZCLnAd6 6dy4ZePNBxDfxjHpgwQg8wmcT72DgqP+fX6qg6JsjKOl5BK09DAENQtLiJrbnQfE Y3iLDOm+iBfQhMGy0nD+gfKxDA2HeEYzYwHJxhOAKGfVBqamPPFXyGfQNLk+d0gl XIgH9vVAnNvffeQprxC6kvLQRxaCEuYmA0Dto+cKGPOeNPnQhb+i8BgkoKla5sD3 x2XtKS7SRGJIsEaM1XrQ== 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 3w9e4h0c45-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2024 10:39:38 +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 41FAdXKo013845; Thu, 15 Feb 2024 10:39:33 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3w627mab7c-1; Thu, 15 Feb 2024 10:39:33 +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 41FAdXhN013829; Thu, 15 Feb 2024 10:39:33 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 41FAdXsX013825; Thu, 15 Feb 2024 10:39:33 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id DD6EB601430; Thu, 15 Feb 2024 16:09:31 +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 v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Date: Thu, 15 Feb 2024 16:09:28 +0530 Message-Id: <20240215103929.19357-2-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240215103929.19357-1-quic_riteshk@quicinc.com> References: <20240215103929.19357-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: zMKGOwMQv_HZRi58NyaWg-VZiQWTRGjI X-Proofpoint-ORIG-GUID: zMKGOwMQv_HZRi58NyaWg-VZiQWTRGjI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-15_10,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 impostorscore=0 adultscore=0 mlxscore=0 phishscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 bulkscore=0 mlxlogscore=766 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402150084 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: 1790962568222039368 X-GMAIL-MSGID: 1790962568222039368 Build the Novatek NT36672E DSI Panel driver as module because it is used on Qualcomm qcm6490 idp board. Signed-off-by: Ritesh Kumar Reviewed-by: Dmitry Baryshkov --- v2: Fixed review comment from Dmitry - updated commit text. v3: No change --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b8adb28185ad..e1f0045a65de 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -863,6 +863,7 @@ CONFIG_DRM_PANEL_SIMPLE=m CONFIG_DRM_PANEL_EDP=m CONFIG_DRM_PANEL_ILITEK_ILI9882T=m CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m +CONFIG_DRM_PANEL_NOVATEK_NT36672E=m CONFIG_DRM_PANEL_RAYDIUM_RM67191=m CONFIG_DRM_PANEL_SITRONIX_ST7703=m CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m From patchwork Thu Feb 15 10:39:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 201425 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp339191dyb; Thu, 15 Feb 2024 03:49:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVphv7LHudU4HugVvG9lK6SASc6w+4JvVspmtRyP8om/6ZYD07g88GT0yIuzdDHGgE3FglJbMhVpC5zGoR9b9cpQIl5fQ== X-Google-Smtp-Source: AGHT+IHOayH+/Uy1ISArucxILufr82JWzx4bBi+jWW+eLifgstzh8PP+wtGEBYe9s8fEOPqA0cC9 X-Received: by 2002:a17:90a:eb15:b0:299:17a7:c441 with SMTP id j21-20020a17090aeb1500b0029917a7c441mr655408pjz.42.1707997787673; Thu, 15 Feb 2024 03:49:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707997787; cv=pass; d=google.com; s=arc-20160816; b=Om4zvOZwK+oAFs/YNaBm+7DXJtkDHSffDnWSflYQmALvkA4oWWeEPL+5TcmIcVgeGZ LG8GkSWAUO/iS2hLimBm7QrxKwRnQKLNVQW9SS1KR2BVO0Pe6Jo7ZZ2fEyrPcBg0Y6hd Bxj1NNvZsQbqDtgC1Mibux38noSjqzQDC55vP5AhoVbg3dM6Jt6dnSawRMWG6148zjkW 4qCNscqtvU+iv2SR+nC10D6rBwc3m52udiBYoHBSYO5of/u121OBDcKm0C7lJVO1iGs8 L0ySmxdFufwDl3F6eA5G2S7fvKKqPyZkAZFDVo2FE7ULLsKcG5t3mo436c3kAwniscef qxWg== ARC-Message-Signature: i=2; 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=nqQ2C714mkmBgSBS/ZClViH3gWgHWlEzu2KUBDeXZfY=; fh=WZstEXrC2jNs8p3PSpHSsjyFV5KU9tdEQ7/SGaoa91s=; b=lsMnxdjUOUhKI+sBggQEevhxBRDguaAszG6FRc/6TJqEtWb4Zyy9LKmIzcfSJmRkWA LmzFwgHv7dFfQvtLXu9PUfKRMkoSar8tMOcvadvXOzuY0Caw9GV/jMRa11fSJvxgCpjs n9QY9b/FJu51WryGg5XpRK9iEMFjg8K6OOyiE49TjbojnI0DGtq6ZgG3Mh+N731/ttfY 7yZa2dHqlpny6rsn7v8pv0Ec5ka/VF7SuXfn5nn6tXZXoxHRdkvDkGuTOeVus1PK8PVr MEhmhIYfu2eI3oy+0wFHi3B6AY76VNKxfM4y/2k3zaIHOyrCt76QIzF7RIiXyQKhiH5Z NJug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UzvQjEur; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-66685-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66685-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 px1-20020a17090b270100b0029895ac67d0si1124972pjb.105.2024.02.15.03.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:49:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66685-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=UzvQjEur; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-66685-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66685-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 D45C4B38447 for ; Thu, 15 Feb 2024 10:53:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F12E71369A7; Thu, 15 Feb 2024 10:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UzvQjEur" 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 F2B78131740; Thu, 15 Feb 2024 10:39:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993599; cv=none; b=oWQpeAo+jXXUyDWv8XCENA15B1QOvhSna9v/nk9Lhsqz+go5aKRNty60zbsHHOw9ceIR5wEynLWN2sLCq0uVe3DQTUXPZeVuX/biD4XPkOW3Bc93Vgl+Hk9aUIYEfuyWDShvuYLuEgmll1NJNb4C6EElFig6WBr9yWzRf5APKZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993599; c=relaxed/simple; bh=PWvpQJPxH3xmC8dQKZixZdp+i+vn1PGn7VfkDpTt55g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=vA3VBMFLvadwYFx0Z4rZEB5U/XothujyO4XDmFbK1fuhBb8KIRTZpCnTtYO/iuOJNDN+qoQQxaQo/VgNbWpPkSiSKAaY3YEec68KMEcrejzoxRhwM77FmcJa32Nh50Qb5HEDp+Hx1lC0DhOrEXR+fWm3093lbs5uZVGBQwfgssc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=UzvQjEur; arc=none smtp.client-ip=205.220.168.131 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41FAM7sw031367; Thu, 15 Feb 2024 10:39:39 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=nqQ2C714mkmBgSBS/ZClViH3gWgHWlEzu2KUBDeXZfY=; b=Uz vQjEurdou77XyMh5cZhpcJfaVac/WwF9bvxlqGV5QZBFMTZGScRU4w0q2VgGEcYH 9lctyJoEH7yFyO+7YsUG9kfxBdTXJ+g2JKRETqhr3WGJgL73w7zJC8I6rmr3jqM+ saonZsKJjt5oBssfxRLajkmtSLa0xPEoqAsdsF+dT1NsIppGBVp/ZDT2fE++RGa3 RWL1+c0YbTjUwzQAhp/SJXbHrD4baiA4NtSSkmKjkYP9EjeEYaq/bQ9UoK11yRLl TxihFe0d5IGHR3JR7oQyxFVMrzc12SqVqUnjJRHyxLW8LwVm88oteNT7auRcGepz 0rhG6eoKnM7XU+rN+0Og== 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 3w9342hjmd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2024 10:39:38 +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 41FAdXBx013846; Thu, 15 Feb 2024 10:39:33 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3w627mab7e-1; Thu, 15 Feb 2024 10:39:33 +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 41FAdXkM013834; Thu, 15 Feb 2024 10:39:33 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 41FAdXTT013826; Thu, 15 Feb 2024 10:39:33 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id E0D5E601431; Thu, 15 Feb 2024 16:09:31 +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 v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Date: Thu, 15 Feb 2024 16:09:29 +0530 Message-Id: <20240215103929.19357-3-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240215103929.19357-1-quic_riteshk@quicinc.com> References: <20240215103929.19357-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: SKuUTy1KAZjSvVts8D14l_l3ZTjT8FpH X-Proofpoint-GUID: SKuUTy1KAZjSvVts8D14l_l3ZTjT8FpH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-15_10,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402150084 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: 1790965488190596198 X-GMAIL-MSGID: 1790965488190596198 Enable Display Subsystem with Novatek NT36672E Panel on qcm6490 idp platform. Signed-off-by: Ritesh Kumar --- v2: Fixed review comments from Dmitry and Konrad - moved pinctrl-names after pinctrl-0 property. - removed gpu disablement change after validating gpu. Rebased the patch - rebased the patch to resolve conflicts. v3: Fixed review comments from Dmitry - renamed panel supply to regulator-lcd-disp-bias. - moved backlight as per sort order. --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 92 ++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 502a5a383bde..6d6506726827 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -10,6 +10,7 @@ #define PM7250B_SID1 9 #include +#include #include #include "sc7280.dtsi" #include "pm7250b.dtsi" @@ -35,10 +36,29 @@ serial0 = &uart5; }; + pm8350c_pwm_backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pm8350c_pwm 3 65535>; + enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&pmic_lcd_bl_en>; + pinctrl-names = "default"; + }; + chosen { stdout-path = "serial0:115200n8"; }; + lcd_disp_bias: regulator-lcd-disp-bias { + 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-0 = <&lcd_disp_bias_en>; + pinctrl-names = "default"; + }; + reserved-memory { xbl_mem: xbl@80700000 { reg = <0x0 0x80700000 0x0 0x100000>; @@ -421,7 +441,79 @@ }; }; +&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-0 = <&pmic_lcd_bl_pwm>; + pinctrl-names = "default"; status = "okay"; multi-led {