ARM: OMAP2+: CM: add support for getting phys address for a clkctrl register
authorTero Kristo <t-kristo@ti.com>
Fri, 4 Aug 2017 14:37:45 +0000 (17:37 +0300)
committerTero Kristo <t-kristo@ti.com>
Mon, 4 Dec 2017 09:35:20 +0000 (11:35 +0200)
commit5fa4a3cc5853928b6d66001039b0479641b00bd6
tree183f24df333e26be2f63bf1e95e8d4ab363f1069
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ARM: OMAP2+: CM: add support for getting phys address for a clkctrl register

Add a new CM API for fetching the physical address of a hwmod clkctrl
register. This is needed to map omap hwmods against clkctrl clocks, the
existing support for clkdm address translation was not sufficient to
handle the mutant cases where the clockdomain offset is completely
off from the clkctrl ones.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/cm_common.c