From mboxrd@z Thu Jan 1 00:00:00 1970 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 208EA8F47; Wed, 26 Jun 2024 20:51:11 +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=1719435074; cv=none; b=KmAx329zvs6krgfOpQ5O+eeSq3oOOhO8AFrcFEtbyiVKf2z8rmQe/cpZ6reoMkoNoSDaKnBYQTgCo6KpCXbFrQxGWAqrF+tzJU0e1TqWn7N98cDSXly9wdWFrDEVFKKjuoypt9PI60oLM5YAbfvIr0Q1igjJRI71w76zSrzWMVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719435074; c=relaxed/simple; bh=Z1UXmJYxjBQZXMM6c0cEgG54V4OQgHKpY7QuFujjkXg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ahRuStRRrOVvaW/h+POtRg4+1EHDdQWlNs2nZMU/Oidq4CmXn+Qe8V6KfCCcBLhBB7AoQUPH9thuJo94yyW9mn4OpAujtxSceClv6Ft0jazUk9kq2Z5kz0t+ClVbNz3ebKG5P2IlHuQ+DCKXhoP3CJbjofR6ZDbOeoGOmfvKUlE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ZuoYGrM/; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZuoYGrM/" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45QAfQsH023291; Wed, 26 Jun 2024 20:50:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= eGkcYlZ1hrDD6PGQ9acEff1OOTfcgPlVrlfbopl6WXQ=; b=ZuoYGrM/l/zSjDXy ei7miM8mkBrS1KzfB7HfbbfFtFCGYbIZbwSmCEuJX93E0csz1T47wsWaPLT7MbOg RrEgzX2QgAlBZL70RUisekO0UMphevYrPbV1dU3C6h26VeA+3+RgAH3Pu78880DO Gcr/E7zrWBlvk62EPSnLhCibJIBJpCPuylQSGCsddvB+TEPWSrj7B2MPVYShX3fd hI+2DQvzBMLGBW7nBuJi9RSX/TcgNpxUqdRBZlhrfeg8dO/2qxsz8NsIfKMdPnCr +qeK0iJ/m1bRecjZ1UMpwY4HDrrBY5wzrOpl+y3CCVoy/QOwqeCp15/8w/U4vn1L kJ2xoA== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ywpu1a5f9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jun 2024 20:50:56 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45QKotd1014257 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jun 2024 20:50:55 GMT Received: from [10.71.108.229] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 26 Jun 2024 13:50:55 -0700 Message-ID: <77f511aa-039d-4b01-abad-30f4e2cdcc07@quicinc.com> Date: Wed, 26 Jun 2024 13:50:54 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] drm/panel: add Ilitek ILI9806E panel driver To: Michael Walle , Neil Armstrong , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Baryshkov CC: , , , Gunnar Dibbern References: <20240626144433.3097793-1-mwalle@kernel.org> <20240626144433.3097793-3-mwalle@kernel.org> Content-Language: en-US From: Jessica Zhang In-Reply-To: <20240626144433.3097793-3-mwalle@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: td0yIwrjBt9m8GLdWYJXQ8HgtZBsVxSC X-Proofpoint-ORIG-GUID: td0yIwrjBt9m8GLdWYJXQ8HgtZBsVxSC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-26_13,2024-06-25_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 clxscore=1011 malwarescore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406260153 On 6/26/2024 7:44 AM, Michael Walle wrote: > The Ortustech COM35H3P70ULC panel is based on the ILI9806E DSI display > controller. > > Co-developed-by: Gunnar Dibbern > Signed-off-by: Gunnar Dibbern > Signed-off-by: Michael Walle Reviewed-by: Jessica Zhang > --- > MAINTAINERS | 5 + > drivers/gpu/drm/panel/Kconfig | 9 + > drivers/gpu/drm/panel/Makefile | 1 + > drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 402 ++++++++++++++++++ > 4 files changed, 417 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9806e.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index e2d8fdda1737..61352f26f2d9 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7003,6 +7003,11 @@ S: Maintained > F: Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml > F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c > > +DRM DRIVER FOR ILITEK ILI9806E PANELS > +M: Michael Walle > +S: Maintained > +F: drivers/gpu/drm/panel/panel-ilitek-ili9806e.c > + > DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS > M: Jagan Teki > S: Maintained > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index bf4eadfe21cb..904a928bc60e 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -205,6 +205,15 @@ config DRM_PANEL_ILITEK_ILI9805 > Say Y if you want to enable support for panels based on the > Ilitek ILI9805 controller. > > +config DRM_PANEL_ILITEK_ILI9806E > + tristate "Ilitek ILI9806E-based panels" > + depends on OF > + depends on DRM_MIPI_DSI > + depends on BACKLIGHT_CLASS_DEVICE > + help > + Say Y if you want to enable support for panels based on the > + Ilitek ILI9806E controller. > + > config DRM_PANEL_ILITEK_ILI9881C > tristate "Ilitek ILI9881C-based panels" > depends on OF > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > index 051b75b3df7b..12ce91416849 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -21,6 +21,7 @@ obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o > obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o > +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) += panel-ilitek-ili9806e.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) += panel-ilitek-ili9882t.o > obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) += panel-innolux-ej030na.o > diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c > new file mode 100644 > index 000000000000..e4a44cd26c4d > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c > @@ -0,0 +1,402 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > + > +#include