diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-05-20 03:50:54 -0400 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2016-05-29 20:41:11 -0400 |
| commit | 4c6d7e228968bdc238ae7213d919f34b7838fe59 (patch) | |
| tree | b759a3502ba42dd8ae4f6e906cdd54f8bf1a4a09 /drivers/sh | |
| parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
drivers: sh: Stop using the legacy clock domain on ARM
Since commits 71d076ceb245f0d9 ("ARM: shmobile: Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains") and 2ee98234b88174f2
("arm64: renesas: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM
Domains"), CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled
unconditionally for Renesas ARM-based SoCs. Hence the legacy clock
domain is no longer used on these SoCs.
Remove the related support code, and stop entering drivers/sh/ on ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/sh')
| -rw-r--r-- | drivers/sh/pm_runtime.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c index a9bac3bf20de..c887ecdaf19b 100644 --- a/drivers/sh/pm_runtime.c +++ b/drivers/sh/pm_runtime.c | |||
| @@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = { | |||
| 34 | 34 | ||
| 35 | static int __init sh_pm_runtime_init(void) | 35 | static int __init sh_pm_runtime_init(void) |
| 36 | { | 36 | { |
| 37 | if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) { | ||
| 38 | if (!of_find_compatible_node(NULL, NULL, | ||
| 39 | "renesas,cpg-mstp-clocks")) | ||
| 40 | return 0; | ||
| 41 | if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) && | ||
| 42 | of_find_node_with_property(NULL, "#power-domain-cells")) | ||
| 43 | return 0; | ||
| 44 | } | ||
| 45 | |||
| 46 | pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); | 37 | pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); |
| 47 | return 0; | 38 | return 0; |
| 48 | } | 39 | } |
