From: Alexander Popov <alex.popov-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
To: Benjamin Herrenschmidt
<benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>,
Paul Mackerras <paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
Michael Ellerman <mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>,
Anatolij Gustschin <agust-ynQEQJNshbs@public.gmane.org>,
Gerhard Sittig <gsi-ynQEQJNshbs@public.gmane.org>,
Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Timur Tabi <timur-N01EOCouUvQ@public.gmane.org>,
Grant Likely
<grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Dan Williams
<dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Vinod Koul <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Ian Campbell
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Alexander Popov
<alex.popov-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>,
linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v3 0/3] powerpc/512x: add LocalPlus Bus FIFO device driver
Date: Thu, 24 Sep 2015 20:28:54 +0300 [thread overview]
Message-ID: <1443115737-3948-1-git-send-email-alex.popov@linux.com> (raw)
This driver for Freescale MPC512x LocalPlus Bus FIFO (called SCLPC
in the Reference Manual) allows Direct Memory Access transfers
between RAM and peripheral devices on LocalPlus Bus.
Changes in v3:
- resource usage in probe() is fixed;
- driver methods are made safe against remove();
- dma_request_slave_channel() is used to get DMA channel number from
the device tree;
- chip select number concerned with the DMA transaction is determined
from 'localbus' device tree node information;
- register set is described as a structure;
- symbolic names are given to shift counts to keep magic numbers
out of the code;
- choosing values for LPBFIFO BPT (bytes per transfer) and DMA maxburst
is improved, so DMA transfer size has increased for some cases;
- device tree binding for LPBFIFO is documented;
- Kconfig and Makefile are improved;
- email address "a13xp0p0v88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" is changed to a more pleasant
alias "alex.popov-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org";
Alexander Popov (3):
powerpc/512x: add LocalPlus Bus FIFO device driver
powerpc/512x: add a device tree binding for LocalPlus Bus FIFO
dmaengine: mpc512x: initialize with subsys_initcall()
.../bindings/powerpc/fsl/mpc512x_lpbfifo.txt | 21 +
arch/powerpc/boot/dts/mpc5121.dtsi | 11 +-
arch/powerpc/boot/dts/mpc5125twr.dts | 11 +-
arch/powerpc/configs/mpc512x_defconfig | 1 +
arch/powerpc/include/asm/mpc5121.h | 59 +++
arch/powerpc/platforms/512x/Kconfig | 6 +
arch/powerpc/platforms/512x/Makefile | 1 +
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 560 +++++++++++++++++++++
drivers/dma/mpc512x_dma.c | 12 +-
9 files changed, 678 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/mpc512x_lpbfifo.txt
create mode 100644 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
--
1.9.1
--
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:[~2015-09-24 17:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 17:28 Alexander Popov [this message]
2015-09-24 17:28 ` [PATCH v3 1/3] powerpc/512x: add LocalPlus Bus FIFO device driver Alexander Popov
[not found] ` <1443115737-3948-2-git-send-email-alex.popov-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
2015-09-25 1:01 ` Timur Tabi
[not found] ` <56049CD0.7080104-N01EOCouUvQ@public.gmane.org>
2015-09-28 13:13 ` Alexander Popov
[not found] ` <56093CE5.5070301-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
2015-09-28 13:18 ` Timur Tabi
[not found] ` <56093E1D.4080008-N01EOCouUvQ@public.gmane.org>
2015-09-29 6:34 ` Alexander Popov
2015-09-30 21:24 ` Alexander Popov
[not found] ` <560C5325.6070406-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
2015-10-01 17:11 ` Timur Tabi
2015-10-05 22:22 ` Alexander Popov
2015-09-24 17:28 ` [PATCH v3 2/3] powerpc/512x: add a device tree binding for LocalPlus Bus FIFO Alexander Popov
2015-09-25 0:18 ` Timur Tabi
2015-09-28 13:24 ` Alexander Popov
[not found] ` <56093F89.1020004-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
2015-09-28 13:26 ` Timur Tabi
[not found] ` <5609401F.3010603-N01EOCouUvQ@public.gmane.org>
2015-09-29 6:35 ` Alexander Popov
2015-09-24 17:28 ` [PATCH v3 3/3] dmaengine: mpc512x: initialize with subsys_initcall() Alexander Popov
2015-09-25 0:16 ` Timur Tabi
2015-09-28 13:15 ` Alexander Popov
[not found] ` <1443115737-3948-4-git-send-email-alex.popov-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
2015-10-07 14:17 ` Vinod Koul
2015-10-07 21:31 ` Alexander Popov
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=1443115737-3948-1-git-send-email-alex.popov@linux.com \
--to=alex.popov-vytec60ixjuavxtiumwx3w@public.gmane.org \
--cc=agust-ynQEQJNshbs@public.gmane.org \
--cc=benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org \
--cc=dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=gsi-ynQEQJNshbs@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org \
--cc=paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=timur-N01EOCouUvQ@public.gmane.org \
--cc=vinod.koul-ral2JQCrhuEAvxtiuMwx3w@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).