sunxi: add PRCM secure switch register definition
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 20 Jul 2017 06:00:31 +0000 (14:00 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 11 Aug 2017 10:19:39 +0000 (15:49 +0530)
commit39858b12cceed3894cc62d194f098396f4306c0c
tree2dc0166b2a3f27fd131cf19880be12db121bcb6d
parent8792a64d87708139bc0cf8b48d4a580a39167473
sunxi: add PRCM secure switch register definition

Some new Allwinner SoCs' PRCM has a secure switch register, which
controls the access to some clock and power registers in PRCM block.

Add the definition of this register and its bits in the PRCM header
file.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/include/asm/arch-sunxi/prcm.h