This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11330 - Clip*: disable peripherals in lcd_enable()
Attached to Project:
Rockbox
Opened by Rafaël Carré (funman) - Saturday, 29 May 2010, 15:27 GMT+2
Last edited by Rafaël Carré (funman) - Friday, 30 July 2010, 19:31 GMT+2
Opened by Rafaël Carré (funman) - Saturday, 29 May 2010, 15:27 GMT+2
Last edited by Rafaël Carré (funman) - Friday, 30 July 2010, 19:31 GMT+2
|
DetailsSwitch off DBOP (or SSP for Clip+) clocks when LCD is not in use.
7 minutes more runtime on Clipv1 10 minutes more runtime on Clip+ 6 minutes more runtime on Clipv2 These numbers are really low so we need more benches to be sure there is an effect at all. |
This task depends upon
Closed by Rafaël Carré (funman)
Friday, 30 July 2010, 19:31 GMT+2
Reason for closing: Rejected
Additional comments about closing: Clipv1 LCD sometimes stay off / (or crashes?) after unplugging USB
Friday, 30 July 2010, 19:31 GMT+2
Reason for closing: Rejected
Additional comments about closing: Clipv1 LCD sometimes stay off / (or crashes?) after unplugging USB
I'll benchmark this in the clip+.
I added dbop_init() for clipv1 because the screen wouldn't go back on, but it worked on clipv2 with only toggling the clock enable bit.
Disabling the DBOP clock might reset some registers, we should verify what happens on clipv2 too, the registers might have a defaut reset value which works anyway.