Re: [PATCH v4 2/7] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table
From: Pratyush Yadav
Date: Fri May 29 2020 - 05:28:12 EST
On 29/05/20 03:36PM, Mason Yang wrote:
> JESD251, xSPI profile 1.0 table supports octal DTR mode.
> Extract information like the fast read opcode, dummy cycles for various
> frequencies, the number of dummy cycles needed for a Read Status
> Register command, the number of address bytes needed for a Read
> Status Register command, read volatile register command and write
> volatile register command.
Like I said before, please don't re-introduce the functions. My patch
series already parses the table. Add whatever new feature you want on
top of it.
> According to BFPT 20th DWORD of octal maximum speed, driver get it's
> specific dummy cycles from profile 1.0 table and then could update
> it to device by their fixup hooks.
My patch [0] already find out the dummy cycles from the table as you
suggested, though it doesn't consult the BFPT. Instead, it uses the
dummy cycle fields themselves as indication that a speed is supported or
not.
[0] https://lore.kernel.org/linux-mtd/20200525091544.17270-10-p.yadav@xxxxxx/
--
Regards,
Pratyush Yadav