Currently gic-pm driver is not getting used by any of the Tegra devices. In fact, the driver is not getting compiled. This series is to ensure, * build support for driver * replace pm_clk interface with devm_clk * fix suspend path This is used by AGIC(Audio Generic Interrupt Controller) block in audio pipeline. Changelog ========= v1->v2: ------- following patches are dropped from v1 *[patch 1/5] irqchip/gic-pm: add driver remove support *[patch 2/5] irqchip/gic: allow gic-pm driver to be used as module *[patch 3/5] arm64: defconfig: build gic-pm driver as module The reason for this is, removing gic-pm driver would lead to potential kernel panic or memory corruption. Thus module option for gic-pm is rejected. v2 has 3 patches and the details are below, [patch 1/3] arm64: tegra: select ARM_GIC_PM * ARM_GIC_PM is selected for 64-bit Tegra devices [patch 2/3] irqchip/gic-pm: use devm_clk_*() helpers * similar to patch 4/5 in v1 [patch 3/3] irqchip/gic-pm: fix suspend handling * similar to patch 5/5 in v1 v1: ------- [patch 1/5] irqchip/gic-pm: add driver remove support * preparatory patch for making gic-pm driver module * adds remove path in the driver * gic_teardown() exported from gic driver [patch 2/5] irqchip/gic: allow gic-pm driver to be used as module * ARM_GIC_PM config is changed to tristate to allow it to be module * build errors are fixed by exporting necessary functions from gic driver * fixed load and unload errors [patch 3/5] arm64: defconfig: build gic-pm driver as module * defconfig change to make driver a kernel module [patch 4/5] irqchip/gic-pm: use devm_clk_*() helpers * pm_clk interface is replaced with devm_clk [patch 5/5] irqchip/gic-pm: fix suspend handling * system sleep callbacks added to avoid issues during system wide PM transitions. Sameer Pujar (3): arm64: tegra: select ARM_GIC_PM irqchip/gic-pm: use devm_clk_*() helpers irqchip/gic-pm: fix suspend handling arch/arm64/Kconfig.platforms | 1 + drivers/irqchip/irq-gic-pm.c | 72 ++++++++++++++++++++++++++++------------ 2 files changed, 50 insertions(+), 23 deletions(-) -- 2.7.4