linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: spi-fsl-dspi: replace regmap R/W with internal implementation
@ 2016-04-27  8:12 Yuan Yao
       [not found] ` <1461744756-31481-1-git-send-email-yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Yuan Yao @ 2016-04-27  8:12 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, broonie-DgEjT+Ai2ygdnm+yROfE0A,
	pawel.moll-5wv7dgnIgG8, shawnguo-DgEjT+Ai2ygdnm+yROfE0A,
	linux-devel-XDVM779Km55Y1YpKYGMr2+TW4wlIGRCZ,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, yao.yuan-3arQi8VN3Tc
  Cc: leoyang.li-3arQi8VN3Tc, scott.wood-3arQi8VN3Tc

From: Yuan Yao <yao.yuan-3arQi8VN3Tc@public.gmane.org>

The qSPI controller's endian is independent of the CPU core's endian.

For eg, Core on NXP LS1043A SoC is little endian but DSPI is big endian
whereas Core on LS2080A SoC is little endian and DSPI also is little
endian on the same core.

At first we use regmap to cover this issue.
But the regmap is designed too large and complex.
The issue for regmap often effect the DSPI's stability.

DSPI driver just only need a effective way to R/W the controller register
with BE or LE mode.

So it's better to packaging a sample function.
This will make the DSPI driver more stability and high effective.

Yuan Yao (2):
  spi: spi-fsl-dspi: replace regmap R/W with internal implementation
  spi: spi-fsl-dspi: Update DT binding documentation

 .../devicetree/bindings/spi/spi-fsl-dspi.txt       |   3 +-
 drivers/spi/spi-fsl-dspi.c                         | 101 +++++++++++++--------
 2 files changed, 62 insertions(+), 42 deletions(-)

-- 
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 20+ messages in thread

end of thread, other threads:[~2016-05-13 10:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27  8:12 [PATCH 0/2] spi: spi-fsl-dspi: replace regmap R/W with internal implementation Yuan Yao
     [not found] ` <1461744756-31481-1-git-send-email-yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2016-04-27  8:12   ` [PATCH 1/2] " Yuan Yao
     [not found]     ` <1461744756-31481-2-git-send-email-yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2016-04-27 15:25       ` Mark Brown
     [not found]         ` <20160427152532.GX3217-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-05-09  8:48           ` Yao Yuan
     [not found]             ` <AM2PR04MB072250B43DE37A38E374679989700-IPoeDzmMJYrzmGvksFXQpM9NdZoXdze2vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-05-09 10:28               ` Mark Brown
     [not found]                 ` <20160509102840.GB6292-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-05-09 10:58                   ` Yao Yuan
     [not found]                     ` <AM2PR04MB0722180ABF5DB9406F56162B89700-IPoeDzmMJYrzmGvksFXQpM9NdZoXdze2vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-05-11 22:20                       ` Leo Li
     [not found]                         ` <CADRPPNT2OpNxdQV8f_-S_DJjySEOu=SyegLMKU650hxuvr3CYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-12 13:40                           ` [linux-devel] " Po Liu
     [not found]                             ` <VI1PR0401MB1709B075CEE16F3EF3CD4A9292730-9IDQY6o3qQhWumToEB7uiI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2016-05-13  5:52                               ` Yao Yuan
2016-05-12 16:31                       ` Mark Brown
     [not found]                         ` <20160512163131.GF6261-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-05-12 23:55                           ` Leo Li
     [not found]                             ` <CADRPPNSA_2Wy+O1t0ggugp0eJL2q61s_m-rWzqNnLRB0fhF1Cw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-13  0:27                               ` Mark Brown
2016-05-13  2:29                         ` Scott Wood
     [not found]                           ` <DB5PR0401MB1928FE8EC4E862B1FF2F9BAE91740-GXldUsIPo7Z/SeJcUcAJq43W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2016-05-13  9:06                             ` Mark Brown
2016-05-13  3:08                 ` Scott Wood
     [not found]                   ` <DB5PR0401MB192850FBCBE79EBBC61ACA3A91740-GXldUsIPo7Z/SeJcUcAJq43W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2016-05-13 10:26                     ` Mark Brown
2016-05-03 21:32       ` Li Yang
     [not found]         ` <CADRPPNQ8auFyiEmnWE=FgQ1WBi-GFjCGr5xHzq5d_KnnFQ6CUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-09  7:53           ` Yao Yuan
2016-04-27  8:12   ` [PATCH 2/2] spi: spi-fsl-dspi: Update DT binding documentation Yuan Yao
     [not found]     ` <1461744756-31481-3-git-send-email-yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2016-04-27 16:35       ` Applied "spi: spi-fsl-dspi: Update DT binding documentation" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).