Skip to content

Commit 4e34df0

Browse files
committed
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>
1 parent 5fbeef5 commit 4e34df0

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎arch/arm/mach-omap2/prm_common.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,11 @@ static struct omap_prcm_init_data am3_prm_data __initdata = {
662662
.index = TI_CLKM_PRM,
663663
.init = am33xx_prm_init,
664664
};
665+
666+
static struct omap_prcm_init_data dm814_pllss_data __initdata = {
667+
.index = TI_CLKM_PLLSS,
668+
.init = am33xx_prm_init,
669+
};
665670
#endif
666671

667672
#ifdef CONFIG_ARCH_OMAP4
@@ -715,6 +720,7 @@ static const struct of_device_id const omap_prcm_dt_match_table[] __initconst =
715720
#endif
716721
#ifdef CONFIG_SOC_TI81XX
717722
{ .compatible = "ti,dm814-prcm", .data = &am3_prm_data },
723+
{ .compatible = "ti,dm814-pllss", .data = &dm814_pllss_data },
718724
{ .compatible = "ti,dm816-prcm", .data = &am3_prm_data },
719725
#endif
720726
#ifdef CONFIG_ARCH_OMAP2

‎include/linux/clk/ti.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ enum {
195195
TI_CLKM_PRM,
196196
TI_CLKM_SCRM,
197197
TI_CLKM_CTRL,
198+
TI_CLKM_PLLSS,
198199
CLK_MAX_MEMMAPS
199200
};
200201

0 commit comments

Comments
 (0)