Hi Mikhail, On 28.09.26 01:57, Mikhail Kshevetskiy wrote: > This patch sync spinand & spi-mem code with linux-7.3. Here is a list of > major changes: > * spi-mem: capabilities were added, so spi-mem or spinand drivers could check > spi-controller for support of specific features > * spinand: continuous mode improvements > * spinand: octal DTR support > * spinand: many flashes were supported
Thanks a lot for the sync. I have some comments and found some issues, some of them with the help of an LLM reviewing the code. Please see the comments for the individual patches. Best regards Frieder > > Mikhail Kshevetskiy (3): > spi: spi-mem: add spi-mem caps support > spi: spi-mem: sync code and behavior with linux > mtd: nand: spi: sync spinand code with linux-7.3 > > Miquel Raynal (2): > spi: spi-mem: Transform the read operation template > spi: spi-mem: Create a secondary read operation > > drivers/mtd/nand/spi/Makefile | 5 +- > drivers/mtd/nand/spi/core.c | 504 +++++++++++++++++++++++++----- > drivers/mtd/nand/spi/dosilicon.c | 93 ++++++ > drivers/mtd/nand/spi/esmt.c | 30 +- > drivers/mtd/nand/spi/fmsh.c | 175 +++++++++++ > drivers/mtd/nand/spi/foresee.c | 34 ++ > drivers/mtd/nand/spi/gigadevice.c | 117 ++++++- > drivers/mtd/nand/spi/heyangtek.c | 132 ++++++++ > drivers/mtd/nand/spi/macronix.c | 87 +++++- > drivers/mtd/nand/spi/micron.c | 8 +- > drivers/mtd/nand/spi/toshiba.c | 3 +- > drivers/mtd/nand/spi/winbond.c | 466 +++++++++++++++++++++------ > drivers/mtd/spi/sf_probe.c | 22 +- > drivers/mtd/spi/spi-nor-core.c | 20 +- > drivers/spi/airoha_snfi_spi.c | 10 +- > drivers/spi/atmel-quadspi.c | 5 + > drivers/spi/cadence_qspi.c | 10 +- > drivers/spi/nxp_xspi.c | 12 +- > drivers/spi/spi-aspeed-smc.c | 8 +- > drivers/spi/spi-mem.c | 150 ++++++--- > include/linux/mtd/spinand.h | 198 ++++++++++-- > include/spi-mem.h | 53 +++- > include/spi.h | 1 + > 23 files changed, 1845 insertions(+), 298 deletions(-) > create mode 100644 drivers/mtd/nand/spi/dosilicon.c > create mode 100644 drivers/mtd/nand/spi/heyangtek.c >
