> -----Original Message----- > From: Kevin Hilman [mailto:khilman@xxxxxx] > Sent: Friday, March 11, 2011 3:43 AM > To: Santosh Shilimkar > Cc: linux-omap@xxxxxxxxxxxxxxx; vishwanath.bs@xxxxxx > Subject: Re: [PATCH 1/3] omap2plus: clock: Add an alias cpu_ck to be > used in common cpufreq driver > > Santosh Shilimkar <santosh.shilimkar@xxxxxx> writes: > > > Add an alias clock node for cpu clock control on all OMAP2PLUS > devices. > > The intention is avoid cpu_is_xxxx() checks in the common cpufreq > driver. > > > > Signed-off-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx> > > Rather than having hard-coded clkdev nodes, Since CPUfreq will be > the > only user of these clocks, it might make sense to just use cpu_is_* > in the CPUfreq init and do clk_add_alias(). > Since we are ok to have cpu_is_*() in CPUfreq init, we don't even need to clk_add_alias(). We just the correct clock node handle based on SOC. Regards, Santosh -- 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