kernel-ark/arch/arm/mach-exynos
Javier Martinez Canillas b030485220 ARM: EXYNOS: Clear OF_POPULATED flag from PMU node in IRQ init callback
The Exynos PMU node is an interrupt, clock and PMU (Power Management Unit)
controller, and these functionalities are supported by different drivers
that matches the same compatible strings.

Since commit 15cc2ed6dc ("of/irq: Mark initialised interrupt controllers
as populated") the OF core flags interrupt controllers registered with the
IRQCHIP_DECLARE() macro as OF_POPULATED, so platform devices with the same
compatible string as the interrupt controller will not be registered.

This prevents the PMU platform device to be registered so the Exynos PMU
driver is never probed. This breaks (among other things) Suspend-to-RAM.

Fix this by clearing the OF_POPULATED flag in the PMU IRQ init callback,
to allow the Exynos PMU platform driver to be probed. The patch is based
on Philipp Zabel's "ARM: imx6: mark GPC node as not populated after irq
init to probe pm domain driver".

Fixes: 15cc2ed6dc ("of/irq: Mark initialised interrupt controllers as populated")
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2016-08-30 10:49:18 +02:00
..
include/mach ARM: EXYNOS: Remove SROM related register settings from mach-exynos 2016-04-18 14:25:28 +02:00
common.h ARM: SAMSUNG: Fix missing s5p_init_cpu() declaration 2016-06-22 12:33:14 +02:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
firmware.c ARM: EXYNOS: Fixups for big-endian operation 2016-06-21 13:25:58 +02:00
headsmp.S ARM: EXYNOS: Fixups for big-endian operation 2016-06-21 13:25:58 +02:00
Kconfig ARM: SoC driver updates for v4.8 2016-08-01 18:36:01 -04:00
Makefile Topic branch for Exynos MFC changes for v4.8: 2016-06-19 22:39:15 -07:00
mcpm-exynos.c ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung" 2016-02-25 10:13:36 +09:00
platsmp.c ARM: EXYNOS: Fixups for big-endian operation 2016-06-21 13:25:58 +02:00
pm.c ARM: EXYNOS: Fixup endian in pm/pmu 2016-06-21 13:26:31 +02:00
sleep.S ARM: 8325/1: exynos: move resume code to .text section 2015-03-29 23:11:57 +01:00
smc.h ARM: EXYNOS: add AFTR mode support for Exynos3250 2015-03-27 02:35:48 +09:00
suspend.c ARM: EXYNOS: Clear OF_POPULATED flag from PMU node in IRQ init callback 2016-08-30 10:49:18 +02:00