linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: shmobile: Enable drivers/sh/pm_runtime.c on multi-platform
@ 2014-03-19 19:06 Geert Uytterhoeven
  2014-03-20  1:48 ` Laurent Pinchart
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2014-03-19 19:06 UTC (permalink / raw)
  To: linux-sh

This patchset enables the PM runtime code in drivers/sh/pm_runtime.c when
running a multi-platform ARM kernel including support for shmobile.
Before this code was only enabled for legacy shmobile kernels, leading to
disabled clocks in multiplatform kernels, depending on implicit reset state
or on the bootloader.

  [1/5] drivers: sh: pm_runtime does not need idle callback
  [2/5] sh: intc: Restrict INTC_USERIMASK to SH4A
  [3/5] drivers: sh: compile drivers/sh/pm_runtime.c if ARCH_SHMOBILE_MULTI
  [4/5] ARM: shmobile: Call sh_pm_runtime_init() from platform code on all
        SoCs
  [5/5] drivers: sh: Remove automatic sh_pm_runtime_init() if
        ARCH_SHMOBILE_LEGACY

Patches 1 and 3 were authored by Ben Dooks, with some changes made by me
(for patch 3). Patch 4 was based on a patch by Ben for r8a7790.

After this it should be safe to revert the various commits to "Work around
core clock issues". Note that this is just a port of the existing
sh(mobile)-specifc PM runtime code from legacy to multi-platform, so
expect more work to fix the core issues.

This was tested on Koelsch, both legacy and multi-platform.

Many thanks to Ben Dooks, Laurent Pinchart, and Magnus Damm for the
valuable input, investigations, and discussions.

Thanks for your comments, and test results on other boards/SoCs (esp.
SoCs supporting power domains, like sh7372, r8a7740, and r8a7779)!

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] 11+ messages in thread

end of thread, other threads:[~2014-04-14  5:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 19:06 [PATCH 0/5] ARM: shmobile: Enable drivers/sh/pm_runtime.c on multi-platform Geert Uytterhoeven
2014-03-20  1:48 ` Laurent Pinchart
2014-03-20  8:56 ` Ben Dooks
2014-03-20  9:14 ` Geert Uytterhoeven
2014-03-20  9:35 ` Ben Dooks
2014-03-20 11:59 ` Laurent Pinchart
2014-03-20 12:13 ` Geert Uytterhoeven
2014-03-20 12:18 ` Geert Uytterhoeven
2014-03-20 12:19 ` Laurent Pinchart
2014-03-20 12:24 ` Ben Dooks
2014-04-14  5:10 ` Kuninori Morimoto

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