Thread (64 messages) 64 messages, 8 authors, 2013-12-10
STALE4576d
Revisions (6)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 current
  5. v1 [diff vs current]
  6. v1 [diff vs current]

[PATCH 0/4] mtd: spi-nor: add a new framework for SPI NOR

From: Angus Clark <hidden>
Date: 2013-12-04 06:58:36
Also in: linux-spi

On 12/04/2013 02:46 AM, Huang Shijie wrote:
? 2013?11?29? 22:52, Angus Clark ??:
quoted
    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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help