From: Yuan Yao <yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
<broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
<pawel.moll-5wv7dgnIgG8@public.gmane.org>,
<shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
<linux-devel-XDVM779Km55Y1YpKYGMr2+TW4wlIGRCZ@public.gmane.org>,
<linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<yao.yuan-3arQi8VN3Tc@public.gmane.org>
Cc: <leoyang.li-3arQi8VN3Tc@public.gmane.org>,
<scott.wood-3arQi8VN3Tc@public.gmane.org>
Subject: [PATCH 0/2] spi: spi-fsl-dspi: replace regmap R/W with internal implementation
Date: Wed, 27 Apr 2016 16:12:34 +0800 [thread overview]
Message-ID: <1461744756-31481-1-git-send-email-yao.yuan@freescale.com> (raw)
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
next reply other threads:[~2016-04-27 8:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 8:12 Yuan Yao [this message]
[not found] ` <1461744756-31481-1-git-send-email-yao.yuan-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2016-04-27 8:12 ` [PATCH 1/2] spi: spi-fsl-dspi: replace regmap R/W with internal implementation 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461744756-31481-1-git-send-email-yao.yuan@freescale.com \
--to=yao.yuan-kzfg59tc24xl57midrcfdg@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=leoyang.li-3arQi8VN3Tc@public.gmane.org \
--cc=linux-devel-XDVM779Km55Y1YpKYGMr2+TW4wlIGRCZ@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=scott.wood-3arQi8VN3Tc@public.gmane.org \
--cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=yao.yuan-3arQi8VN3Tc@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).