linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v2 0/6] ARM: shmobile: Add rcar-gpio clock support
Date: Mon, 14 Apr 2014 23:06:55 +0000	[thread overview]
Message-ID: <20140414230655.GH22518@verge.net.au> (raw)
In-Reply-To: <1397500397-12607-1-git-send-email-geert@linux-m68k.org>

On Mon, Apr 14, 2014 at 08:33:11PM +0200, Geert Uytterhoeven wrote:
> This series adds support to control the MSTP clocks of the GPIO blocks
> on R-Car Gen2 SoCs. Currently we depend on reset state / the bootloader to
> have the right clocks enabled. If they're not enabled, GPIO will fail,
> but not crash:
>   - No heartbeat LED (if you had it enabled),
>   - Keypad switches don't work,
>   - System doesn't wake-up from suspend when pressing a keypad switch.
> 
> After applying this series, the MSTP clocks of the GPIO blocks will be
> enabled automatically by runtime PM (or statically, if CONFIG_PM_RUNTIME=n)
> during boot up.
> 
>   - [1/6] gpio: rcar: Add optional functional clock to bindings
>   - [2/6] gpio: rcar: Add minimal runtime PM support

I believe that the above two patches need to be merged
by Linus Walleij.

>   - [3/6] ARM: shmobile: r8a7790 dtsi: Add GPIO clocks
>   - [4/6] ARM: shmobile: r8a7791 dtsi: Add GPIO clocks

The above two dtsi patches appear to depend on the new binding added
by patch 1. If that is so please repost them once the binding has been
merged.

>   - [5/6] ARM: shmobile: r8a7790 legacy: Add GPIO clocks
>   - [6/6] ARM: shmobile: r8a7791 legacy: Add GPIO clocks
> 
> For legacy, this should work as-is.

For legacy, is patch 2 required in order for patches 5 and 6 to have
any effect?

> For multiplatform, this needs a method to enable drivers/sh/pm_runtime.c to
> actually work.
> 
> This was tested on r8a7791/Koelsch, both legacy and multiplatform.
> The changes for r8a7790 were straight-forward.
> R-Car Gen1 doesn't seem to be affected, at least the r8a7778 datasheet
> doesn't mention MSTP bits for GPIO modules.

Thanks, good to know.

> Thanks for applying!
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
> 

  parent reply	other threads:[~2014-04-14 23:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 18:33 [PATCH v2 0/6] ARM: shmobile: Add rcar-gpio clock support Geert Uytterhoeven
2014-04-14 18:33 ` [PATCH v2 1/6] gpio: rcar: Add optional functional clock to bindings Geert Uytterhoeven
2014-04-15 15:56   ` Laurent Pinchart
2014-04-22 21:34   ` Linus Walleij
2014-04-14 18:33 ` [PATCH v2 2/6] gpio: rcar: Add minimal runtime PM support Geert Uytterhoeven
2014-04-16 11:26   ` Laurent Pinchart
2014-04-23  7:03   ` Linus Walleij
2014-04-23  7:13     ` Geert Uytterhoeven
2014-04-14 23:06 ` Simon Horman [this message]
2014-04-15  7:52 ` [PATCH v2 0/6] ARM: shmobile: Add rcar-gpio clock support Geert Uytterhoeven

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=20140414230655.GH22518@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-sh@vger.kernel.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).