ARM: OMAP4+: PRM: add support for passing status register/bit info to reset
authorTero Kristo <t-kristo@ti.com>
Tue, 5 May 2015 13:33:04 +0000 (16:33 +0300)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 May 2015 19:05:15 +0000 (13:05 -0600)
commit4ebf5b288c57767ad62e63c5fc0e586f0210e36c
treec5a653cc5a00e96021e26e75587b267c60a2c28f
parent9a55706221812e4b609320ed41b7b149da981e51
ARM: OMAP4+: PRM: add support for passing status register/bit info to reset

AM43xx has slightly different reset register layout compared to OMAP4+,
with varying status bit shifts and status register offsets. Current
code assumes static offsets and identical status / reset control bit
shifts, which is wrong. This patch adds PRM core support for passing
the actual implementations from hwmod code. AM43xx mappings will be fixed
in subsequent patch.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Dave Gerlach <d-gerlach@ti.com>
Reported-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/prminst44xx.c