summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Inverted S/PDIF control on H110Linus Nielsen Feltzing2005-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
* New config option for optical out on iriverLinus Nielsen Feltzing2005-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6960 a1c6a512-1295-4272-9138-f99709370657
* - enable S/PDIF optical outputMarcoen Hirschberg2005-07-01
| | | | | | | - set the proper noise shape filter git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6959 a1c6a512-1295-4272-9138-f99709370657
* Made the (iriver) use of GPIO1 depend on the presense of a coldfire cpu insteadDaniel Stenberg2005-06-18
| | | | | | | | of comparing for exact player model. This assumption might not be correct, it might been to check for some other hardware-specific feature. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6753 a1c6a512-1295-4272-9138-f99709370657
* HD power must not default to off in rockbox itself, only in the bootloader.Jens Arnold2005-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6569 a1c6a512-1295-4272-9138-f99709370657
* iRiver: The hard drive power is now OFF by defaultLinus Nielsen Feltzing2005-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
* More dead code...Jens Arnold2005-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
* Moved unrelated stuff from i2c the driver to appropriate places. Minor ↵Jens Arnold2005-05-07
| | | | | | optimisation in i2c driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6419 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Implemented S/PDIF transmit power control. The optical LED is now ↵Linus Nielsen Feltzing2005-04-11
| | | | | | off by default. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6268 a1c6a512-1295-4272-9138-f99709370657
* Gmini SMSC chip improvementsJean-Philippe Bernardy2005-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6030 a1c6a512-1295-4272-9138-f99709370657