linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Dan Williams <dan.j.williams@intel.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, 09 Sep 2007 16:48:47 -0500	[thread overview]
Message-ID: <46E46A3F.2050708@freescale.com> (raw)
In-Reply-To: <e9c3a7c20709091053u607e710ay1eb76c53312706ea@mail.gmail.com>

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.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  reply	other threads:[~2007-09-09 21:47 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 [this message]
2007-09-09 22:10     ` Dan Williams
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=46E46A3F.2050708@freescale.com \
    --to=timur@freescale.com \
    --cc=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 \
    /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).