arm: K3: am654: Unlock control module registers during init
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 27 Aug 2018 10:27:12 +0000 (15:57 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 12:32:55 +0000 (08:32 -0400)
commitc68721d93ac87afe4fd88520147015388cbe3875
tree0570f696a225a9bc1f3c40c9dd4f2eacb6fdec44
parente00646099f7219328ed61882211fdb95f380028c
arm: K3: am654: Unlock control module registers during init

By default the device control module registers are locked,
preventing any writes to its registers.
Unlock those registers as part of the init flow.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/include/mach/am6_hardware.h