projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ab016
)
ARM: OMAP2+: hwmod: calculate physical register address on am33xx
author
Tero Kristo
<t-kristo@ti.com>
Wed, 9 Aug 2017 08:57:12 +0000
(11:57 +0300)
committer
Tero Kristo
<t-kristo@ti.com>
Mon, 4 Dec 2017 09:35:21 +0000
(11:35 +0200)
Add support for the address translation logic for am33xx. Needed for
mapping hwmods towards their corresponding clkctrl providers and clocks.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/omap_hwmod.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod.c
b/arch/arm/mach-omap2/omap_hwmod.c
index 4b256c83c17bed74dbe3b78fc1f936ef566f5b9b..5eff27e4f24bbcd6059b6f5241283fae16f09040 100644
(file)
--- a/
arch/arm/mach-omap2/omap_hwmod.c
+++ b/
arch/arm/mach-omap2/omap_hwmod.c
@@
-3519,6
+3519,7
@@
void __init omap_hwmod_init(void)
soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted;
soc_ops.init_clkdm = _init_clkdm;
soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm;
+ soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl;
} else {
WARN(1, "omap_hwmod: unknown SoC type\n");
}