OSDN Git Service

soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 6 Jan 2017 09:16:03 +0000 (17:16 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Jan 2017 08:21:10 +0000 (16:21 +0800)
commit4c2c2e39713b8cfbb73d304c830e883f5b2ad9ec
tree600360129ffb206388b39e54717a4a5eb191bddd
parenteea1d99b900fe19dce3042dac555c270221be147
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>
drivers/soc/Kconfig
drivers/soc/Makefile
drivers/soc/zte/Kconfig [new file with mode: 0644]
drivers/soc/zte/Makefile [new file with mode: 0644]
drivers/soc/zte/zx2967_pm_domains.c [new file with mode: 0644]
drivers/soc/zte/zx2967_pm_domains.h [new file with mode: 0644]