All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] ARM: u300: push down syscon registers
Date: Thu, 2 May 2013 19:39:48 +0200	[thread overview]
Message-ID: <201305021939.48381.arnd@arndb.de> (raw)
In-Reply-To: <CACRpkdayJCm-PcY_=+NDraEPn0m6BrjNRH+tYp3Abar43RamaA@mail.gmail.com>

On Thursday 02 May 2013, Linus Walleij wrote:
> > How do those drivers get to the SYSCON base address? Should they
> > be using drivers/mfd/syscon.c as the multiplexor instead?
> 
> No, there is no mutex to be taken. The consecutive range of memory
> addresses are used by different things (mainly the clocks) but there
> is no register that needs to be protected against access from two
> subsystems simultaneously.
> 
> As a follow-up to this series I plan to move also the U300 clocks
> to the device tree (similar three-step ladder as used for the Nomadik)
> and then they will (hopefully) get the syscon base address from the
> device tree.

I was less worried about mutexes than a correct representation
in the device tree. With the syscon driver, you can have the
register ranges described exactly once and just use the offsets
on the regmap in the other drivers.

	Arnd

  reply	other threads:[~2013-05-02 17:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-02 16:16 [PATCH 0/7] ARM: u300 multiplatform support Linus Walleij
2013-05-02 16:16 ` [PATCH 1/7] ARM: u300: push down syscon registers Linus Walleij
2013-05-02 16:21   ` Arnd Bergmann
2013-05-02 16:38     ` Linus Walleij
2013-05-02 17:39       ` Arnd Bergmann [this message]
2013-05-03  8:01         ` Linus Walleij
2013-05-03  8:01           ` Linus Walleij
2013-05-03 14:43           ` Arnd Bergmann
2013-05-03 14:43             ` Arnd Bergmann
2013-05-03  4:04   ` Mike Turquette
2013-05-02 16:16 ` [PATCH 2/7] ARM: u300: remove deps from debug macro Linus Walleij
2013-05-02 16:16 ` [PATCH 3/7] ARM: u300: delete <mach/hardware.h> Linus Walleij
2013-05-02 16:16 ` [PATCH 4/7] ARM: u300: delete <mach/irqs.h> Linus Walleij
2013-05-02 16:16 ` [PATCH 5/7] ARM: u300: localize <mach/u300-regs.h> Linus Walleij
2013-05-02 16:16 ` [PATCH 6/7] ARM: u300: convert to multiplatform Linus Walleij
2013-05-02 16:16 ` [PATCH 7/7] ARM: u300: delete remnant machine headers Linus Walleij
2013-05-02 16:23 ` [PATCH 0/7] ARM: u300 multiplatform support Arnd Bergmann

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=201305021939.48381.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.