Skip to content

mtd: spi-nor: add a new framework for SPI NOR

Angus Clark linux-arm-kernel linux-mtd linux-spi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mtd: spi-nor: add a new framework for SPI NOR
Quoted 9 lines · Huang Shijie

? 2013?11?29? 22:52, Angus Clark ??:

Quoted 3 lines

int (*write_reg)(struct spi_nor_info *info,
uint8_t cmd, uint8_t *reg, int len,
int wren, int wtr);

I guess you add the 'wren' for the issuing write-enable before issuing the 'cmd'.

but what's 'wtr' for? i do not know what's the meaning of the 'wtr'.

'wtr' is for "Wait 'til Ready". Some register writes are instant, while others require polling of the "Write In Progress" bit.

Cheers,

Angus