summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c (follow)
Commit message (Collapse)AuthorAge
* Moved archos power handling into target tree. * Tuner power handling cleaned ↵Jens Arnold2007-08-14
| | | | | | up a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
* Ondios with backlight mod: * Make the backlight stay off in plain SVN builds ↵Jens Arnold2007-08-14
| | | | | | (was always on before). * Switch off the light at the very end of shutdown to fake poweroff (the Ondio hardware stays powered until the user releases the button, or the hardware poweroff kicks in). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14342 a1c6a512-1295-4272-9138-f99709370657
* Don't let the shutdown code mess with the backlight anymore on most targets. ↵Jens Arnold2007-08-14
| | | | | | The backlight thread decides what to do on shutdown. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14340 a1c6a512-1295-4272-9138-f99709370657
* Remove unnecessary sim stubs and includesNils Wallménius2007-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
* Enable a lot more features for simulators and add stubs where necessary, ↵Nils Wallménius2007-08-12
| | | | | | simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
* Do some planned radio interface cleanup since adding in the LV24020LP.Michael Sevakis2007-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
* Basic gigabeat buttonlight support outside of debug menu FS#7112. Also ↵Karl Kurbjun2007-05-07
| | | | | | disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657
* Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold2007-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining CONFIG_TUNER checks.Jens Arnold2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
* CONFIG_CHARGINGJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
* Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold2006-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
* Target tree support for Iriver iFP.Tomasz Malesinski2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
* More exodus to the target tree for ColdFire and a bonus sorting of ↵Michael Sevakis2006-11-08
| | | | | | firmware/SOURCES. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11468 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings in player builds.Barry Wardell2006-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11130 a1c6a512-1295-4272-9138-f99709370657
* Move all iPod targets into the target tree. FS#5890Barry Wardell2006-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
* Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis2006-08-28
| | | | | | additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
* Patch #5789 by Mike Sevakis - Proper shut down of Coldfire targetsLinus Nielsen Feltzing2006-08-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10510 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
* ipods - First implementation of pcf50605_init() function. This enables the ↵Dave Chapman2006-05-02
| | | | | | power-out in the Dock connector, which may help getting some accessories working - if they don't need to talk to the ipod via the Apple Accessory Protocol. Thanks to julius in IRC for testing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9860 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.cJens Arnold2006-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
* Hopefully correct charger connected detection for ipod video thanks to ↵Brandon Low2006-03-18
| | | | | | Herz's patch git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9090 a1c6a512-1295-4272-9138-f99709370657
* Proper charger input, usb and charger activity detection/reporting for ipod ↵Brandon Low2006-03-16
| | | | | | video git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9061 a1c6a512-1295-4272-9138-f99709370657
* Charging state reporting for iriver players. Values calibrated withMiika Pekkarinen2006-03-13
| | | | | | | | 1900 mAh Ionity battery; might need recalibration with the stock battery. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
* Basic battery monitoring for ipod 5g, should work on other ipods as well, ↵Brandon Low2006-03-05
| | | | | | but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 a1c6a512-1295-4272-9138-f99709370657
* Improved battery status reporting for units which support usb power / chargeBrandon Low2006-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8886 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* Revert the ATA/USB power fix until I find an even more correct way of doing ↵Linus Nielsen Feltzing2006-02-16
| | | | | | it :-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8707 a1c6a512-1295-4272-9138-f99709370657
* More correct power handling of the HDD and ISD300 chips on the H300 platformLinus Nielsen Feltzing2006-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8688 a1c6a512-1295-4272-9138-f99709370657
* 1. Updated battery_bench plugin:Hristo Kovachev2006-02-07
| | | | | | | | | | | 1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running; 1.2 Added new columns for charger inserted, charging, usb powered; 1.3 Some other small improvements 2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state; 3. Some ifdefs corrected in power.c and power.h; git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
* Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixesDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G code from Seven Le MesleDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8582 a1c6a512-1295-4272-9138-f99709370657
* Make it compile on iAudio X5Linus Nielsen Feltzing2006-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8543 a1c6a512-1295-4272-9138-f99709370657
* Fix red buildsBrandon Low2006-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8463 a1c6a512-1295-4272-9138-f99709370657
* Detect USB charge state in Hxx0Brandon Low2006-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8462 a1c6a512-1295-4272-9138-f99709370657
* Start cleaning up some #ifdefs in charging codeBrandon Low2006-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8391 a1c6a512-1295-4272-9138-f99709370657
* Charging state reporting on H3x0Brandon Low2006-01-19
| | | | | | | | | | Don't read the GPIO every refresh of statusbar or gwps for plugged state, use a variable exported from powermgmt instead. Allow Custom WPS to access %bc for battery charge state on targets that support this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8383 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* iPod: Fix the bootloader so it can load and run the original Apple firmware ↵Dave Chapman2006-01-05
| | | | | | again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
* Put the ipod into standby mode on shutdown. This is untested on the 5g, but ↵Dave Chapman2005-12-21
| | | | | | should work... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8275 a1c6a512-1295-4272-9138-f99709370657
* Replaced the booolean 'Backlight On When Plugged' setting with a complete ↵Jens Arnold2005-11-23
| | | | | | alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
* iPod: We are not going to implement ATA power-off control (Rockbox will ↵Dave Chapman2005-11-21
| | | | | | still use the ATA hardware's power handling) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8031 a1c6a512-1295-4272-9138-f99709370657
* refactored radio status codeAnton Oleynikov2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
* H300: power_init() adjustmentsLinus Nielsen Feltzing2005-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7962 a1c6a512-1295-4272-9138-f99709370657
* Reverted erroneous commitLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up bootloader linker control file and added the H300 targetLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
* Added pcf50606 initLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7881 a1c6a512-1295-4272-9138-f99709370657
* iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman2005-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* iriver: let the boot loader decide when to power on the hard driveLinus Nielsen Feltzing2005-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7191 a1c6a512-1295-4272-9138-f99709370657
* Atomic GPIO accessLinus Nielsen Feltzing2005-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657