Thread (34 messages) 34 messages, 7 authors, 2013-08-24
STALE4672d
Revisions (12)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 current
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 [diff vs current]
  9. v1 [diff vs current]
  10. v1 [diff vs current]
  11. v2 [diff vs current]
  12. v3 [diff vs current]

[PATCH V1 3/5] mtd: m25p80: add the quad-read support

From: Huang Shijie <hidden>
Date: 2013-08-23 06:26:28

? 2013?08?23? 03:55, Mark Brown ??:
On Thu, Aug 22, 2013 at 12:34:53PM -0700, Brian Norris wrote:
quoted
On Mon, Aug 19, 2013 at 12:10:01PM +0800, Huang Shijie wrote:
quoted
Why can't this be detected at runtime? We added a "no fast read" flag to
the device table, so why not "dual/quad mode supported"? And believe it
or not, not all m25p80 users have device tree. So it isn't very logical
to tie this support to device-tree only.
Hi Brian:
My only question here is do we need to add some flags , such as "quad
read", to
the device table? If you think we need to, i will add a patch for it.

(Just as Brown said, when the DTS configurates the "m25p,quad-read"
property, it
means : Both the board and the NOR support the Quad read.)

quoted
What you're really missing from device-tree (and the SPI subystem in
general) is how to detect those SPI controllers which support dual and
quad mode transfers, and how to communicate that a particular SPI
transaction should be performed on 1 or 4 IO lines. We shouldn't have
this just hacked in via assumptions.
That bit does need to be fixed in this driver, yes.  The SPI core now
has quad mode support.
yes, i do not need these bits in this driver.


thanks
Huang Shijie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help