drivers: sh: Disable PM runtime for multi-platform r8a7740 with genpd
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 3 Dec 2014 13:41:47 +0000 (14:41 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 22:26:12 +0000 (07:26 +0900)
commita5cb514f1f689a48595370a368b568e2f551ddfd
treed617300710421750c2232b15d6e9fdad34a243a7
parentc517d838eb7d07bbe9507871fab3931deccff539
drivers: sh: Disable PM runtime for multi-platform r8a7740 with genpd

If the default PM domain using PM_CLK is used for PM runtime, the real PM
domain(s) cannot be registered from DT later.

Hence do not enable it when running a multi-platform kernel with genpd
support on an r8a7740. The R-Mobile PM domain driver will take care of
PM runtime management of the module clocks.

The default PM domain is still needed for:
  - platforms without genpd support,
  - the legacy (non-DT) case, where genpd may take over later, except
    for the C5 "always on" PM domain.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/pm_runtime.c