[PATCH 0/3] OMAP3 clock: skip reserved FREQSEL settings

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

 



Hello,

this series fixes a bug in the OMAP3 DPLL rate rounding code that will
attempt to program the DPLL to use an internal clock frequency that
does not exist in the FREQSEL table in 34xx TRM 4.7.6.2.  This mostly
seems to generate warnings, but can potentially hang the system.

As part of this process, improve the DPLL rate rounding algorithm to
start from a low divider (N) and count up; this should result in fewer
passes through the loop.

Tested on 3430SDP ES2 and a custom ES3 board.  Thanks to Peter de Schrijver
<peter.de-schrijver@xxxxxxxxx> for help with these patches.


- Paul

---

   text    data     bss     dec     hex filename
3574155  189440  108880 3872475  3b16db vmlinux.3430sdp.orig
3574251  189440  108880 3872571  3b173b vmlinux.3430sdp

 arch/arm/mach-omap2/clock.c             |  118 ++++++++++++++++++++++++-------
 arch/arm/mach-omap2/clock24xx.h         |    1 
 arch/arm/mach-omap2/clock34xx.h         |    5 +
 arch/arm/plat-omap/include/mach/clock.h |    1 
 4 files changed, 99 insertions(+), 26 deletions(-)

--
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