> So far i was not lucky in finding out a generic way of deriving the > epll_div values. > And it doesn't seem to > 1. Save lines of code or > 2. Consolidate the PLL code. > > Any suggestions for a simpler implementation are welcome. No, I mean that 'epll_div' values are _not_always_correct_ on Samsung SoC platform. It depends on board setting. That 'epll_div' values only works fine when FINpll is 24MHz, as you know these're from reference values on User Manual, and board maker can change FINpll freq. with OM[0] pin setting, XXTI and XusbXTI. So. if you want to make consolidate the PLL code, you should make a general formula to calculate that epll_div values on the fly OR move 'epll_div' values table into somewhere machine specific file, not into platform file 'arch/arm/plat-s5p/clock.c'. claude -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html