ARM: omap2+: clockdomain: add clkdm_xlate_address
This new function can be used to get the physical address of a clockdomain. Required for mapping the clkctrl clocks under hwmod without modification to DT data. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:

committed by
Tony Lindgren

parent
9012933671
commit
0bf76e00e5
@@ -1224,6 +1224,14 @@ ccd_exit:
|
||||
return 0;
|
||||
}
|
||||
|
||||
u32 clkdm_xlate_address(struct clockdomain *clkdm)
|
||||
{
|
||||
if (arch_clkdm->clkdm_xlate_address)
|
||||
return arch_clkdm->clkdm_xlate_address(clkdm);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm
|
||||
* @clkdm: struct clockdomain *
|
||||
|
Reference in New Issue
Block a user