Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4985385rdb; Fri, 15 Sep 2023 20:43:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFf1l2RzYE1Z4gI8PDSuQ5ecp+hjyidSu32iIjQhnQw8GILbEw35xrxC1mjRRh85pYUCL+X X-Received: by 2002:a05:6a20:440d:b0:15a:3285:e834 with SMTP id ce13-20020a056a20440d00b0015a3285e834mr4301367pzb.4.1694835789658; Fri, 15 Sep 2023 20:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694835789; cv=none; d=google.com; s=arc-20160816; b=uLcpVeOJf53YP2NVTKZy8+ODZHyOKJwP6o7/jFQ5qvURggCxXriJAl6c+gyFIldRL/ G60fP/3ttX4OczRNNvMXvzXCaQjxEnf0f7hfipjzbls/iPGxbWKdn0Gaq1cmIGHkMFEp utZR4/m5YgPQQ61jp0z64NJYKT6ay0pwQpayd1mLXENCWVCYepCytee/LSzhj1T96pAz oLizu2JohEniN7NNI9MIwsGffsMbFct2t3ye7KAdLUypfJf9IGDDy3v0/KgVvA81IxL/ 2fj5NB12ZXNrfBUefzsDqqIWBsvVuxC5fIwhjBI2CDKRXTFn+JozxGoHoVLqvVs0W9mB YNkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YaIhyTwd65Ep3+ss30ZCSQRNxKPlbSI/5fE+GHse75U=; fh=WyFMJiOsPnAFSNiaRKDJUr3QLeL0EjB5fGv5zZ2Xgpc=; b=kdcAkL/NCSSmC91jwleINnq0webEoTnUkUsF/AJXfnwFjsSEoWkBQ90WUiBIv065lR ykg2sk9QakWck88Dd/JGSQG2V0xu1kmxGHMrIA2Qm8YolX0LOAB0wbo/HrVaL1SLj5ov lpsBsbRmWe1/Ccq1m2YC40AjgKT+IuC7e5xeSGWZS7EOZfYWg+FVCO1DUXGpLOm51UKQ hehTB7fVPt5iUccYmiGxnziIOyMtgb+SfVuURuMPvJS5CC/SGqpkM5/d00xw5tUrGX1T 9XjNK1x0GHDquLkT99cBu/4NIQB+0+UVeV8RktkhrDCNkM2+p91gZBQeV6MThXEqr8lW 3GZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VrPB4QP7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 3-20020a630203000000b00565f6741e60si4151881pgc.695.2023.09.15.20.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 20:43:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VrPB4QP7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9801F8588A47; Fri, 15 Sep 2023 14:52:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237390AbjIOVvL (ORCPT + 99 others); Fri, 15 Sep 2023 17:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237835AbjIOVuv (ORCPT ); Fri, 15 Sep 2023 17:50:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 169B0139; Fri, 15 Sep 2023 14:50:46 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38FJptK3025396; Fri, 15 Sep 2023 21:50:18 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=YaIhyTwd65Ep3+ss30ZCSQRNxKPlbSI/5fE+GHse75U=; b=VrPB4QP7HJ0Sr0DzopY9VMK3ePM6jC9vQFUoz/zSa1hh7qodC5r9Ia4TkwdDoGSE/K5b ZmzabUlmRpozSzeTUbm5Vff8IlhqAR1Ok8vUlIsoeMdcgvwz9qdG1hps2KQFx7x1ygcY 46fIGOJK8nmLp7n38czjTa/NKz+gTnZ+QDkBvBRumdC/HUx7VrilE5re/X+DcChUEcT6 hGxYYOo4A6EjwJRirICYAqg0ICwGvpknKDgmU3PCCuDIma2nL5F22VPZ2+cA5vd5vNHG 8wpcmEOvDw9RFolg4wWxnHL/M2c8JkjI3LjGLTeSfRh0kyEtE+aLmTyG7Ry2Xi3Do3CG FQ== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4vwc0cf3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 21:50:18 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38FLoHEw029152 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 21:50:17 GMT Received: from [10.71.110.254] (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.36; Fri, 15 Sep 2023 14:50:17 -0700 Message-ID: Date: Fri, 15 Sep 2023 14:50:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 2/8] drm/panel: nv3052c: Add SPI device IDs Content-Language: en-US To: John Watts , CC: Neil Armstrong , Conor Dooley , , Sam Ravnborg , Chris Morgan , , Jagan Teki , Rob Herring , Krzysztof Kozlowski , Shawn Guo References: <20230911090206.3121440-1-contact@jookia.org> <20230911090206.3121440-3-contact@jookia.org> From: Jessica Zhang In-Reply-To: <20230911090206.3121440-3-contact@jookia.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] 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-GUID: jZyOm69phZhMkFV-iM1kJB4ylEpIvXL4 X-Proofpoint-ORIG-GUID: jZyOm69phZhMkFV-iM1kJB4ylEpIvXL4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_19,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 adultscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309150196 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 14:52:10 -0700 (PDT) On 9/11/2023 2:02 AM, John Watts wrote: > SPI drivers needs their own list of compatible device IDs in order > for automatic module loading to work. Add those for this driver. Hi John, Reviewed-by: Jessica Zhang Thanks, Jessica Zhang > > Signed-off-by: John Watts > --- > drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > index 589431523ce7..90dea21f9856 100644 > --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > @@ -465,6 +465,12 @@ static const struct nv3052c_panel_info ltk035c5444t_panel_info = { > .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, > }; > > +static const struct spi_device_id nv3052c_ids[] = { > + { "ltk035c5444t", }, > + { /* sentinel */ } > +}; > +MODULE_DEVICE_TABLE(spi, nv3052c_ids); > + > static const struct of_device_id nv3052c_of_match[] = { > { .compatible = "leadtek,ltk035c5444t", .data = <k035c5444t_panel_info }, > { /* sentinel */ } > @@ -476,6 +482,7 @@ static struct spi_driver nv3052c_driver = { > .name = "nv3052c", > .of_match_table = nv3052c_of_match, > }, > + .id_table = nv3052c_ids, > .probe = nv3052c_probe, > .remove = nv3052c_remove, > }; > -- > 2.42.0 >