From patchwork Wed Feb 2 15:23:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 539333 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1652522imr; Wed, 2 Feb 2022 07:24:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXF0/crXjR/6ZAw4QwKk5WP74BmRdk+Hx/6sESqBIOctEHDhBI3jg2c1XF26gC2d03Yiy2 X-Received: by 2002:a17:902:8c92:: with SMTP id t18mr5036718plo.11.1643815475534; Wed, 02 Feb 2022 07:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643815475; cv=none; d=google.com; s=arc-20160816; b=LWss4gfU1VUQZnD+qna/N2bkRCisFM4JafQEOk+86hqY1yqiagbiBTUG1abzWTubsI MKnp9B3KjbKpsvGlCIrQcWHxmHbG3WFK5LGv2wOPQwG7cZX3c93kqPXKzNn1tkAU8Sts x/wLQiqktZQlDNDqL7mWnfeMb0oPCBG87R+5NkGlvH62cP3rTqTsEyXWITZhRdXTC9WF x/2iruYMOF2jnchjsqoLFbGZA3apvGx/OXfTF/xmQ4zwtxn/OBw0mB+JfaBocCv0c3zb fw/84Q9P8tb2sJVCrMYM0CUUfFE5RAI/+SLAGYNXMUuvwPyA+w37GgyD2fq4n8Siql9V OxGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=mq8M9XBPwLNhG73tGZv2CIh/wxvGnc5BI4J+RATzSBU=; b=S74+cMvA7EvH9YNZDCDNSOElA475M8N3Qq2b1jso2HTpffxe+oIY14KifKNJdYlgYu pbcED/IcdX4I5qsMuR6aXmoNuyfe6WUDar6zvzi2XNgcR2//W/afFuk0c2vYxQlfpVbE K+fgUHOOEr/6d22L70j2ibK6mvkwa54mSKRFlAgPmjR/EZHa591Q8e0S1jCrR0McinMq Ta34KQg6/65tCZQi6AfSUQJNMLMF1vjrqcZ+nNMDoNasLSuCcntt2+iMxnV6PxiBLxCp YnZE+rl8x1s/6WLJXJZoXf6VDqDniH+N76KaL6ug2EBSR84s/TGYMSR1BOB00b0gUuua dFeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=LarZb2bb; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v20si17722095plg.520.2022.02.02.07.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:24:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=LarZb2bb; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 602DA899AB; Wed, 2 Feb 2022 15:24:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 319208977A for ; Wed, 2 Feb 2022 15:24:30 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B5E46615A7; Wed, 2 Feb 2022 15:24:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60832C340EF; Wed, 2 Feb 2022 15:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643815468; bh=u9PwIkdMzz7u4ODiAsVA899tyWIJLHEtwCmzwaoeHrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LarZb2bbeoVdNlQs7JiS+VqVb9YezpCAKi8JdJYK86DuiAksYmX8zXxYuzFEZQdHx IGQC3E2Ye3sfz/l5Lg07FVmbjBVBOIaPmY7Cul9xDs9T3+f50zhJC+sF+sKZqc3R2G BgeClFjRjqiM3iAJOZeuTZmzHfY7UnnOela0XNZpGj7zZ8Xgid/MHYuNx8P2GmZKu8 VMhKycmFuafokszHWavze4hqPbLQD1WwzPanF7m0p14fd61FBSRz2S/4s9hx2nu7rb d/YUoFH7k4fx4QrrPK4ryhY9vQT1g54lDtFgXPhovI4GasH4cuJWoASQxxAAljnTBb GxqJDmBR1m78w== From: Mark Brown To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 1/3] drm/panel-ilitek-il9322: Add SPI ID table Date: Wed, 2 Feb 2022 15:23:50 +0000 Message-Id: <20220202152352.20342-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220202152352.20342-1-broonie@kernel.org> References: <20220202152352.20342-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1523; h=from:subject; bh=u9PwIkdMzz7u4ODiAsVA899tyWIJLHEtwCmzwaoeHrw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh+qIFGm8i91C/xNUR97KM47CHSbHQrf9yG918d2Op j4Kxn3+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfqiBQAKCRAk1otyXVSH0NZFB/ 4vsXtKgUUiFbGLqEM+CyvpYv3Q9LRGOoJJEsC/ViuOMhEpqw2qH+YwVYYDg1kIgNjQ2nO9A1/uOiQO R7Aqe4E8f9/I8zxOrDeNYnKQ0hqc1c4ERhOuNPDLsvfKB8DnNPRgWsA3NDt44AnMHbm7SgJqRBkZpj KiLa2GRoEYY8EADcSt5fE+xGYBKUjXWpzM5TjXZ01hnRq9OFkLIxGzB/KUnHKv9849ycf/62lM9hm+ Ygr43DA097y6Deh224qKXUPgKx4Kgg7k9dK77iIke1SNJzgbtfpX7fb41GqLM2NP6Prg+xFobCFKVO oEAzxdjPhMdiJtGUHrPbezrXgrBaEU X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Brown , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding an id_table listing the SPI IDs for everything. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown --- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9322.c b/drivers/gpu/drm/panel/panel-ilitek-ili9322.c index 8e84df9a0033..c7a980fd6406 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9322.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9322.c @@ -935,6 +935,19 @@ static const struct of_device_id ili9322_of_match[] = { }; MODULE_DEVICE_TABLE(of, ili9322_of_match); +static const struct spi_device_id ili9322_spi_ids[] = { + { + .name = "dir-685-panel", + .driver_data = (kernel_ulong_t)&ili9322_dir_685, + }, + { + .name = "ili9322", + .driver_data = 0, + }, + { } +}; +MODULE_DEVICE_TABLE(spi, ili9322_spi_ids); + static struct spi_driver ili9322_driver = { .probe = ili9322_probe, .remove = ili9322_remove, @@ -942,6 +955,7 @@ static struct spi_driver ili9322_driver = { .name = "panel-ilitek-ili9322", .of_match_table = ili9322_of_match, }, + .id_table = ili9322_spi_ids, }; module_spi_driver(ili9322_driver); From patchwork Wed Feb 2 15:23:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 539334 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1652547imr; Wed, 2 Feb 2022 07:24:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJAh8BC+SwTTmEvI3uFRHjGJ4QVNu8jJHoirMxwLy1v9lvHnxZscYpCuWrGdopnXpfvT71 X-Received: by 2002:aa7:938c:: with SMTP id t12mr29782074pfe.51.1643815477974; Wed, 02 Feb 2022 07:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643815477; cv=none; d=google.com; s=arc-20160816; b=EG/IQwkkMUj4p+Aq0kdbw1ht67y5AseZ95z7vqdKPY/oy8on84hlsuPtupzC+PTMHL PwV8GoNkKEET4uexi0XFiDACWJ63Nu578bcTgDvXbxr+fGv7zw1wXN2Alsh4l3VzfI+H Lz3ecWjawzLDgtac1n7txbLpMQl0EuHfLPic4H7cys/LmcLiuH1bPiu9iOz70YndR3dG x+c8YrmkQxbadnKKWUM8uWTFcJPy++lc82IkwjU2hRmYiM6GbKVzzzOd0Gqbx8OTxPMo 0B7F7sWVw9IeQVAv+4EBQNdbV+Cw9YbVawZNSs2xVrqacA4UpESrapKA8/uOqv9CcBVz 4vzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=0qSQnw/xfmidDeia+r9ZcFw9f28RLkpRabjah/04LLQ=; b=nNslKQzeCTkhE8S7glTWuTx+ZWz5byGSD7onJshC9qlK7pmo/jdgXva4nXUzIfeyep KO0S6si0WatAb8AuQ47dGDYuKqigf7sIYWBHtkor1zJuU+W//oGsaHHLckFEDM+KKXSb D9U6bshTgppZU+flnGKT1S+iTHQJFmQR/snjuE/NmZwozy8w4VlQYEkiSgayfroympLV 8B9rmS3sumqR6+udcRN0O7zkMsyi2alydZGya4qlSYH+Qr+mQAyAmASgy4F3Ee+QtbRA TquCCIOSz/YnqSzl6cUVwOVcBRAg07GoCAnusWUVx8IBAxvlCEfp+GIfDnL214xTOo77 grxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=NkUFZENX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id x15si17061168pff.185.2022.02.02.07.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:24:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=NkUFZENX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A430710E276; Wed, 2 Feb 2022 15:24:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4CCA110E2BF for ; Wed, 2 Feb 2022 15:24:33 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E5166B83063; Wed, 2 Feb 2022 15:24:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CA57C340ED; Wed, 2 Feb 2022 15:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643815470; bh=6aO7Nzm3pbUcauRahkbsSUae/bWW9PJ7FY+7rb3jazo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NkUFZENXO2N7QMDqrzZznEKjFuQv0d1xZ+5nuhoN8EXa3JgsrhjzpM6HOqGxJFxuC 5KvzVuhv8I0BUZHzHOW/wbOoWUZ9hUwJTODET+P9xcrJMUCpcB8v0Awdp9ewRSIM9y +zrZxQNfqQAbeVSXQWVPskL4wrisT2hYwMMDxS4xINnMmtV1WScMIqEs3gL8jIRK0y N60U1Xr2jImZzUKLfVqAgv/pHK6RifYRuYz7yGpHhGY6+laXTj81TyGu55C0fGofdN UCCBODSCaVjRYeHR9y+jU9EiTRV35IPdFrjkGKKeSd+EtkY5a1Aue7FM1vqlt9kXTY hEkeW008glRKw== From: Mark Brown To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 2/3] drm/panel-novotek-nt39016: Add SPI ID table Date: Wed, 2 Feb 2022 15:23:51 +0000 Message-Id: <20220202152352.20342-3-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220202152352.20342-1-broonie@kernel.org> References: <20220202152352.20342-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1464; h=from:subject; bh=6aO7Nzm3pbUcauRahkbsSUae/bWW9PJ7FY+7rb3jazo=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh+qIGQWpBYwp9NA4MVKuwLXj8tphWkkieHaXuQ9zU CnU0wfqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfqiBgAKCRAk1otyXVSH0KPFB/ 0W19Db+haBpxuiNYkNhqqCjohJAZFklqLs/G1PcC7zk5QFzzlSdX1GZ9bBpzXrDBJgdCZ7KiqXBSs3 RUMnYsBpHwN0ShDayGQXHCvrDn4U2KUGsiJ1aQd2TVypH+N2GMsHRqKRtGG1OuHj97gR0XWhOGZM5f L7C1RSkiNxl/sb+4PDB9M4I/5hhDHSbKYvNU+AJ5VB8Yi5ihWesQdLN/tSVYO56PeReekYg9aVmkT7 Ve/iekCwltwSC85KXAi1XSg1iMUBMAtPC8VKFVXMkHRrpZur2UjmhR2WuUQIHF7hZmBcW3d010oaXg Bt7XfmqqNaPNnW4ZXlGDmoUVOzKiNu X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Brown , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding an id_table listing the SPI IDs for everything. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown --- drivers/gpu/drm/panel/panel-novatek-nt39016.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt39016.c b/drivers/gpu/drm/panel/panel-novatek-nt39016.c index d036853db865..fa6ffa7fd96e 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt39016.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt39016.c @@ -346,6 +346,13 @@ static const struct of_device_id nt39016_of_match[] = { }; MODULE_DEVICE_TABLE(of, nt39016_of_match); +static const struct spi_device_id nt39016_spi_ids[] = { + { .name = "kd035g6-54nt", .driver_data = (uintptr_t)&kd035g6_info }, + { .name = "nt39016", .driver_data = 0 }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(spi, nt39016_spi_ids); + static struct spi_driver nt39016_driver = { .driver = { .name = "nt39016", @@ -353,6 +360,7 @@ static struct spi_driver nt39016_driver = { }, .probe = nt39016_probe, .remove = nt39016_remove, + .id_table = nt39016_spi_ids, }; module_spi_driver(nt39016_driver); From patchwork Wed Feb 2 15:23:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 539335 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1652674imr; Wed, 2 Feb 2022 07:24:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJySnVjlOkuqiwpHYO1xGW/HaQF366B0VbazM4RffwShrWfUbmFiKPPD0BDLffnSo4NWKTv3 X-Received: by 2002:a17:902:ab8e:: with SMTP id f14mr31208396plr.103.1643815488466; Wed, 02 Feb 2022 07:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643815488; cv=none; d=google.com; s=arc-20160816; b=l7OuKNzO/ylZpw8IRI/oZaGgjdHGSbe+jaIPhT3j7JQQL1zqFZOVilkbzCGiatemuO NjlIx2+q2ZoZcC0DjPw0pEP8VNGGr1DP8PiH23FSO2LzEK9dZFuM8KayiyaeqZIkb9lr dnZvg5MNUhtMaR+1jRWtCRpUl54X14Bc4B3uduX1A5IFIAhr/GJTE9rLJrxdWdHPY+D1 4md6AeyBPYTLlXkwd2FHDpfPGr2bS/10B2Sl+Vo15paLVYHrWEhmDkQV+Xxch2W+Zn4g m8beL1D7uGkpH/74cV8GFrnVEK05QKR4d1gEw1K3tClYzBuyOofqWQJNv01FPv3QphqN vs2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=7E0yjz/OXBsQZHeg9t0n49UaLFKvuNlYJWxhAZeQZeM=; b=oDYemfyoAgLVPZ6thld22JFp1DeEIbBEYk5mOYEWLxhfWs5Z2XeCz+noDmCmCdcpSZ 88DUTDjgjtP/8Uwg/1BXA9C74Fl1KiJnWqrB12hx7mpEhzx8n+nT6T1JfiyEK8YZ9K1u 33oXOexuS9XnatGb2jP16rpwRKtVdWdLZqCPbp0h5GZ7tirtUGC8qmshBUb6LG5Jn9+d Roj/fTzo82476PAqUxHPqMeT/flyXIjHpBw34cP+TBoHGKCPWhIf+vEBdmofXYTjVGcs GTDmpRnxTCwIIAmPJ9KbswAtEZl8JoaHGmWjTImHO7DNI3WTHMVT6s0gP7+QAa+tRhrC MJAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=QRCEtAYM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id e10si10114926pfc.215.2022.02.02.07.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:24:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=QRCEtAYM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 306B410E2C9; Wed, 2 Feb 2022 15:24:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03B0910E276 for ; Wed, 2 Feb 2022 15:24:34 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 77D2B615C4; Wed, 2 Feb 2022 15:24:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18C7CC340EB; Wed, 2 Feb 2022 15:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643815472; bh=8Bi2IfGYn49J1OPZx8Swg5kgcUGo31SmzEqJLAPIt6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QRCEtAYM9N/4J2Qaty/D5hID4pAEFZpUljOukDJgnOomBUATc/9biTeVlOAGCncgw w0O/KdKT6dhy6GCiDN/noo7pdtFyD5NER3klcKDOHrAVXk/Zx8UeXbNXzBaToNb9IS zzmvk4+k8Tzb8/0wkVdHcRpiXPybihgofz6tALR04LPK5D+Mw9Ui1VjzocyzUr+ks7 W4szE79EN4VVOFeWeAIzf/smMhjg7qMA46NqRUGsRvz8AiGanZPauwEHn/L7BafoS7 L5xBgG9hsanevxBkIc7PnVUNcpYcO9EnXKBOjRG2jz1M7aIqGh8vCnMm75sPSBRyyI pnYTrVwTd6qWw== From: Mark Brown To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 3/3] drm/ili9486: Add SPI ID table Date: Wed, 2 Feb 2022 15:23:52 +0000 Message-Id: <20220202152352.20342-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220202152352.20342-1-broonie@kernel.org> References: <20220202152352.20342-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1002; h=from:subject; bh=8Bi2IfGYn49J1OPZx8Swg5kgcUGo31SmzEqJLAPIt6Q=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh+qIGGUXmqAQVcau4c6lkD+meITWtN60lWSWqhQy1 3M1Znp2JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfqiBgAKCRAk1otyXVSH0I0QB/ 46xjhigWmNH2nLTkg6bGiO9zHTMWcu/gK4QtqklMn9ZxF/tIblGEoq1oSgPvvz0U0JAqd99KKJkff9 1+/k80e2nK1OQ4yT7BB62pdCEiIjHFw+IPM1swCcTweNDPW6vkHfWV7oPCySov68XeHLmwxS6dS6bM Ne57vOJIGOcipFC96B7RP3i8e0ayFPmiD93gDzP0SmacFZ0E3akqRJ7QwEHmdGDOa1xEX648JdgL0g EX7avg/UBBYFCvsMxqrZ83PLg17qIMFkcLEwW20zTu4YBfi2dpfe4YCS/Pye9cj7nwOci0dL2hBUDo hviwSOoWGBGVSbGy8Zqsoso2AW8lz1 X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kamlesh Gurudasani , Mark Brown , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by ensuring that there are SPI IDs for all OF IDs. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown Cc: Kamlesh Gurudasani --- drivers/gpu/drm/tiny/ili9486.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tiny/ili9486.c b/drivers/gpu/drm/tiny/ili9486.c index e9a63f4b2993..da4dc48db030 100644 --- a/drivers/gpu/drm/tiny/ili9486.c +++ b/drivers/gpu/drm/tiny/ili9486.c @@ -182,6 +182,8 @@ MODULE_DEVICE_TABLE(of, ili9486_of_match); static const struct spi_device_id ili9486_id[] = { { "ili9486", 0 }, + { "rpi-lcd-35", 0 }, + { "piscreen", 0 }, { } }; MODULE_DEVICE_TABLE(spi, ili9486_id);