On Fri, 10 Apr 2015 13:56:54 +0530 Keerthy <a0393675@xxxxxx> wrote: > >>> How do we know that all systems have this external clock and that it > >>> works OK? > >>> > >> > >> AM335 and AM43X have the external clock feature which we choose using > >> RTC_OSC_REG. I verified it works OK by seeing the RTC seconds ticking > >> even after switching the source to the external 32k Clock. > > > > AFAIU, this is related to the external (outside of SoC) oscillator, right? > > If so, there is a possibility to not assemble it on the board (at least > > on AM335) and use the internal clock source instead. > > Yes. The register 'OMAP_RTC_OSC_REG' is part of the RTC IP register set > so i assumed that it would be with the RTCs of those particular SoCs. I'm a bit lost here. AFAICT there's a risk that some manufacturers have not wired up the external oscillator, so this patch will break those systems. Do we know for sure that this cannot be the case? Is there any way in which we can get all systems working properly? If there's no way of auto-detecting an external oscillator then perhaps a module parameter is needed. If so, it would be better if the driver were to default to internal oscillator (ie: current behaviour), and the module parameter selects the external oscillator. This way, existing systems are unaffected by the kernel upgrade. -- 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