summaryrefslogtreecommitdiff
path: root/firmware/drivers/pcf50605.c (follow)
Commit message (Collapse)AuthorAge
* Ensure consistency between header file and implementation for iPod drivers, ↵Bertrik Sikken2008-07-16
| | | | | | by #including the appropriate header file and #ifdef'fing out unused code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657
* Fix possible ATA-error on startup for iPod nano. Was introduced with r17721.Andree Buschmann2008-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17908 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9076, unification of PCF-initialization for iPod Video and nano. ↵Andree Buschmann2008-06-14
| | | | | | The nano's runtime will increase by about 45min. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17721 a1c6a512-1295-4272-9138-f99709370657
* Adding new setting to System Settings <Accessory Power Supply -- off by ↵Andree Buschmann2008-04-20
| | | | | | default). This setting can be used to enable/disable the power supply for accessories. With this commit implemented for iPods with PCF50605 power controller. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17193 a1c6a512-1295-4272-9138-f99709370657
* Undo r17095. A bug report clearly showed this power supply is also needed ↵Andree Buschmann2008-04-14
| | | | | | for accessories on 5G/5.5G. A more sophisticated solution is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17111 a1c6a512-1295-4272-9138-f99709370657
* Further power saving for iPod Video (FS#8603). Do not enable D2REGC1 voltage ↵Andree Buschmann2008-04-13
| | | | | | for 5G/5.5G -- no changes for other iPods. Savings on a 5G/5.5G are about 1.5mA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17095 a1c6a512-1295-4272-9138-f99709370657
* Split out the PCF5060x register defines into a common header and create a ↵Rob Purchase2008-04-04
| | | | | | generic pcf50606.c using standard i2c read/writes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16966 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded ↵Michael Giacomelli2008-02-10
| | | | | | hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
* pcf50605_write_multiple must prelock driver or the series of bytes may be ↵Michael Sevakis2007-11-26
| | | | | | interrupted resulting in something you didn't intend. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15807 a1c6a512-1295-4272-9138-f99709370657
* Try to fix the case where Ipods would spuriously wake up even though no ↵Thom Johansen2007-09-28
| | | | | | alarm had been set. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14885 a1c6a512-1295-4272-9138-f99709370657
* Add wake on alarm support for Ipods. Rename HAVE_ALARM_MOD to HAVE_ALARM_RTC ↵Thom Johansen2007-02-28
| | | | | | since it's not always a mod. Make Ipod PCF driver keep other flags in OOCC1 that have been set instead of overwriting them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12522 a1c6a512-1295-4272-9138-f99709370657
* Oops - fix PortalPlayer buildsDaniel Ankers2007-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12129 a1c6a512-1295-4272-9138-f99709370657
* Renamed the ipod_i2c functions to the more appropriate pp_i2cDaniel Stenberg2006-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11361 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
* Improve ipod i2c driver somewhat by at least taking advantage of the ↵Brandon Low2006-03-09
| | | | | | in-device addressing in the pcf50605, also switch to a 10bit resistive divider for the ipod battery reading, this is easily configurable if it needs changing, or even to become a user/runtime setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8980 a1c6a512-1295-4272-9138-f99709370657
* Use an 8 bit ADC read for battery reading on ipod, that provides better than ↵Brandon Low2006-03-09
| | | | | | centivolt precision any way, also enable charging, it seems to detect fine when charging by USB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8966 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
* 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
* 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
* Correctly attribute Bernard Leach as the (C) holder for code taken from ↵Dave Chapman2005-12-19
| | | | | | ipodlinux. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657
* iPod: Cleanup of i2c code and addition of RTC driverDave Chapman2005-12-11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8219 a1c6a512-1295-4272-9138-f99709370657