Message ID | 1348525213-18987-8-git-send-email-m-karicheri2@ti.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h index bdc4aa8..8abee09 100644 --- a/arch/arm/mach-davinci/include/mach/common.h +++ b/arch/arm/mach-davinci/include/mach/common.h @@ -54,7 +54,12 @@ struct davinci_soc_info { u32 jtag_id_reg; struct davinci_id *ids; unsigned long ids_num; +#ifdef CONFIG_COMMON_CLK + struct davinci_clk_lookup *cpu_clks; + struct davinci_dev_lookup *dev_clk_lookups; +#else struct clk_lookup *cpu_clks; +#endif u32 *psc_bases; unsigned long psc_bases_num; u32 pinmux_base;
To define the clock nodes available on a SoC, a new structure is defined that will be used by SoC specific code to define the clock table. This table is used by davinci_common_clk_init() to initialize the clk drivers. Also added a new field dev_clk_lookups to define clock aliases for devices that share same clocks. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>