From patchwork Wed Feb 2 15:26:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 539336 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1655032imr; Wed, 2 Feb 2022 07:28:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZ6qrw1uh/1QprmguY0U3pXZv7l7EvzMD+I+LAnTPemUZ/wpWM4xCvnw3C6ILtuBxZ2E+h X-Received: by 2002:a17:902:e803:: with SMTP id u3mr31319742plg.151.1643815705548; Wed, 02 Feb 2022 07:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643815705; cv=none; d=google.com; s=arc-20160816; b=Non9v3Sa1kbF9FCKeaF6VfjrUerY7eHXKl5NWdH9m9p25PLbLoFrGA82JAQAa3+g9/ 5CxCUl/DplD1BtapJ527JgAAx06QUE+wlCI2doAzdtUG1vfbCpw4xkDtc+FeKEwoeW97 RoCZ1v0TFIA0C4zDDA7bG0wNLfpqXWSHQXpqiIXOb+fb5PJzlmGwdeTkfYqsAEEV5JqM wbgEnuxtHi/jPdyBheCCJlq8ZGw2FzNdlHeovSrYdWF3utfkgbZn+HS7NhMPaX00N3nf g+D4oHtE+lubbx7bfYAYh+2ESeouC9bG+Cv4r0qKi3tCzIoRq6nM2BH/fDuSONpNBQ/H eMZA== 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=tVbizJnjv6D6WN+iAQT40GmC4N5nzoNMuv25utYDGtWF9CkuxJShQXcliqckPQU58N sLzhT9X/tDoS6Aym8He95bctsStCU2NQ6zW5SlacFyjxg0EiEKS7nwRaOGsTb9XYQSra F2toznUYz4wh10DbnHk8+LEg38EC+pHvKbKf1EN4Z9garbtF3DwU8owZ+cfc17bMrb+x /eqc/mR7YCmSbU3rOb+ZOkx2Bevx77XIrzUyd3HZBG/XxatnOYp3fs9MVTYm9hFK1SFb 0cpLtEThSzj0BuMisDmD20weW6wkcNUeIUX8QBwl+SsRJxfQTOORAs+Te5i8AtGTyG6m c7SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=PSdqpwwt; 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 u21si21152591plq.602.2022.02.02.07.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:28:25 -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=PSdqpwwt; 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 6486810E2CF; Wed, 2 Feb 2022 15:28:24 +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 E6FD810E2CF for ; Wed, 2 Feb 2022 15:28:23 +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 72B2A60B89; Wed, 2 Feb 2022 15:28:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 590F3C340EF; Wed, 2 Feb 2022 15:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643815702; bh=8Bi2IfGYn49J1OPZx8Swg5kgcUGo31SmzEqJLAPIt6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PSdqpwwt2XWuSndjntT7lHU8kbISW/w7lfSMig3MBvG22h8DVSWgdE/Q2LgDIKEC+ T/ISmBA+mmIIBEq16yzUhZRnFNQescrpdvjzDTifjq0xZaKe+PiWKtctHyFAk7Hc7+ 0np7ygCglN/m6inDh54uV7PKwiJYemSz+lHkFHoFJieDls6NFtCkp3GrSY1Pqa5MmR 0cvgB8s29gIw5OFeD8pfEyDoGO+uV8XA/dVcaeW+cXdIzdxyzGg8D9cPq/mv9nNMs5 IXQf1be8Can2uTCOsC+jk8H31+Nq1tSeqQdcLsV7HbRbcJ+WWu5CwLDOLT2xUuVsmm H2uiCXhShqHlQ== From: Mark Brown To: Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 1/2] drm/ili9486: Add SPI ID table Date: Wed, 2 Feb 2022 15:26:30 +0000 Message-Id: <20220202152631.20704-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220202152631.20704-1-broonie@kernel.org> References: <20220202152631.20704-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+qKlGUXmqAQVcau4c6lkD+meITWtN60lWSWqhQy1 3M1Znp2JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfqipQAKCRAk1otyXVSH0NMuB/ 0W6/gCzjBhrwBLMUw28dshvvSdZivd1V3r9RdEVE1giVcRwYs3Uumxg1ngdkjzdR6IVb5v7/V/kiXG LY1F+T5SVilq5NZGzfLX8TNJkO1+QSDt9fvguCIsP1bjxxJo5exrp17YdbrfjaSQpj/Joc1HakWBtD Z6TCBvucrvDf2fOS6FSBtbchGzt8jvg83m2XKdXEIcBlEPV9PSHC5vzjl6oBnCbbsK4vSIeBka9TFJ 5oM4uOso3QFDFodv854ISchLiStRcpshY+5PvyWvxCLRQJH+0ZfkVHZdDPEVKqX0dJZVAtl1jqfF6y hV/ojp8QjEsCsjaokLMgmgXhCq3SRR 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); From patchwork Wed Feb 2 15:26:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 539338 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1655090imr; Wed, 2 Feb 2022 07:28:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq36QL4hXxb0TZ7imHNhUu2UEOxuiir1jlynccRben3f1JSTrhCPmTcJTiRz69BwdHnm6E X-Received: by 2002:a63:2bcc:: with SMTP id r195mr24492818pgr.561.1643815712260; Wed, 02 Feb 2022 07:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643815712; cv=none; d=google.com; s=arc-20160816; b=PpafA7J11f7wi4yU/DStQymnmu+9f+pWxd4BvbinTsQkpb9UA7CGq9FPT6jtwoFDpx Szjems8WIPVEBw0m42DmBnRGiKWItix/0U+UdKnUX36omti0rPSUJEIj/+fd7w110/kp FOUiT2zOWWUmqEltV16c2zos6G+fZxY5K2Ba5s6venBNWqbrcmFWmj9TWo/glGkZjy2F M3/MHQmW06YJILk5V0ujhyQHpDrKoP8vY5Dh0qg5star07WFBSN/ppmKeMQwr/2FqebK 57rdznYdtq2iuwwIkf++Og1sd8kWtSDecM21yPOyoEZH9xs1dmghYyr6hsSRSKcPTHU4 IKig== 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=reV7h13iqSIDMTtdLNcSKW6jOq4ukElsI17G89hMJmU=; b=Z3kMtxoPBjXH++62sRCd4O1HfLrhCrJ8nVpiYZMIfjCj3Uuotnu+IWK5aDxg0aCURc jcf6Aa6gTzYaLTulKoA3CaKB4Alo13OjUU8xU1Q6EQu+7TZEVqEX4EbXwYcD2csfm5JY rgqRvDUR70bpsww87R5PArZiC2AQph2Y9+qmnDXCgec0E9WXAp5XbzWmYqK7TIx+nrCa 19zSVe83KA6MNsCBaR77C/8tCdbIvkPhPgpMHz8WuJsQXqw/wVpnErkyXEDf06kryH3E MsjdnogvJazCR8RZYrZaAVFkNKLixVR2WEKYVzK6vs4sdlgVg/xfOOZb/9Ja4nl0FWA4 WHUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=OSytJd9h; 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 j72si12934486pge.589.2022.02.02.07.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:28:32 -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=OSytJd9h; 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 1452610E2E7; Wed, 2 Feb 2022 15:28:31 +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 4B5AC10E2E7 for ; Wed, 2 Feb 2022 15:28:29 +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 1F9AFB83122; Wed, 2 Feb 2022 15:28:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59F7EC340ED; Wed, 2 Feb 2022 15:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643815704; bh=MFLhHIccww+C6Miy6gL9xMLWRPu/Rj2WB7xgwMoy3NA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OSytJd9hz4koys0aqHE/uOUQkLUkRl5R4BTFuC0cVzqXOj6gMF5gGo2rw3HlTP/xp OTpN90DX9O+Mk3w2xj7yBlst4QRKBDEW2/PTzHG8BVl0QkX8TrXnxfRLPIdrrG37hh DDG+nLoW2ufoaye9btpBW72O3/q9kEvtntdyauwoMUcQngbcebEtSZ3Hb/1Y2JuclC CNxW1bMYnrd3WiABFfKdZIE+xEjkCLv8JNXG7tCCI6YSXl5ge7v2YIMDbRxTlHsR+X fUh5E4e3Y1MeC9kU3LTUEOnTYk94m9jAVJ1zNoxWH8ktTfeRXGIu7NKBs9Pj4Lgki6 n5TsvrDe6F1yg== From: Mark Brown To: Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 2/2] drm/st7735r: Add SPI ID table Date: Wed, 2 Feb 2022 15:26:31 +0000 Message-Id: <20220202152631.20704-3-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220202152631.20704-1-broonie@kernel.org> References: <20220202152631.20704-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1023; h=from:subject; bh=MFLhHIccww+C6Miy6gL9xMLWRPu/Rj2WB7xgwMoy3NA=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh+qKmIYlhDkeY73lD33a4BU6BF0SpMDPljbFe2dJd uhgqfuaJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfqipgAKCRAk1otyXVSH0FgGB/ 9cfMMK3YVZ17WX9CGJKvJoQBIANDydQNkUiquukizwBpCQdW0/wMEPsfBdnf/yEsISVDTkTeUwTkET liwhSngoH7kE7rUxVuw+jlzF/y63Nx6LAIvGpJ2OXxGko/Uo5K9gYM6Q7+x5K5Rkasixxta1U79HD7 UqRZcts+dvIBrBQCHppPrOC+ilnUQl6ZyTfLdsL3qWcV2XW0qvzWSJa7zNW0FdIqR4SPNXokppUpzW JWrv1m5VvYLuXKdb5ZyYdlGaZmMRfokqJdc+BWtY/rGfd0N3uJjhhT0mJ3NXRSpG2ic3BweP7QW/Ca nUxONvytzRydIyX9dGzFxA62wO0vyt 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 , David Lechner , 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: David Lechner --- drivers/gpu/drm/tiny/st7735r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tiny/st7735r.c b/drivers/gpu/drm/tiny/st7735r.c index fc40dd10efa8..713e4b286210 100644 --- a/drivers/gpu/drm/tiny/st7735r.c +++ b/drivers/gpu/drm/tiny/st7735r.c @@ -174,6 +174,7 @@ MODULE_DEVICE_TABLE(of, st7735r_of_match); static const struct spi_device_id st7735r_id[] = { { "jd-t18003-t01", (uintptr_t)&jd_t18003_t01_cfg }, + { "rh128128t", (uintptr_t)&rh128128t_cfg }, { }, }; MODULE_DEVICE_TABLE(spi, st7735r_id);