Re: [PATCH v4 0/7] mtd: spi-nor: add xSPI Octal DTR support

From: Pratyush Yadav
Date: Fri May 29 2020 - 05:14:01 EST


Hi Mason,

On 29/05/20 03:36PM, Mason Yang wrote:
> Mason Yang (7):
> mtd: spi-nor: sfdp: get octal mode maximum speed from BFPT
> mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

I think you've misunderstood what Boris meant. The idea of specifying a
dependency on a patch set is assuming that entire series is already
applied to the main branch, and then creating patches on top of those.

So, for example, you can checkout the 'master' branch of linux-next.
Then apply all 19 of my patches on top of that branch by using 'git am'.
Then you add your work there and separate it out on a set of commits.

If you'd to that, you won't need to add a separate patch for parsing the
Profile 1.0 table because I've already done that in my series. All you
need to do is add the extra things, like adding parsing of a DWORD that
my series doesn't, or adding support for your Macronix flash.

> mtd: spi-nor: sfdp: parse command sequences to change octal DTR mode
> mtd: spi-nor: core: add configuration register 2 read & write support
> mtd: spi-nor: core: execute command sequences to change octal DTR mode
> spi: mxic: patch for octal DTR mode support
> mtd: spi-nor: macronix: Add Octal 8D-8D-8D supports for Macronix
> mx25uw51245g
>
> drivers/mtd/spi-nor/core.c | 151 ++++++++++++++++++++++++-
> drivers/mtd/spi-nor/core.h | 41 +++++++
> drivers/mtd/spi-nor/macronix.c | 55 +++++++++
> drivers/mtd/spi-nor/sfdp.c | 246 +++++++++++++++++++++++++++++++++++++++++
> drivers/mtd/spi-nor/sfdp.h | 4 +
> drivers/spi/spi-mxic.c | 98 ++++++++++------
> 6 files changed, 562 insertions(+), 33 deletions(-)
>

--
Regards,
Pratyush Yadav