Commit Graph

3 Commits

Author SHA1 Message Date
Sagar Dharia
33f34449d2 slimbus: Add clock pause support.
Clock pause message informs all devices on the bus that the active
manager having framer device pause the bus. This allows stopping the
clock to conserve power.
Clock is paused only if there are no active data channels on the bus
and no response is pending for any READ message.
Slimbus framework wakes up the controller using a wakeup function
pointer. Controller should then program the active framer to be out of
clock pause.

Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2011-10-03 16:20:58 -07:00
Sagar Dharia
98a7ecb14c slimbus: Support ability to specify maximum and minimum clock gears
Slimbus can run in clock gears 1 through 10 per spec. Scheduling
algorithm tries to find the optimum clock gear depending on bandwidth
usage for messaging and active data channels.
However, not all controllers may have the ability to support all the
10 clock gears. This patch provides ability so that scheduling
algorithm will only run the bus in supported slimbus clock gear.
Controllers can specify supported minimum and maximum clock gear
during registration with the framework.

Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2011-10-03 10:27:10 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00