Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp572573rdb; Thu, 15 Feb 2024 08:36:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQu7dfNkeDDfWocnpGlKfaxwX2n1K+EOiVP5v+Q2PoVTnxnky1mXAPWJVcmPg8KlT+eZrF8vCCGkonKS7AncTIj6jZ7n3N+8bhbT1efA== X-Google-Smtp-Source: AGHT+IFGZxkvwNv6cp2Oqk9L1S63/pfL4om6298t71tpXc7QZ6nXZNq8JGo/op7kOHgVt2PBq1qr X-Received: by 2002:a05:6358:758e:b0:178:c57d:8f4 with SMTP id x14-20020a056358758e00b00178c57d08f4mr2577310rwf.4.1708015009730; Thu, 15 Feb 2024 08:36:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708015009; cv=pass; d=google.com; s=arc-20160816; b=Mz2UaaCzaXHjoOFwcH5ru/C7SZH8lWkvzeFdriiZKy9e4nI0ZrMmqd48mP2cBBNv6F KOdISQXXYCQ5ZqYPjMyEwDuvDADglyueg0GqTo2W80/NjYTtzN/z8duf5i634f9fJER7 Eemv9H+hUasIHPz9gHjJ0tGW/b3Jbj4x+JyacgvIZ/8CSeAjdnIGdMFYVkoFjJbR0DC1 5JFvqIyFfk0JwKkBQR0K96krl8leytPVvNIdw22l2g+0m9q9ixIH9DmOZyOQwst5vTos KrMUsGA0Nivool8vnGTE24RJM/vPyuM+RzQT4r/2sQ1mvUNZ+UqbSbfshZgYbHbWXVa0 7DBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2Z2TB9HMc/XqBevRu67UWw4yo4bEz0HNufbBYufQook=; fh=1Gz10hm/3BGtWhiFcT+hANUqvAl3vuHN3TICAA/QclE=; b=mkPFLRykDmiSg9f7GHU3nXNKSy4gzGJnhP5QwHhtNrXmM7oomgn/o1tZcrdtMYbj8M 22sKoHsCc0YvVEF9IR1yfxZjnM23lRHhX6X6eUTnXHMYP6HixEQaYRMTyNQYZQ/W1W+M dlRXnpmqY6B1GtZR1LtamlYlaufbskUwJW4qtg09s4462Hzs91p7SrkIa/tnKlJgCaUO i19/Q6uKjJ2Bd+uUC8Nm7JBOz5kHc8imaQD0mrXoMFFmLkrIXWK9gQx0Qf6cvDNQbZR0 9lMeGgWMSa1rmgYw9/vSdWbOkhgiX0AvT1f5SO8SzPtqgaufHGuHhO+Ok1l/ZPzKVPya 8Xjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QazWVB4P; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-67306-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67306-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k15-20020a636f0f000000b005ce05e5d57bsi1372877pgc.574.2024.02.15.08.36.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 08:36:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67306-linux.lists.archive=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=QazWVB4P; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-67306-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67306-linux.lists.archive=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 AA8FB29142B for ; Thu, 15 Feb 2024 16:26:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7990D134734; Thu, 15 Feb 2024 16:25:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QazWVB4P" 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 45C71134743; Thu, 15 Feb 2024 16:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708014355; cv=none; b=e0SpvyzPQ7wDvbR4sZyTm1uuIAV4yUAifqtwnWTtdl2yb7kuCyV1qnO+YU4URVONZBJ9srmvfrhf62bDeoDmTemY/GTubOmcsZ18iKCMrrUoSIrC6do7dlkogpdJZFB3rqhShSHsXK0okqAVj3C4ZhUV0s+YfcpM7UYiIupRORo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708014355; c=relaxed/simple; bh=VSAALJp4MFaIgFzqjLLc6BeLPyT7H5C4A+EO6BbIRzM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=rHQRTYfvc4XHIroqR7eQNLaNvxg2qxc3PdsuXKS9zuJwsqHxEgx4V/v1URbsSIsy12rIh6WHTicLaAMF+5Xgh8twv181EBuMmaMdIKDimr9r3hGWn3tDJrhxMud71EinChhEdDD2i9CZMUhYeyJGOVShOWF9HIXd+u5Xhd7pdDo= 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=QazWVB4P; arc=none smtp.client-ip=205.220.180.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 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41FBfcDE002449; Thu, 15 Feb 2024 16:25:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=2Z2TB9HMc/XqBevRu67UWw4yo4bEz0HNufbBYufQook=; b=Qa zWVB4Plwn5QYzPoDSce+5P7tJRoq5Rs9A5yqLbnNwDN68bwyHOi6PGQDEhfBrAWv 9cZBYHLdek4zigR4bB653tZmodepZShH8afgaS/2aksdm/Te3Zg/GWK/280tpIYu MyI7qCT6GAXI/xse+IUPUMBkD1rwhVZJCvPkZnnlDgmD24xRLGUQMKFhQARTRjDZ +R7Hh+q5P1eZBa8iKbrD/9T9w4Nahp5h+n8ui+2v1z93O8eUjfN6x8r6NxvCp7V/ IuK4VpDJcilPAdwttIUVni8BEmvuD3oD/mSQLYUy4GoLGTpdEuEPNXxgcN3vPEwF G76wS9sOiYzeryssWFTA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w9bfs1m9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2024 16:25:30 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41FGPToN023623 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2024 16:25:29 GMT Received: from [10.71.111.207] (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.1118.40; Thu, 15 Feb 2024 08:25:29 -0800 Message-ID: <74b6c3dc-6add-414c-8056-3dcb94b12cd7@quicinc.com> Date: Thu, 15 Feb 2024 08:25:20 -0800 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 1/3] drm/panel: ltk500hd1829: make room for more similar panels To: Heiko Stuebner , CC: , , , , , , , , , , , Heiko Stuebner References: <20240215090515.3513817-1-heiko@sntech.de> <20240215090515.3513817-2-heiko@sntech.de> Content-Language: en-US From: Jessica Zhang In-Reply-To: <20240215090515.3513817-2-heiko@sntech.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: LZfVm8segKP6sX68vyDuaTOJKWkKYxEo X-Proofpoint-GUID: LZfVm8segKP6sX68vyDuaTOJKWkKYxEo 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_15,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1011 adultscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402150133 On 2/15/2024 1:05 AM, Heiko Stuebner wrote: > From: Heiko Stuebner > > There exist more dsi-panels from Leadtek sharing supplies and timings > with only the panel-mode and init commands differing. > > So make room in the driver to also keep variants here instead of > requiring additional drivers per panel. > > Signed-off-by: Heiko Stuebner Hi Heiko, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang > --- > .../drm/panel/panel-leadtek-ltk500hd1829.c | 73 ++++++++++++------- > 1 file changed, 47 insertions(+), 26 deletions(-) > > diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c b/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c > index 39e408c9f762f..42f4e2584af18 100644 > --- a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c > +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include > #include > > #include