aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/zte/Kconfig
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2017-01-06 17:16:03 +0800
committerShawn Guo <shawnguo@kernel.org>2017-01-11 16:21:10 +0800
commit4c2c2e39713b8cfbb73d304c830e883f5b2ad9ec (patch)
tree600360129ffb206388b39e54717a4a5eb191bddd /drivers/soc/zte/Kconfig
parentsoc: zte: Add header for PM domains specifiers (diff)
downloadlinux-dev-4c2c2e39713b8cfbb73d304c830e883f5b2ad9ec.tar.xz
linux-dev-4c2c2e39713b8cfbb73d304c830e883f5b2ad9ec.zip
soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family
The ARMv8 zx2967 family (296718, 296716 etc) uses different value for controlling the power domain on/off registers, Choose the value depending on the compatible. Multiple domains are prepared for the family, this patch prepares the common functions. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/zte/Kconfig')
-rw-r--r--drivers/soc/zte/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/soc/zte/Kconfig b/drivers/soc/zte/Kconfig
new file mode 100644
index 000000000000..20bde38ce2f9
--- /dev/null
+++ b/drivers/soc/zte/Kconfig
@@ -0,0 +1,13 @@
+#
+# ZTE SoC drivers
+#
+menuconfig SOC_ZTE
+ bool "ZTE SoC driver support"
+
+if SOC_ZTE
+
+config ZX2967_PM_DOMAINS
+ bool "ZX2967 PM domains"
+ depends on PM_GENERIC_DOMAINS
+
+endif