From: "Dan Williams" <dan.j.williams@intel.com>
To: "Timur Tabi" <timur@freescale.com>
Cc: linuxppc-dev@ozlabs.org, shannon.nelson@intel.com,
paulus@samba.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.
Date: Sun, 9 Sep 2007 15:10:12 -0700 [thread overview]
Message-ID: <e9c3a7c20709091510i723ca2b8sb08b3b1f9d4e031a@mail.gmail.com> (raw)
In-Reply-To: <46E46A3F.2050708@freescale.com>
On 9/9/07, Timur Tabi <timur@freescale.com> wrote:
> Dan Williams wrote:
>
> > This routine implies that there is a piece of code somewhere that
> > wants to select which channels it can use. A similar effect can be
> > achieved by registering a dma_client with the dmaengine interface
> > ('dma_async_client_register'). Then when the client code makes a call
> > to 'dma_async_client_chan_request' it receives a 'dma_event_callback'
> > for each channel in the system. It will also be asynchronously
> > notified of channels entering and leaving the system. The goal is to
> > share a common infrastructure for channel management.
>
> Are you familiar with the "flat device tree" used for PowerPC systems? The
> "piece of code somewhere" is the device tree subsystem that parses the device
> tree, which is compiled from the .dts files in arch/powerpc/boot/dts.
>
> The FDT is how PowerPC systems specify hardware configuration. In the case of
> 85xx, the FDT contains entries for each DMA device (typically 2), and the
> entries contain sub-entries for each DMA channel as well as the address of the
> register sets for each channel.
>
Ahh, ok then this code is replacing what would normally be handled by
the PCI bus enumeration code, or the platform device registrations for
iop-adma in arch/arm/mach-iop13xx. Sorry for the noise with this
comment.
> --
> Timur Tabi
> Linux Kernel Developer @ Freescale
> -
Thanks,
Dan
next prev parent reply other threads:[~2007-09-09 22:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 10:54 [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors Zhang Wei
2007-09-07 15:58 ` Randy Dunlap
2007-09-11 10:06 ` Zhang Wei-r63237
2007-09-11 14:20 ` Randy Dunlap
2007-09-07 16:00 ` Nelson, Shannon
2007-09-11 10:10 ` Zhang Wei-r63237
2007-09-11 14:20 ` Scott Wood
2007-09-11 15:15 ` Nelson, Shannon
2007-09-09 17:53 ` Dan Williams
2007-09-09 21:48 ` Timur Tabi
2007-09-09 22:10 ` Dan Williams [this message]
2007-09-11 10:30 ` Zhang Wei-r63237
2007-09-13 17:17 ` Dan Williams
[not found] ` <20070907223553.GA18599@freescale.com>
2007-09-13 10:13 ` [PATCH 5/5] Add DMA engine driver for Freescale MPC85xxprocessors Zhang Wei-r63237
2007-09-13 14:49 ` Scott Wood
2007-09-13 16:25 ` Dan Williams
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=e9c3a7c20709091510i723ca2b8sb08b3b1f9d4e031a@mail.gmail.com \
--to=dan.j.williams@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=shannon.nelson@intel.com \
--cc=timur@freescale.com \
/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).