Hi, On 10/30/20 1:17 AM, Dinh Nguyen wrote: > Hi, > > With commit "a314f6367787ee mtd: spi-nor: Convert cadence-quadspi to use > spi-mem framework", I can no longer access the QSPI device under > /dev/mtd<n> on the Intel Stratix10 and Agilex platforms and is breaking > a few tests we have in-house. > > Can someone point me to how to access the QSPI device using the spi-mem > framework? > There is should be no visible change to userspace. /dev/mtdX devices should still get created based on cmdline or ofpart. Could you elaborate what fails? Is the flash detected and /dev/mtdX devices created? Is the issue with read or write or erase? Also what is the kernel version and .config being used? Full bootlog + testcase that fails would be helpful. Regards Vignesh