Re: [PATCH] mmc: mmc_spi: add spi:mmc-spi-slot alias

From: Andy Shevchenko
Date: Wed Jul 21 2021 - 13:05:36 EST


On Wed, Jul 21, 2021 at 06:05:48PM +0200, Andreas Schwab wrote:
> On Jul 21 2021, Andy Shevchenko wrote:
>
> > What is your DT excerpt for it?
>
> arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts:
>
> &qspi2 {
> status = "okay";
> mmc@0 {
> compatible = "mmc-spi-slot";
> reg = <0>;
> spi-max-frequency = <20000000>;
> voltage-ranges = <3300 3300>;
> disable-wp;
> };
> };

Hmm...

I have counted 89 device drivers in the kernel that have OF ID table without
SPI ID table. I'm wondering if all of them need to be fixed.

Or problem is somewhere else?


--
With Best Regards,
Andy Shevchenko