From: Kumar Gala <galak@kernel.crashing.org>
To: Li Yang-r58472 <LeoLi@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] Add QE device tree definition
Date: Fri, 30 Jun 2006 00:37:13 -0500 [thread overview]
Message-ID: <40ED911C-7485-42C6-BDBC-1581AD4BC426@kernel.crashing.org> (raw)
In-Reply-To: <9FCDBA58F226D911B202000BDBAD467306E04FEB@zch01exm40.ap.freescale.net>
>>>>
>>>>>>> + 2) SPI (Serial Peripheral Interface)
>>>>>>> +
>>>>>>> + Required properties:
>>>>>>> + - device_type : should be "spi".
>>>>>>> + - compatible : should be "fsl_spi".
>>>>>>> + - mode : the spi operation mode, it can be "cpu" or "qe".
>>>>>>
>>>>>> What does it mean for the spi to be in "qe" mode?
>>>>> That means:
>>>>> The SPI can operate in QE mode or in CPU mode. In QE mode SPI is
>>>>> compatible to the MPC826x SPI, and is controlled by QE RISC. In
>>>>> CPU
>>>>> mode, the SPI is controlled wholly by the CPU without any QE RISC
>>>>> intervention.
>>>>
>>>> In QE mode does software get involved at all?
>>>
>>> Yes, of course. The driver needs to do initialization, and deal
>>> with the BDs.
>>
>> So what exactly does the QE do in this mode?
>
> Just like CPM. Driver only deal with buffer and buffer
> descriptor. And QE will take care of the other things.
> While in CPU mode, it is up to the CPU to pack and unpack the
> receive/transmit frames. And tx/rx through data registers.
Ohh, so CPU mode matches the 834x then, and QE mode matches 82xx/CPM.
Has anyone looked at extending the 834x driver that is in the tree
now for using descriptors for QE/82xx?
- k
next prev parent reply other threads:[~2006-06-30 5:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 5:28 [PATCH] Add QE device tree definition Li Yang-r58472
2006-06-30 5:37 ` Kumar Gala [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-07-04 4:57 Li Yang-r58472
2006-07-03 6:17 Li Yang-r58472
2006-06-30 4:52 Li Yang-r58472
2006-06-30 5:09 ` Kumar Gala
2006-06-30 3:36 Li Yang-r58472
2006-06-30 4:10 ` Kumar Gala
2006-06-30 17:54 ` Andy Fleming
2006-06-29 12:53 Li Yang-r58472
2006-06-29 23:55 ` Kumar Gala
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=40ED911C-7485-42C6-BDBC-1581AD4BC426@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=LeoLi@freescale.com \
--cc=linuxppc-dev@ozlabs.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).