ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus
Subsystems (3)
Tony Lindgren
maintainerPATCH 1/1 ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus
We now depend on SIMPLE_PM_BUS for probing devices. While we have it selected in omap2plus_defconfig, custom configs can fail if it's missing.
As SIMPLE_PM_BUS depends on OF and PM, we must now select them in Kconfig.
--- arch/arm/mach-omap2/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-omap2/Kconfig +2 -1
@@ -105,8 +105,10 @@ config ARCH_OMAP2PLUS select OMAP_DM_TIMER select OMAP_GPMC select PINCTRL + select PM select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM + select SIMPLE_PM_BUS if OF && PM select RESET_CONTROLLER select SOC_BUS select TI_SYSC
@@ -133,7 +135,6 @@ config ARCH_OMAP2PLUS_TYPICAL select I2C_OMAP select MENELAUS if ARCH_OMAP2 select NEON if CPU_V7 - select PM select REGULATOR select REGULATOR_FIXED_VOLTAGE select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
Signature · 1 line
2.30.0
Hi Tony,
Quoted 9 lines · Tony Lindgren
We now depend on
SIMPLE_PM_BUSfor probing devices. While we have it selected inomap2plus_defconfig, custom configs can fail if it's missing.As
SIMPLE_PM_BUSdepends on OF and PM, we must now select them inKconfig.Reported-by Geert Uytterhoeven <[email protected]>Reported-by Matti Vaittinen <[email protected]>Fixes 5a230524f879 ("ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup")Signed-off-by Tony Lindgren <[email protected]>
Thanks for your patch!
arch/arm/mach-omap2/Kconfig config ARCH_OMAP2PLUS · line 111
Quoted 10 lines
arch/arm/mach-omap2/Kconfig +2
-0@@ -105,8 +105,10 @@ config ARCH_OMAP2PLUS select OMAP_DM_TIMER select OMAP_GPMC select PINCTRL + select PM select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM + select SIMPLE_PM_BUS if OF && PM
PM is selected above, so those 3 dependencies on PM can be removed. ARCH_OMAP2PLUS depends on ARCH_MULTIPLATFORM, which selects USE_OF and thus OF?
Quoted 12 lines
arch/arm/mach-omap2/Kconfig +0
-2select RESET_CONTROLLER select SOC_BUS select TI_SYSC@@ -133,7 +135,6 @@ config ARCH_OMAP2PLUS_TYPICAL select I2C_OMAP select MENELAUS if ARCH_OMAP2 select NEON if CPU_V7 - select PM select REGULATOR select REGULATOR_FIXED_VOLTAGE select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 --
Quoted 1 line
2.30.0
--
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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
Tony Lindgren
maintainerQuoted 15 lines · Geert Uytterhoeven
arch/arm/mach-omap2/Kconfig config ARCH_OMAP2PLUS · line 111
Quoted 10 lines · Tony Lindgren
arch/arm/mach-omap2/Kconfig +2
-0@@ -105,8 +105,10 @@ config ARCH_OMAP2PLUS select OMAP_DM_TIMER select OMAP_GPMC select PINCTRL + select PM select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM + select SIMPLE_PM_BUS if OF && PMPM is selected above, so those 3 dependencies on PM can be removed.
ARCH_OMAP2PLUSdepends onARCH_MULTIPLATFORM, which selectsUSE_OFand thus OF?
Yeah OK I'll drop those. And fix the sorting issue I noticed for Kconfig :)
Regards,
Tony