Re: [PATCH 1/2] mtd: spi-nor: macronix: Add support for mx66l2g45g

Jiaqing Zhao
2022-05-23T11:13:29Z

> Am 2022-05-23 10:50, schrieb Jiaqing Zhao:
>> Hi,
>>
>> Yes this one supports SFDP according to its spec.
>>
>> On my setup, I cannot see the sysfs object. Do I need to enable some specific
>> kernel config or it's SPI controller related? My setup is running kernel 5.15.
>
> No, it should be there since v5.14. See commit 36ac02286265. And you shouldn't
> need to enable any special configuration option.
>
> Did you do a "find /sys -name sfdp"?
>
> -michael

I tried, it give empty result. The system I'm working on disables kernel module,
and the SPI controller driver calls spi_nor_probe() directly, will this be the
issue?

And is it possible to manually load the spi-nor driver via the bind interface?
If it is possible, what should the parameters be?