From: Kumar Gala <galak@kernel.crashing.org>
To: Gerhard Sittig <gsi@denx.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Scott Wood <scottwood@freescale.com>,
"linuxppc-dev@lists.ozlabs.org list"
<linuxppc-dev@lists.ozlabs.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>,
Xie Xiaobo <X.Xie@freescale.com>
Subject: Re: [PATCH] powerpc/qe_lib: Share the qe_lib for the others architecture
Date: Wed, 16 Oct 2013 13:12:59 -0500 [thread overview]
Message-ID: <385E3F55-85BB-4E28-A396-FA54DEE1B1AB@kernel.crashing.org> (raw)
In-Reply-To: <20131015131606.GA2700@book.gsilab.sittig.org>
On Oct 15, 2013, at 8:16 AM, Gerhard Sittig wrote:
> On Mon, Oct 14, 2013 at 13:09 -0700, Greg Kroah-Hartman wrote:
>>
>> On Mon, Oct 14, 2013 at 02:40:44PM -0500, Kumar Gala wrote:
>>>
>>> Greg,
>>>
>>> Wondering your thoughts on drivers/qe vs something like
>>> drivers/soc/fsl/qe. The QuiccEngine (qe) is a communication core on
>>> some of the Freescale networking SoCs that provides the ability to do
>>> various networking/communication functionality. "Channels" on the QE
>>> can be used for various different things from ethernet, ATM, UART, or
>>> other functions.
>>
>> What makes the code "QE" specific? Are these devices that live on the
>> QE "bus", or are they controlling the QE controller?
>
> You may think of the QUICC as a "programmable bitbang machine" if
> you like. The very same component runs arbitrary and rather
> different protocols depending on how you setup its parameters.
>
> There have been serial controllers capable of different protocols
> like UART or SPI or I2S, but all of them are "serial
> communication". There have been memory controllers which could
> bitbang different protocols (NAND, NOR/SRAM, DRAM), but all of
> them are "memory".
>
> The QUICC is just a little more versatile, and appears to cover
> cases which reside in different Linux kernel subsystems (like:
> it's neither serial nor network exclusively, but can be either
> and potentially more).
>
> IIUC the question which Kumar Gala was asking is where to put
> code for the component which is neither a strict subset of any
> subsystem. Please correct me if I'm wrong.
Thanks for the description.
Yeah, the actual ethernet, usb, serial drivers that exist with QE live today in proper drivers/ dirs. This is the infrastructure that those drivers utilize that isn't quite related to an existing subsystem. Mostly set up of channel state/cfg/etc.
- k
prev parent reply other threads:[~2013-10-16 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1381750622-1150-1-git-send-email-X.Xie@freescale.com>
[not found] ` <8559CF98-88E4-4271-A873-1409359EFE5C@kernel.crashing.org>
2013-10-14 19:40 ` Kumar Gala
2013-10-14 20:09 ` Greg Kroah-Hartman
2013-10-15 13:16 ` Gerhard Sittig
2013-10-16 18:12 ` Kumar Gala [this message]
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=385E3F55-85BB-4E28-A396-FA54DEE1B1AB@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=X.Xie@freescale.com \
--cc=gregkh@linuxfoundation.org \
--cc=gsi@denx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@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
all inboxes | Powered by JetHome®