reset: hisilicon: Change to syscon register access
authorChen Feng <puck.chen@hisilicon.com>
Mon, 20 Jun 2016 03:50:06 +0000 (11:50 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 21:39:09 +0000 (23:39 +0200)
commit8768a26cea4c54eb8d38bc063fbfba7c60c571f4
treeab9bb405b5d63f87a6156503e20c3e6d48d01215
parent339d00cb173a5eb283d3b8d617fa97a3a46ada2f
reset: hisilicon: Change to syscon register access

There are two reset controllers in hi6220 SoC:
The peripheral reset controller bits are part of sysctrl registers.
The media reset controller bits are part of mediactrl registers.

So change register access to syscon way.
And rename current reset controller to peripheral one.

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Xia Qing <saberlily.xia@hisilicon.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/hisilicon/hi6220_reset.c