Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp260514rdb; Mon, 18 Sep 2023 14:22:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNVFOX2C9phyXEAASNkVnGQRQiErCAEKurwFz9KBkQoOHUgPiZXUe09zLrsR5Dvhbd0vtc X-Received: by 2002:a05:6a21:18e:b0:13a:12c2:359e with SMTP id le14-20020a056a21018e00b0013a12c2359emr11774150pzb.2.1695072141593; Mon, 18 Sep 2023 14:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695072141; cv=none; d=google.com; s=arc-20160816; b=CVL+yMq/JqdLcM+kfkl59PFVYik2bIpFInsOgIFACYAzBnUfQMPwrnLvuqaWt/zDY2 Pm2T3m7/xHc3DACwKX6ufrSKAjPBTMmY7ZJHBIS0ggQ+uJmviNBfCtejxF9BP3auCdpi GzceYVxf+Y9YSqQ6CI2Mtks/D6AEI9Jl9I3EMaEBE00VYJx3r53g5uicXtaF6EvrIT5w ULGmRCdMn6ExpLnR3QNj2ls6cCil4Z2jqpV5zk2Kzc+CRKuCsbnnN45jCuILrSMmcAry BGxC+NgbD+f1E0oD+BNJrIWKWJ319Uhic6lUhIoUOKN3+HKZI1sXPkIiE56V/QsUbM0J SLMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N/ff6X+NOYVbrocTBpgld9JVVmEwtIn+hGTJSAUql5A=; fh=5op+vZ8ZrQJmWba1Le7ulO5lcdsd3PPtOBYLc/nCXxw=; b=XCMGGLxDtcMUyYz3/dyN4LIm1M+MkKGAj64tX3GAnh+Md2mXJ9sD5N1K7271XrX3O9 wHJMPSpcn3gC321ZdOLnULykW6aM1ekQHRZFUJA+irZIAY5u3d6Qds+3TnAweAtcIzJ3 9q8ZvQ5t5qm2WYAAQoud4aUhIqHDvI7PZFdvKWHMLOd9/luOBbzZJJr/UF29O/fgWsoo 003uSgrj0hLKAhQhF3aG2sbFXh9zE8wDQ9yqMQRUNahGRI8QdX4KYvXIPT6MSNarwbiW hcdsFo2A+wt/hdoNyMUwM3XoERfv5r40WfkqjzyfweZfFHQyOxVUw1vzvGXsMYPL8sE3 kJ5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=xU2gCXcZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x41-20020a056a0018a900b00690158afc83si8501920pfh.274.2023.09.18.14.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 14:22:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=xU2gCXcZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 76E7B8313015; Mon, 18 Sep 2023 06:02:51 -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 S242004AbjIRNCZ (ORCPT + 99 others); Mon, 18 Sep 2023 09:02:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242102AbjIRNCI (ORCPT ); Mon, 18 Sep 2023 09:02:08 -0400 Received: from out-219.mta1.migadu.com (out-219.mta1.migadu.com [IPv6:2001:41d0:203:375::db]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3DDF1AC for ; Mon, 18 Sep 2023 05:59:33 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1695041971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N/ff6X+NOYVbrocTBpgld9JVVmEwtIn+hGTJSAUql5A=; b=xU2gCXcZ99qnp0V/FuJlF/n2AtySlh1HubS9pviOcSE8wWBmHhTjI7q5ZQH4wpC6NWFox/ YBqov8jgDzayqQ3+W92TB9gvkbJ1b/iq5CijPFKTkeDrJl/k1c65EXNBdDio+DLRv0a8B9 6/rG8zAmXU7qnBWrM8IBnF9ZISOxWAkt1LThoJKku5ii/+PY2RzpmlNx4avcOyLjNEPyp5 TnNUKglG+nq3LHA5T5Ostb8Iz+Qy38WriI7rIWAPqiAI5+iW/QpyC6j0QAthk7Vt2HVHNt YxXh62g8QVEIj5QEp9D5+2Z9QTEyr/LcoOqS0dxbkxAZTXUWuhugNTgcwGyeog== From: John Watts To: dri-devel@lists.freedesktop.org Cc: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Heiko Stuebner , Chris Morgan , Jagan Teki , John Watts , Paul Cercueil , Christophe Branchereau , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 2/9] drm/panel: nv3052c: Add SPI device IDs Date: Mon, 18 Sep 2023 22:58:46 +1000 Message-ID: <20230918125853.2249187-3-contact@jookia.org> In-Reply-To: <20230918125853.2249187-1-contact@jookia.org> References: <20230918125853.2249187-1-contact@jookia.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 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_NONE autolearn=unavailable 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]); Mon, 18 Sep 2023 06:02:51 -0700 (PDT) SPI drivers needs their own list of compatible device IDs in order for automatic module loading to work. Add those for this driver. Signed-off-by: John Watts Reviewed-by: Jessica Zhang --- 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