imx233: rework frequency scaling
commit4307f95a1f57d3038a2d41f0f4c0ddf33f50630d
authorAmaury Pouly <amaury.pouly@gmail.com>
Sun, 13 Jan 2013 00:55:34 +0000 (13 00:55 +0000)
committerAmaury Pouly <amaury.pouly@gmail.com>
Sun, 13 Jan 2013 00:58:46 +0000 (13 00:58 +0000)
tree027623d732f64d886c1ee2b0341fba68282feb96
parent29e51a17775df5040b12d93834c45b3f1171ed9d
imx233: rework frequency scaling

Move to a table based approach (scales better) and distinguish
between upward changes (increase frequency) and downward changes
(decrease frequency). This provides a better ordering of
operations and in particular it allows to avoid changing the
regulator while running at low speed since it takes a long time !
This should result in a much smoother scaling.

Change-Id: Iad7e5b61277e215f31c07877fbbad07ddde1171f
firmware/target/arm/imx233/system-imx233.c