linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM: shmobile: Add rcar-gpio clock support
@ 2014-03-27 20:47 Geert Uytterhoeven
  2014-03-27 20:47 ` [PATCH 1/7] gpio: rcar: Add helper variable dev = &pdev->dev Geert Uytterhoeven
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-03-27 20:47 UTC (permalink / raw)
  To: linux-sh

This series adds support to control the MSTP clocks of the GPIO blocks
on R-Car 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/7] gpio: rcar: Add helper variable dev = &pdev->dev
    [2/7] gpio: rcar: Add optional functional clock to bindings
    [3/7] gpio: rcar: Add minimal runtime PM support
    [4/7] ARM: shmobile: r8a7790 dtsi: Add GPIO clocks
    [5/7] ARM: shmobile: r8a7791 dtsi: Add GPIO clocks
    [6/7] ARM: shmobile: r8a7790 legacy: Add GPIO clocks
    [7/7] ARM: shmobile: r8a7791 legacy: Add GPIO clocks

For multiplatform, this depends on the series "[PATCH 0/5] ARM: shmobile:
Enable drivers/sh/pm_runtime.c on multi-platform" (or any other method
to enable drivers/sh/pm_runtime.c) to actually work.

For legacy, this slightly conflicts with that series, as
sh_pm_runtime_init() will be called too late to actually work.

However, it should be safe to apply this series, even without the
prerequisites.

This was tested on r8a7791/Koelsch, both legacy and multiplatform.
The changes for r8a7790 were straight-forward.
Similar changes will have to be made for r8a7778 and r8a7779, but I don't
have datasheets for those.

Thanks!

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-03-31 10:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 20:47 [PATCH 0/7] ARM: shmobile: Add rcar-gpio clock support Geert Uytterhoeven
2014-03-27 20:47 ` [PATCH 1/7] gpio: rcar: Add helper variable dev = &pdev->dev Geert Uytterhoeven
2014-03-28 16:57   ` Laurent Pinchart
2014-03-28 20:55   ` Linus Walleij
2014-03-27 20:47 ` [PATCH 2/7] gpio: rcar: Add optional functional clock to bindings Geert Uytterhoeven
2014-03-28 16:53   ` Laurent Pinchart
2014-03-31  9:55     ` Geert Uytterhoeven
2014-03-31 10:15       ` Laurent Pinchart
2014-03-27 20:47 ` [PATCH 3/7] gpio: rcar: Add minimal runtime PM support Geert Uytterhoeven
2014-03-28 16:54   ` Laurent Pinchart
2014-03-31 10:04     ` Geert Uytterhoeven
2014-03-27 20:47 ` [PATCH 4/7] ARM: shmobile: r8a7790 dtsi: Add GPIO clocks Geert Uytterhoeven
     [not found] ` <1395953262-4290-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
2014-03-27 20:47   ` [PATCH 5/7] ARM: shmobile: r8a7791 " Geert Uytterhoeven
2014-03-27 20:47 ` [PATCH 6/7] ARM: shmobile: r8a7790 legacy: " Geert Uytterhoeven
2014-03-27 20:47 ` [PATCH 7/7] ARM: shmobile: r8a7791 " Geert Uytterhoeven

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).