Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: sh: Disable legacy default PM Domain on emev2

EMMA Mobile EV2 doesn't have MSTP clocks. All its device drivers manage
clocks explicitly, without relying on Runtime PM, so it doesn't need the
legacy default PM Domain.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Geert Uytterhoeven and committed by
Simon Horman
9b302c1a 6ff33f39

+1 -2
+1 -2
drivers/sh/pm_runtime.c
··· 35 35 static int __init sh_pm_runtime_init(void) 36 36 { 37 37 if (IS_ENABLED(CONFIG_ARCH_SHMOBILE_MULTI)) { 38 - if (!of_machine_is_compatible("renesas,emev2") && 39 - !of_machine_is_compatible("renesas,r7s72100") && 38 + if (!of_machine_is_compatible("renesas,r7s72100") && 40 39 #ifndef CONFIG_PM_GENERIC_DOMAINS_OF 41 40 !of_machine_is_compatible("renesas,r8a73a4") && 42 41 !of_machine_is_compatible("renesas,r8a7740") &&