summaryrefslogtreecommitdiff
path: root/firmware/drivers (follow)
Commit message (Collapse)AuthorAge
...
* Correctly test on volume id flagPeter D'Hoye2006-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9925 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Don't power the UDA1380 WSPLL as we don't use it. This is required ↵Jens Arnold2006-05-11
| | | | | | according to the datasheet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9913 a1c6a512-1295-4272-9138-f99709370657
* Ondio: (Hopefully) fix the occasional freezes during playback: Use DMA ↵Jens Arnold2006-05-07
| | | | | | channel 0 for MMC transfer. As it has higher priority than channel 3 (used for playback), the risk of serial receive overruns is minimised. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9885 a1c6a512-1295-4272-9138-f99709370657
* Patch #5182 by Liberman Shachar - Vertical screen scroll bug fix (inverse ↵Linus Nielsen Feltzing2006-05-06
| | | | | | bar crop in vertical scroll) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9881 a1c6a512-1295-4272-9138-f99709370657
* Fix fillrect calculation error for 'Screen scrolls out of view'. Fixes bug ↵Peter D'Hoye2006-05-03
| | | | | | 5267. Also some minor code policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9871 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
* ATA driver: * Don't lie to gcc about which parameters the assembler ↵Jens Arnold2006-04-29
| | | | | | optimised loops touch. Fixes problems with higher optimisation levels. Some slight tweaks for SH1. * Prevent the assembler loops from being inlined as this is less efficient than having them in IRAM (only relevant at higher optimisation levels). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9828 a1c6a512-1295-4272-9138-f99709370657
* Replaced remaining '#pragma interrupt' with ↵Jens Arnold2006-04-26
| | | | | | __attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
* Ipods, X5: Proper backlight behaviour on buton unlock.Jens Arnold2006-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9788 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Reworked remote detection & init: * Monitor the remote type & try to ↵Jens Arnold2006-04-24
| | | | | | init the LCD for 20 seconds after plugin. Fixes wrong type detection & non-working LCD when plugging in slowly, and inits much faster if the remote is already plugged at boot (no delayed logo). * Don't try to init the LCD for a non-LCD remote in order to save CPU power. * More precise scroll timing, taking drawing time & other delays into account. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9783 a1c6a512-1295-4272-9138-f99709370657
* Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.Frank Dischner2006-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
* Fix button driver for ipod mini 1G.Frank Dischner2006-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
* Ooops^2Jens Arnold2006-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9696 a1c6a512-1295-4272-9138-f99709370657
* H300: Optimised PCF50606 driver, significantly reduces CPU power drain from ↵Jens Arnold2006-04-16
| | | | | | the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
* H300 (and H1x0): Improved button debouncing. Solves the possible 'fake ↵Jens Arnold2006-04-16
| | | | | | doubleclick' effect by not pretending no button is pressed if the reading is unstable. Now it uses the latest stable reading instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9691 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: Use the maximum possible i2c clock for the audio codec. Both the ↵Jens Arnold2006-04-14
| | | | | | UDA1380TT and the TLV320AIC23B can handle up to 400kHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9656 a1c6a512-1295-4272-9138-f99709370657
* Another slight tweak.Jens Arnold2006-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9639 a1c6a512-1295-4272-9138-f99709370657
* H1x0/H300 remote LCD driver rework: * Completely fix remote LCD ticking for ↵Jens Arnold2006-04-11
| | | | | | H300, by not deasserting CS after every single access. CS deactivation is now handled with a 100ms timeout by the tick task. If this really fixes remote ticking for all H300s with 'reduce ticking' disabled, we should remove that option for H300. * Reworked ticking reduction for H1x0. Bytes are now send in sequence, without stretching every single bit, but longer pauses between bytes instead. Both CLK and DATA are handled in a way to minimise their potential to cause ticking (CLK active as short as possible, DATA always high outside of byte transfers, DATA high->low as close as possible to CLK low->high). * Driver is ~10% faster with 'reduce ticking' disabled, and ~65% faster with it enabled. (not @ 11 MHz) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9631 a1c6a512-1295-4272-9138-f99709370657
* moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boostDaniel Stenberg2006-04-11
| | | | | | | I also extended the iram size properly since the 5250 coldfire has 128K git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
* H300: Slightly faster lcd update (noticeable with partial updates only).Jens Arnold2006-04-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9574 a1c6a512-1295-4272-9138-f99709370657
* Comparing short filenames for uniqueness used 1 char too much, causing it to ↵Peter D'Hoye2006-04-08
| | | | | | create identical short filenames. Fixes bugreport #5030. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9563 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
* lcd_blit() (with mono->2bit expansion) implemented for greyscale ipods. ↵Jens Arnold2006-04-06
| | | | | | Changed the flip mode maths for the mini LCD for coexistence with lcd_blit(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9540 a1c6a512-1295-4272-9138-f99709370657
* Since we poll buttons every tick now, the extra if() checking the polling ↵Jens Arnold2006-04-06
| | | | | | interval was obsolete. Pointed out by Mikael Magnusson. * Some tweaks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9536 a1c6a512-1295-4272-9138-f99709370657
* Do extra filtering in H300 (and H100) main unit button reading to suppress ↵Jens Arnold2006-04-06
| | | | | | wrong readings during voltage transitions. * Optimised multi-button ADC reads to use a balanced binary tree with an initial check for 'any button' to determine the pressed button. * The iriver button driver wouldn't have detected main unit (ADC-connected) buttons as long as remote buttons (ADC-connected) were pressed (btn = value; vs. btn |= value), * Do extra filtering in the recorder v1 OFF button read, to suppress spurious OFF events. * Some more tweaks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9530 a1c6a512-1295-4272-9138-f99709370657
* Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as ↵Jens Arnold2006-04-04
| | | | | | apple. No more mirrored display when loading retailos, after a bootloader update. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9478 a1c6a512-1295-4272-9138-f99709370657
* greyscale iPod LCD: Working display flip. * Correct register definitions for ↵Jens Arnold2006-04-01
| | | | | | HD66753. * Correct 1/3 and 2/3 greylevels. * Some tweaks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9414 a1c6a512-1295-4272-9138-f99709370657
* Greyscale iPod LCD driver: Fixed lcd_update_rect() to work properly for ↵Jens Arnold2006-03-31
| | | | | | partial updates. Working display invert. Use register name macros. Some cleanup & optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9378 a1c6a512-1295-4272-9138-f99709370657
* Move definitions to their proper placeJens Arnold2006-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9368 a1c6a512-1295-4272-9138-f99709370657
* iPod mini 2G: Define correct audio codec, and fix WM8731 driver to work with ↵Jens Arnold2006-03-30
| | | | | | PP5020. Audio is working now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9367 a1c6a512-1295-4272-9138-f99709370657
* iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. ↵Jens Arnold2006-03-30
| | | | | | Buttons working now, rockbox no longer hangs at boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9364 a1c6a512-1295-4272-9138-f99709370657
* Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No ↵Jens Arnold2006-03-30
| | | | | | sound, no buttons, and hangs at the boot screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
* Better sound quality on the iAudio X5 using the correct MCLK frequencyLinus Nielsen Feltzing2006-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9354 a1c6a512-1295-4272-9138-f99709370657
* Simplification and correction of the TLV320 driverLinus Nielsen Feltzing2006-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9326 a1c6a512-1295-4272-9138-f99709370657
* Enable I2C bus 1 on the iAudio X5Linus Nielsen Feltzing2006-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9325 a1c6a512-1295-4272-9138-f99709370657
* Reduce the appearance of volume change clicks by using the wmcodec's ↵Brandon Low2006-03-27
| | | | | | zero-cross detect feature git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9290 a1c6a512-1295-4272-9138-f99709370657
* Code policeBrandon Low2006-03-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9287 a1c6a512-1295-4272-9138-f99709370657
* ok, this is the correct PLAY/REC swap!Daniel Stenberg2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9270 a1c6a512-1295-4272-9138-f99709370657
* Patch #4913 by David Rothenberger with some changes by me: add only ↵Hristo Kovachev2006-03-25
| | | | | | backlight on first keypress to the lcd remotes, too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
* New option: First keypress enables backlight only. Patch #2920 by Nicolas ↵Björn Stenberg2006-03-24
| | | | | | Pennequin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
* Fixed loong-standing bug in mas_writereg().Jens Arnold2006-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9222 a1c6a512-1295-4272-9138-f99709370657
* use logfChristian Gmeiner2006-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9205 a1c6a512-1295-4272-9138-f99709370657
* Fix ipod 3g build that was broken (by me perhaps?)Brandon Low2006-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9200 a1c6a512-1295-4272-9138-f99709370657
* Fixed line out volume for 4G, Nano and 5G Ipods. Partial patch #4814 byThom Johansen2006-03-22
| | | | | | | Ralf Herz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9181 a1c6a512-1295-4272-9138-f99709370657
* font caching fixes by Frank DischnerMarcoen Hirschberg2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657
* Removed an unneeded BUTTON_HOLD define for iPod 3GHristo Kovachev2006-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: Assembler optimised disk writing, speed increase ~36% on average.Jens Arnold2006-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9117 a1c6a512-1295-4272-9138-f99709370657
* H300: Properly initialize the backlight PCF50606 port pinLinus Nielsen Feltzing2006-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9113 a1c6a512-1295-4272-9138-f99709370657
* Reduce code size and generally clean up the button driver more! * Add 'wheel ↵Brandon Low2006-03-19
| | | | | | repeat' functionality to prevent scrolling past the end of lists in a continuous scroll. Can release and resume scrolling to wrap to the top (4g, 5g, nano). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9110 a1c6a512-1295-4272-9138-f99709370657
* Improve button driver performance on ipod a bit by moving around queue ↵Brandon Low2006-03-18
| | | | | | checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657