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

From: Andy Shevchenko
Date: Wed Jul 21 2021 - 11:04:47 EST


On Wed, Jul 21, 2021 at 04:37:51PM +0200, Andreas Schwab wrote:
> On Jul 21 2021, Andy Shevchenko wrote:
>
> > The driver has OF compatible strings and should be loaded automatically.
>
> They are never being used.

What do you mean by that?

Can you explain what is the _practical_ issue here? What is your HW setup and
what you are trying to do?

> # udevadm info /sys/devices/platform/soc/10050000.spi/spi_master/spi1/spi1.0
> P: /devices/platform/soc/10050000.spi/spi_master/spi1/spi1.0
> L: 0
> E: DEVPATH=/devices/platform/soc/10050000.spi/spi_master/spi1/spi1.0
> E: DRIVER=mmc_spi
> E: OF_NAME=mmc
> E: OF_FULLNAME=/soc/spi@10050000/mmc@0
> E: OF_COMPATIBLE_0=mmc-spi-slot
> E: OF_COMPATIBLE_N=1
> E: MODALIAS=spi:mmc-spi-slot
> E: SUBSYSTEM=spi

--
With Best Regards,
Andy Shevchenko