summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Silly me, those inits were not redundant at allLinus Nielsen Feltzing2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5829 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Removed redundant initiation in power_init()Linus Nielsen Feltzing2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5823 a1c6a512-1295-4272-9138-f99709370657
* Gmini power management basisJean-Philippe Bernardy2005-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5767 a1c6a512-1295-4272-9138-f99709370657
* Oops! Wrong polarity in ide_powered() for iRiverLinus Nielsen Feltzing2004-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
* Added power functions for iRiver H1xxLinus Nielsen Feltzing2004-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5494 a1c6a512-1295-4272-9138-f99709370657
* Unconditionally drive HD power control pin for player (doesn't hurt even for ↵Jens Arnold2004-12-16
| | | | | | very old players). Slight optimization for recorders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5487 a1c6a512-1295-4272-9138-f99709370657
* Renamed has_new_lcd() to is_new_player(), and got rid of the aliasJens Arnold2004-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
* Code cleanupJens Arnold2004-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5454 a1c6a512-1295-4272-9138-f99709370657
* Fixed a warningJens Arnold2004-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5450 a1c6a512-1295-4272-9138-f99709370657
* Moved player ATA power handling to the correct functionsJens Arnold2004-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5449 a1c6a512-1295-4272-9138-f99709370657