[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fbe945cb-036f-b405-901f-0d625e8bfcbd@linaro.org>
Date: Tue, 29 Nov 2022 09:38:41 +0100
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Carlo Caione <ccaione@...libre.com>,
Mark Brown <broonie@...nel.org>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...il.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Kevin Hilman <khilman@...libre.com>,
Kamlesh Gurudasani <kamlesh.gurudasani@...il.com>,
Jerome Brunet <jbrunet@...libre.com>
Cc: dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] drm/tiny: rpi-lcd-35: Enable driver module
autoloading
On 21/11/2022 10:42, Carlo Caione wrote:
> 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).
>
> Signed-off-by: Carlo Caione <ccaione@...libre.com>
> ---
> drivers/gpu/drm/tiny/ili9486.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/tiny/ili9486.c b/drivers/gpu/drm/tiny/ili9486.c
> index 1bb847466b10..bd37dfe8dd05 100644
> --- a/drivers/gpu/drm/tiny/ili9486.c
> +++ b/drivers/gpu/drm/tiny/ili9486.c
> @@ -183,6 +183,7 @@ MODULE_DEVICE_TABLE(of, ili9486_of_match);
>
> static const struct spi_device_id ili9486_id[] = {
> { "ili9486", 0 },
> + { "rpi-lcd-35", 0 },
It should also contain "piscreen" then.
Anyway:
Reviewed-by: Neil Armstrong <neil.armstrong@...aro.org>
> { }
> };
> MODULE_DEVICE_TABLE(spi, ili9486_id);
>
Powered by blists - more mailing lists