[PATCH 1/2] mtd: spi-nor: macronix: Add support for mx66l2g45g
Michael Walle
michael at walle.cc
Mon May 23 04:59:47 PDT 2022
Hi,
Am 2022-05-23 12:12, schrieb Jiaqing Zhao:
>> Am 2022-05-23 10:50, schrieb Jiaqing Zhao:
>>> 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?
Is your spi flash probed at all?
-michael
More information about the linux-mtd
mailing list