Message ID | 20220202152352.20342-1-broonie@kernel.org |
---|---|
Headers | show |
Series | drm/panel: Ensure DT compatibles have SPI device IDs | expand |
Hello Mark, On 2/2/22 16:23, Mark Brown wrote: > 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 this series > adds SPI IDs where they aren't provided for a given modalias. > Yes, that's only possible if all the SPI drivers are fixed first to make sure that all have a proper OF device ID table and will report a modalias if we change the core to report a OF modalias uevent. And we also need to fix all the Device Trees to have a proper compatible string "foo,bar" instead of just using "bar" and assume that the SPI core will report a MODALIAS="spi:bar" even for OF. I was able to change this for I2C after commit af503716ac14 ("i2c: core: report OF style module alias for devices registered via OF)" but it was a considerable amount of effort. For the whole series: Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Best regards,