Skip to contentSkip to conversation

ARM: zx: Add power domains for ZX296702

PATCH New Jun Nie 2 participants 2 messages Jul 29, 2015

Subsystems (2)
lore
Share & tools
lore

Jun Nie

author
#0 lore raw

PATCH 1/1 ARM: zx: Add power domains for ZX296702

Add power domains for ZX296702 to power off
inactive power domains in runtime.

---
 arch/arm/mach-zx/Kconfig              |   1 +
 arch/arm/mach-zx/Makefile             |   2 +-
 arch/arm/mach-zx/zx296702-pm-domain.c | 202 ++++++++++++++++++++++++++++++++++
 3 files changed, 204 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/mach-zx/zx296702-pm-domain.c
arch/arm/mach-zx/Kconfig +1 -0
index 2a910dc..7fdc5bf 100644
@@ -13,6 +13,7 @@ config SOC_ZX296702
 	select ARM_GLOBAL_TIMER
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
+	select PM_GENERIC_DOMAINS
 	help
 	  Support for ZTE ZX296702 SoC which is a dual core CortexA9MP
 endif
arch/arm/mach-zx/Makefile +1 -1
index 7c2edf6..a4b4864 100644
@@ -1,2 +1,2 @@
-obj-$(CONFIG_SOC_ZX296702) += zx296702.o
+obj-$(CONFIG_SOC_ZX296702) += zx296702.o zx296702-pm-domain.o
 obj-$(CONFIG_SMP) += headsmp.o platsmp.o
arch/arm/mach-zx/zx296702-pm-domain.c new file +202 -0

202 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: zx: Add power domains for ZX296702

Quoted 4 lines · Jun Nie

Add power domains for ZX296702 to power off
inactive power domains in runtime.

Applied to next/soc.

-Olof