Hi Jon, On Tue, May 08, 2012 at 20:43:19, Hunter, Jon wrote: > >> In fact if you migrate to runtime pm then we should not have the clk_get > >> in the gpmc_init any more. > > > > Even if converted to RPM, to get clk rate, clk_get has to be done > > somewhere, right ? > > Yes exactly. However, you could now do this in the driver itself like > the probe function. Or may be just pass the frequency of the gpmc fclk > to the driver and let the driver convert to the period. No reason we > need to convert to the period outside of the driver. Hence, we can keep > the function to do the conversion static in the driver and don't need to > expose externally. But platform need period before driver is probed (for calculating peripheral timings to be passed for driver) Regards Afzal -- 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