All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] spi: dw: support setting tmode dynamically
@ 2015-12-23 11:23 ` Jisheng Zhang
  0 siblings, 0 replies; 21+ messages in thread
From: Jisheng Zhang @ 2015-12-23 11:23 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A, linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi all,

Currently the spi-dw tmode is fixed to SPI_TMOD_TR if cs_control is NULL, but we
need to set it as SPI_TMOD_EPROMREAD to read nor flash, my solution is to add and
export one functions to set the tmode, then the nor flash driver call it
before reading and set back to SPI_TMOD_TR after done.

Is there any elegant solution from SPI framework? Any suggestions are appreciated!

Thanks,
Jisheng
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-01-06 12:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 11:23 [RFC] spi: dw: support setting tmode dynamically Jisheng Zhang
2015-12-23 11:23 ` Jisheng Zhang
2015-12-23 12:15 ` Mark Brown
2015-12-23 12:15   ` Mark Brown
2015-12-23 12:29   ` Jisheng Zhang
2016-01-05 16:12     ` Mark Brown
2016-01-05 16:12       ` Mark Brown
     [not found]       ` <CAFLsZf0LvrQ60GdLzp_5nPLVxSxVaPadgzT_7aL4SQzgvswQbA@mail.gmail.com>
     [not found]         ` <CAFLsZf0LvrQ60GdLzp_5nPLVxSxVaPadgzT_7aL4SQzgvswQbA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-06  2:03           ` Khoa Dang Pham
2016-01-06  2:03             ` Khoa Dang Pham
2016-01-06  6:23           ` Jisheng Zhang
2016-01-06  6:23             ` Jisheng Zhang
2016-01-06  7:04             ` Khoa Dang Pham
2016-01-06  7:04               ` Khoa Dang Pham
     [not found]               ` <CAFLsZf31bt+-uwTo3zBWkho3UxquRCeTmK3hNMrGLXkjwHanwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-06  7:22                 ` Jisheng Zhang
2016-01-06  7:22                   ` Jisheng Zhang
2016-01-06  7:36                   ` Khoa Dang Pham
2016-01-06  7:36                     ` Khoa Dang Pham
     [not found]                     ` <CAFLsZf3pdk6EdTRoax7Mp5GGZoGKm4PuwMdG2nC-hr+StYwYQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-06  7:45                       ` Jisheng Zhang
2016-01-06  7:45                         ` Jisheng Zhang
2016-01-06  7:45                         ` Jisheng Zhang
2016-01-06 12:13         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.