RE: [PATCH] AM35xx: Clock table updates for AM3505/17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Ranjith Lohithakshan
> Sent: Thursday, November 05, 2009 2:39 AM
[...]
> diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-
> omap2/clock34xx.c
> index c258f87..9ac5c0e 100644
> --- a/arch/arm/mach-omap2/clock34xx.c
> +++ b/arch/arm/mach-omap2/clock34xx.c
> @@ -93,140 +93,143 @@ struct omap_clk {
>  #define CK_343X		(1 << 0)
>  #define CK_3430ES1	(1 << 1)
>  #define CK_3430ES2	(1 << 2)
> +#define CK_3517 	(1 << 3)
> +#define CK_3505 	(1 << 4)
> +#define CK_35XX 	(CK_3517 | CK_3505)
> 
>  static struct omap_clk omap34xx_clks[] = {
> -	CLK(NULL,	"omap_32k_fck",	&omap_32k_fck,	CK_343X),
> -	CLK(NULL,	"virt_12m_ck",	&virt_12m_ck,	CK_343X),
> -	CLK(NULL,	"virt_13m_ck",	&virt_13m_ck,	CK_343X),
> -	CLK(NULL,	"virt_16_8m_ck", &virt_16_8m_ck, CK_3430ES2),
> -	CLK(NULL,	"virt_19_2m_ck", &virt_19_2m_ck, CK_343X),
> -	CLK(NULL,	"virt_26m_ck",	&virt_26m_ck,	CK_343X),
> -	CLK(NULL,	"virt_38_4m_ck", &virt_38_4m_ck, CK_343X),
> -	CLK(NULL,	"osc_sys_ck",	&osc_sys_ck,	CK_343X),
> -	CLK(NULL,	"sys_ck",	&sys_ck,	CK_343X),
> -	CLK(NULL,	"sys_altclk",	&sys_altclk,	CK_343X),
> -	CLK(NULL,	"mcbsp_clks",	&mcbsp_clks,	CK_343X),
> -	CLK(NULL,	"sys_clkout1",	&sys_clkout1,	CK_343X),
> -	CLK(NULL,	"dpll1_ck",	&dpll1_ck,	CK_343X),
> -	CLK(NULL,	"dpll1_x2_ck",	&dpll1_x2_ck,	CK_343X),
> -	CLK(NULL,	"dpll1_x2m2_ck", &dpll1_x2m2_ck, CK_343X),
> +	CLK(NULL,	"omap_32k_fck",	&omap_32k_fck,	CK_343X | CK_35XX),
> +	CLK(NULL,	"virt_12m_ck",	&virt_12m_ck,	CK_343X | CK_35XX),
> +	CLK(NULL,	"virt_13m_ck",	&virt_13m_ck,	CK_343X | CK_35XX),
> +	CLK(NULL,	"virt_16_8m_ck", &virt_16_8m_ck, CK_3430ES2 | CK_35XX),
> +	CLK(NULL,	"virt_19_2m_ck", &virt_19_2m_ck, CK_343X | CK_35XX),
> +	CLK(NULL,	"virt_26m_ck",	&virt_26m_ck,	CK_343X | CK_35XX),
[...]
Could we have CK_3XXX? I mean this would probably happen when 36/37xx gets
introduced also.. does that make sense?

Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux