Re: [PATCH v4 0/3] mtd: spi-nor / spi / MFD: Convert intel-spi to SPI MEM

Mika Westerberg
2021-12-16T10:39:54Z

Hi,

On Thu, Nov 18, 2021 at 04:05:40PM +0300, Mika Westerberg wrote:
> Hi all,
>
> Based on discussion on the patch I sent some time ago here:
>
> http://lists.infradead.org/pipermail/linux-mtd/2021-June/086867.html
>
> it turns out that the preferred way to deal with the SPI flash controller
> drivers is through SPI MEM which is part of Linux SPI subsystem.
>
> This series does that for the intel-spi driver. This also renames the
> driver to follow the convention used in the SPI subsystem. The first patch
> improves the write protection handling to be slightly more safer. The
> following two patches do the conversion itself. Note the Intel SPI flash
> controller only allows commands such as read, write and so on and it
> internally uses whatever addressing etc. it figured from the SFDP on the
> flash device.

Any comments on this series? If no, I would appreciate if these could be
merged for v5.17 :)

Thanks!