]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3e6009b93526f61c09106d6d46e366363dbcb12
treeab9bb405b5d63f87a6156503e20c3e6d48d01215
parentdb932c895b096c0889dbc91f56f2ceec0cf4304b
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