Message ID | 20221116-s905x_spi_ili9486-v3-1-59c6b58cbfe3@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2700393wrr; Tue, 6 Dec 2022 00:36:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf7cL7h6iNjWfZJmMziEofZ+3icpi2SS3xcKWD220uTFbKkCf6ViaBrdctCMDrh66KZd4cXU X-Received: by 2002:a17:90b:258:b0:219:396f:8a09 with SMTP id fz24-20020a17090b025800b00219396f8a09mr42442798pjb.20.1670315810984; Tue, 06 Dec 2022 00:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670315810; cv=none; d=google.com; s=arc-20160816; b=NV9ixqy6k6RMVU7MllixOuaqcwlAz0WCI4kuDKE/aJ56qnurylp7+CtNosfP0Rk1ET Ik6akBpUbP2UPjxZOTYY0b4TpQtTUoLxn7ZkUo+w8NxvfK+bzuQ3/6NJ0yFP2VugvZKZ QNjfz/BmJqFlcGRghX6zKEvMTmwIyXuSKSG63OZZXOj4kKPG+Sh+4Xl6plnRkwq0bZ16 EIK2AVC+KmvxdoWZkfTBqeswOC+jB+UknBC5Jw8BAHCfWKM5o+JvDMRw7VOgnk9/OoFy muTwTgZ+J+IfHZSwwfRFhZAYNucTj1tY97f/tNumICxzSvSKu4yVZwmw3cHMjLaDCXmE Hxow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=3BPaUYtbAIV1BLKNgYdAozqHw0R4+q9lV2NZg2CpgKo=; b=zFiAEWzBZmIBAjm4HBi4+wTDqtIA2CaOz1AmTF9UUr+QZddifN3jxBHCiYDrzV5iJB 8jwjVbAtBCOEeikNo9tB5zcUAJ3bzamanasqfLtkcSA6kC1f82g+p9lAbZbgdajYeKrM dHwxiq9oIsBg9zwuK9wYH0hmL4BfrNnDhvqfd5wrj5bG9vbuRLv1cZ1boo5IPnNlS8GY VWsFlfluD2IS0LPqmJzCohRiqPZvuE6vcJkaSn07VDYjAfZ4kC4TDSNLr3FRWmaFczxm OU/lYWcTZODSxoL9ArknqZzP8yJbQCKWRfEW9pMZvSPkaf6L5kfjV1qZ0yM3R8lq/z6Q n5LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=H2H7JKYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a63454a000000b004776765cf3csi16787373pgk.605.2022.12.06.00.36.35; Tue, 06 Dec 2022 00:36:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=H2H7JKYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233928AbiLFIeO (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Tue, 6 Dec 2022 03:34:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233466AbiLFIeL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 6 Dec 2022 03:34:11 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CDFFE9 for <linux-kernel@vger.kernel.org>; Tue, 6 Dec 2022 00:34:10 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id x22so4351981ejs.11 for <linux-kernel@vger.kernel.org>; Tue, 06 Dec 2022 00:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3BPaUYtbAIV1BLKNgYdAozqHw0R4+q9lV2NZg2CpgKo=; b=H2H7JKYXXvAfClM3nA4go1vg+3MHl1e/2zDDCysrg3tEabCsIvKnRzv0Wvtb2s10VN 304O8iUaaCjy+dnUF4jp5tvxQ7MKMC2YGkV23TPpDOStSB2Upw0HDsdfWJMs2ioAEOrO fhKRJupDAIl1fLdC4rmrOPBhagh95bOmoINpnJ0Zam1PJQYxiVWiFMx4uAO8/VhJige/ q5RIt7kTTdZLXfDSogK4wYnAWCRuJIegjkPjFnq6DxnHXIQKAcCVC2EWQgKtVEUTgRU7 MuUyGBNerPFdl7BnbM83N10a7qTIxPVwG7X9BJpk4AcHrfhY18IPOxuXDtofPfhLSKvV XlpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3BPaUYtbAIV1BLKNgYdAozqHw0R4+q9lV2NZg2CpgKo=; b=OeuWHlmN0zmWH1OIgTn1MEBLqSGuaQmgZ+UqLrrz2rCKmVXn6eHvYCRKDSNzKDbA6f lYBq9tfs+5Oo3jzRd2yVOTAsYDHO9+GDejko4RrvBRX9OrXfHdTUVwTgxLxeWdDxgO4q U8EvqGUG1CkdZ4uRTaveFwA7YSnRjWQG2OdaMcsiQ3k++4N3VzdDy8dfmxOWNAklrvQn oyZhAQt+P1lhXh2fTAZpovR0MbmHedTW01NiIejf+pZ8dCOTe5FV0UNhnYEDDHRtYDSz ievtkz7ow3m+zviEFJerZrscMa+yCfwB6OGEqW/iSdPrAt7XbtuVb0xIZZucavH7w/gQ a9Wg== X-Gm-Message-State: ANoB5pniT1TDQQ8N54KKD8ExbW9zrYj1CqMDysfop090KC6esvl3T0+u hddhmcMtW9Fhp0AvND+3TiyF4w== X-Received: by 2002:a17:907:2c75:b0:7c0:bbab:a550 with SMTP id ib21-20020a1709072c7500b007c0bbaba550mr14397235ejc.168.1670315649259; Tue, 06 Dec 2022 00:34:09 -0800 (PST) Received: from [127.0.1.1] ([2a0e:41a:894f:0:2017:359e:18ef:1c49]) by smtp.gmail.com with ESMTPSA id g18-20020a17090604d200b0078d9b967962sm7019390eja.65.2022.12.06.00.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 00:34:08 -0800 (PST) From: Carlo Caione <ccaione@baylibre.com> Date: Tue, 06 Dec 2022 09:34:01 +0100 Subject: [PATCH v3 1/3] drm/tiny: ili9486: Enable driver module autoloading MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20221116-s905x_spi_ili9486-v3-1-59c6b58cbfe3@baylibre.com> References: <20221116-s905x_spi_ili9486-v3-0-59c6b58cbfe3@baylibre.com> In-Reply-To: <20221116-s905x_spi_ili9486-v3-0-59c6b58cbfe3@baylibre.com> To: Daniel Vetter <daniel@ffwll.ch>, Jerome Brunet <jbrunet@baylibre.com>, David Airlie <airlied@gmail.com>, Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>, Mark Brown <broonie@kernel.org>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Kevin Hilman <khilman@baylibre.com>, Neil Armstrong <neil.armstrong@linaro.org> Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, Carlo Caione <ccaione@baylibre.com>, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751453071740785591?= X-GMAIL-MSGID: =?utf-8?q?1751453071740785591?= |
Series |
Make ILI9486 driver working with 16-bits SPI controllers
|
|
Commit Message
Carlo Caione
Dec. 6, 2022, 8:34 a.m. UTC
SPI devices use the spi_device_id for module autoloading even on systems using device tree. Add the spi_device_id entry to enable autoloading for the 3.5inch RPi Display (rpi-lcd-35 and piscreen). Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Carlo Caione <ccaione@baylibre.com> --- 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 c80028bb1d11..2ca7c59771f3 100644 --- a/drivers/gpu/drm/tiny/ili9486.c +++ b/drivers/gpu/drm/tiny/ili9486.c @@ -183,6 +183,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);