linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arend@broadcom.com (Arend van Spriel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drivers: brcmaxi: provide amba axi functionality in separate module
Date: Sat, 23 Apr 2011 17:07:19 +0200	[thread overview]
Message-ID: <op.vuecahou3ri7v4@arend-laptop> (raw)
In-Reply-To: <BANLkTinUWNvkigqkOQeYsyaAKnVXOCji8w@mail.gmail.com>

On Sat, 23 Apr 2011 14:33:21 +0200, Jonas Gorski <jonas.gorski@gmail.com>  
wrote:

> On 21 April 2011 16:38, Arend van Spriel <arend@broadcom.com> wrote:
>> Would it be possible to make chipcommon driver optional (not doing the
>> initialization)?
>
> This would need to be done on a per-device/bus basis, at least for
> embedded. Consider the following setup (which is quite common for dual
> band routers):
>
> BCM4718 (bus A)
   +- MIPS74k
> +- Common Core <- provides flash write access, GPIOs, watchdog, ...
> +- 802.11 Core <- for 2.4Ghz wifi
> +- PCIe Core
>   + BCM43224 (bus B)
>     +- Common Core
>     +- 802.11 Core <- for 5Ghz wifi
>
> (I omitted any cores not relevant for the example)

The MIPS may be relevant as well ;-)

In the example above I would expect two axi bus driver instances for bus A  
and bus B.

> So eventually you want to able to drive both 802.11 cores, but can't
> exclusively claim both common cores.

I would expect to be probed twice. One call for 2.4GHz 802.11 core  
referencing to bus A and one call for 5GHz 802.11 core referencing to bus  
B.

Regarding chipcommon I agree that it requires one init sequence per  
device. I would just like to have the option to provide a custom  
initialization function for chip common (and possibly pcie) somehow.

Gr. AvS
-- 
"The world is indeed comic, but the joke is on mankind." ? H.P. Lovecraft

      reply	other threads:[~2011-04-23 15:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 20:34 [PATCH] drivers: brcmaxi: provide amba axi functionality in separate module Arend van Spriel
2011-04-21 14:12 ` Arnd Bergmann
2011-04-21 14:38   ` Arend van Spriel
2011-04-21 14:50     ` Arnd Bergmann
2011-04-23 12:33     ` Jonas Gorski
2011-04-23 15:07       ` Arend van Spriel [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=op.vuecahou3ri7v4@arend-laptop \
    --to=arend@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.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).