Re: [PATCH] tpm_tis_spi: add missing SPI device ID entries

From: Jason Gunthorpe
Date: Thu May 27 2021 - 12:12:09 EST


On Thu, May 27, 2021 at 05:23:52PM +0200, Javier Martinez Canillas wrote:
> The SPI core always reports a "MODALIAS=spi:<foo>", even if the device was
> registered via OF. This means that this module won't auto-load if a DT has
> for example has a node with a compatible "infineon,slb9670" string.

Really? Then why do we have of_tis_spi_match and why does spi have an
of_match_table?

Jason