mirror of https://gitee.com/openkylin/linux.git
ARM: OMAP2+: Add DPPLS clock manager for dm814x
On dm814x we have some clocks at DPLLS and some at PRCM. Let's add a new omap_prcm_init_data entry for the DPLLS so we can initalize timer clocks early. Cc: Paul Walmsley <paul@pwsan.com> Cc: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
5fbeef5822
commit
4e34df0cba
|
@ -662,6 +662,11 @@ static struct omap_prcm_init_data am3_prm_data __initdata = {
|
||||||
.index = TI_CLKM_PRM,
|
.index = TI_CLKM_PRM,
|
||||||
.init = am33xx_prm_init,
|
.init = am33xx_prm_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct omap_prcm_init_data dm814_pllss_data __initdata = {
|
||||||
|
.index = TI_CLKM_PLLSS,
|
||||||
|
.init = am33xx_prm_init,
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP4
|
#ifdef CONFIG_ARCH_OMAP4
|
||||||
|
@ -715,6 +720,7 @@ static const struct of_device_id const omap_prcm_dt_match_table[] __initconst =
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_SOC_TI81XX
|
#ifdef CONFIG_SOC_TI81XX
|
||||||
{ .compatible = "ti,dm814-prcm", .data = &am3_prm_data },
|
{ .compatible = "ti,dm814-prcm", .data = &am3_prm_data },
|
||||||
|
{ .compatible = "ti,dm814-pllss", .data = &dm814_pllss_data },
|
||||||
{ .compatible = "ti,dm816-prcm", .data = &am3_prm_data },
|
{ .compatible = "ti,dm816-prcm", .data = &am3_prm_data },
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ARCH_OMAP2
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
|
|
|
@ -195,6 +195,7 @@ enum {
|
||||||
TI_CLKM_PRM,
|
TI_CLKM_PRM,
|
||||||
TI_CLKM_SCRM,
|
TI_CLKM_SCRM,
|
||||||
TI_CLKM_CTRL,
|
TI_CLKM_CTRL,
|
||||||
|
TI_CLKM_PLLSS,
|
||||||
CLK_MAX_MEMMAPS
|
CLK_MAX_MEMMAPS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue