Re: [PATCH] drm/st7735r: Fix module autoloading for Okaya RH128128T

2022-05-23 Thread Javier Martinez Canillas
Hello Geert, On 5/20/22 14:02, Geert Uytterhoeven wrote: > Hi Javier, > > CC spi > > On Fri, May 20, 2022 at 11:16 AM Javier Martinez Canillas > wrote: >> The SPI core always reports a "MODALIAS=spi:", even if the device was >> registered via OF. This means that the st7735r.ko module won't

Re: [PATCH] drm/st7735r: Fix module autoloading for Okaya RH128128T

2022-05-20 Thread David Lechner
On 5/20/22 4:16 AM, Javier Martinez Canillas wrote: The SPI core always reports a "MODALIAS=spi:", even if the device was registered via OF. This means that the st7735r.ko module won't autoload if a DT has a node with a compatible "okaya,rh128128t" string. In that case, kmod expects a

Re: [PATCH] drm/st7735r: Fix module autoloading for Okaya RH128128T

2022-05-20 Thread Geert Uytterhoeven
Hi Javier, CC spi On Fri, May 20, 2022 at 11:16 AM Javier Martinez Canillas wrote: > The SPI core always reports a "MODALIAS=spi:", even if the device was > registered via OF. This means that the st7735r.ko module won't autoload if > a DT has a node with a compatible "okaya,rh128128t" string. >

[PATCH] drm/st7735r: Fix module autoloading for Okaya RH128128T

2022-05-20 Thread Javier Martinez Canillas
The SPI core always reports a "MODALIAS=spi:", even if the device was registered via OF. This means that the st7735r.ko module won't autoload if a DT has a node with a compatible "okaya,rh128128t" string. In that case, kmod expects a "MODALIAS=of:N*T*Cokaya,rh128128t" uevent but instead will get