summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-05-04Merely correct a comment.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25802 a1c6a512-1295-4272-9138-f99709370657
2010-05-04i.MX31/Gigabeat S: Just a little paranoid change to switcher write to active ↵Michael Sevakis
regulators method, to keep things localized a bit more from global data pool, for safety's sake. It's going to Mars afterall. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25801 a1c6a512-1295-4272-9138-f99709370657
2010-05-04i.MX31/Gigabeat S: Actually enable DPTC which can set optimal voltage for ↵Michael Sevakis
528MHz. Requires an SPI and PMIC interface rework because of the low-latency needs for the DPTC to work best with minimal panicing. SPI can work with multitasking and asynchronously from interrupt handlers or normal code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25800 a1c6a512-1295-4272-9138-f99709370657
2010-05-03as3525v2: Use CD Interrupt vs. CD polling in send_cmd()Rafaël Carré
Also enable write support, test_disk passes on all targets Flyspray: FS#11140 Authors: Jack Halpin and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25799 a1c6a512-1295-4272-9138-f99709370657
2010-05-03rolo: make PP code pp6100-compatibleRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25798 a1c6a512-1295-4272-9138-f99709370657
2010-05-03Ingenic Jz4740: eliminate EP0 state machine + small cleanupsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25797 a1c6a512-1295-4272-9138-f99709370657
2010-05-03Ingenic Jz4740: cleanup USB driver a bit (no externally visible functional ↵Maurus Cuelenaere
changes) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25796 a1c6a512-1295-4272-9138-f99709370657
2010-05-03Gigabeat S: Those odd calls to irq_handler can still happen rarely after ↵Michael Sevakis
executing WFI. With no explanation forthcoming after trying many things, hide head in sand and ignore them and the IRQ will get vectored to the correct handler anyway. Have vector tables execute an immediate return and remove irq_handler from compilation altogether. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25792 a1c6a512-1295-4272-9138-f99709370657
2010-05-02Save a few instructions by better use of conditions.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25786 a1c6a512-1295-4272-9138-f99709370657
2010-05-02FS#11149: alternative fix for ipod startup/shutdown issueTorne Wuff
Instead of using the OF's low-battery handler to force a shutdown which appears to have numerous unwanted side effects, just clear the end of IRAM before shutting down which appears to solve the original "ipod sometimes needs hard reset to turn on" issue. If you experience the "need hard reset" issue after this commit, please let us know. It has been tested on several models but we still don't know for sure what the original problem was. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25772 a1c6a512-1295-4272-9138-f99709370657
2010-05-02Fix wrong udelay logic that made it be way off.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25770 a1c6a512-1295-4272-9138-f99709370657
2010-04-30HD200 - implement blit functionsMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25767 a1c6a512-1295-4272-9138-f99709370657
2010-04-30HD200 - small fix in backlight codeMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25766 a1c6a512-1295-4272-9138-f99709370657
2010-04-30HD200 - remove moving average filtering of ADC readoutsMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25765 a1c6a512-1295-4272-9138-f99709370657
2010-04-30sd-as3525v2: cosmeticsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25762 a1c6a512-1295-4272-9138-f99709370657
2010-04-29HD200 - add FM support.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25757 a1c6a512-1295-4272-9138-f99709370657
2010-04-29as3525v2: crashless cpufreq switchingRafaël Carré
delays after modifying the registers seems not to be needed moving RAM operation (cpu_frequency variable) before modifying the register also seems to help git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25754 a1c6a512-1295-4272-9138-f99709370657
2010-04-29as3525v2: effect of CGU_PROC on fclk is instantRafaël Carré
We do not need any delay after modifying it in system_init(), so the same applies in set_cpu_frequency() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25753 a1c6a512-1295-4272-9138-f99709370657
2010-04-28as3525v2: do not use IRAM for pluginsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25750 a1c6a512-1295-4272-9138-f99709370657
2010-04-28Fuzev2: revert r25741 and r25746Rafaël Carré
Use longer delays instead git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25747 a1c6a512-1295-4272-9138-f99709370657
2010-04-27fix r25741: the 2nd delay needs to be present when the CPU is boostedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25746 a1c6a512-1295-4272-9138-f99709370657
2010-04-27Fuzev2 button fixesRafaël Carré
- remove udelay(1) and use the previous busy loop : the delay was too long for proper hold detection - remove the 2nd delay (unneeded) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25741 a1c6a512-1295-4272-9138-f99709370657
2010-04-27as3525v2: fix udelay()Rafaël Carré
detect wraps so we don't miss the value we were waiting for fix audio stuttering on fuzev2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25740 a1c6a512-1295-4272-9138-f99709370657
2010-04-27Two corrections to the previous commit (wrong timer was used, ↵Thomas Martitz
KERNEL_TIMER_FREQ is a more trustworthy). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25737 a1c6a512-1295-4272-9138-f99709370657
2010-04-27FS#11172 - Fuzev2: Read the scrollwheel scrollwheel via IRQThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25736 a1c6a512-1295-4272-9138-f99709370657
2010-04-27as3525(v2): Add a somewhat inaccurate udelay (-0.5/+1.0µs). It should work ↵Thomas Martitz
good for some huge delays. Use it in fuzev2 to improve some big delays (correct the biggest one to actually wait for the fifo to empty), and use it in the sd drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25734 a1c6a512-1295-4272-9138-f99709370657
2010-04-27Remove pcm_mute() which has been unused since r19308Rafaël Carré
Remove audiohw_mute from header as well, and make this function static to each driver (commented out when it was unused) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25733 a1c6a512-1295-4272-9138-f99709370657
2010-04-26as3525v2: fix volume setting (can now go very low)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25732 a1c6a512-1295-4272-9138-f99709370657
2010-04-26as3514: detail bit of AS3543_DAC_IFRafaël Carré
it lets you select internal PLL or external MCLK and is not related to mute git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25731 a1c6a512-1295-4272-9138-f99709370657
2010-04-26as3514: no need to cache volumeRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25730 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - new filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25725 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - changed filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Fuzev2: button_read_dbop() doesn't existRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25723 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Fuzev2: fix screen corruptionRafaël Carré
Revive the delay removed by r25636 (and make it longer so it works when boosted) Also read GPIOA pins 7 & 6 in one load git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25722 a1c6a512-1295-4272-9138-f99709370657
2010-04-26remove some useless linesNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25721 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Fix yellowsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25720 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP ↵Thomas Martitz
effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25719 a1c6a512-1295-4272-9138-f99709370657
2010-04-25DM320 UART: Enable clock in UART module since it will not be done in system ↵Karl Kurbjun
initialization. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25716 a1c6a512-1295-4272-9138-f99709370657
2010-04-25M:Robe 500 Power: Update battery Curve and simplify calculations.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25715 a1c6a512-1295-4272-9138-f99709370657
2010-04-25M:Robe 500 USB: Go back to OF timings for upcoming clock changesKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25714 a1c6a512-1295-4272-9138-f99709370657
2010-04-23Gigabeat S: All the target backlight functions are currently called on the ↵Michael Sevakis
backlight thread whereas that wasn't the case when the hardware fading was added. Now there's no danger of setting brightness interfering while setting up fades, so get rid of the superfluous mutex. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25700 a1c6a512-1295-4272-9138-f99709370657
2010-04-23i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for ↵Michael Sevakis
528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657
2010-04-23i.MX31: Add some enums and a couple helper functions to make dealing with ↵Michael Sevakis
pin muxing and pad configuration a bit more sane. Convert any existing code which changes mux/pad settings to use helpers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25698 a1c6a512-1295-4272-9138-f99709370657
2010-04-22dircache: increase stack size to handle the worse case path during rebuild ↵Amaury Pouly
(dircache->fat->ata-sd-pp+sdhc) and allows directory with depth up to 20 approximately git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25697 a1c6a512-1295-4272-9138-f99709370657
2010-04-22ata-sd-pp: reduce size of the buffer used to switch bank, no functional ↵Amaury Pouly
change intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25696 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Sansa as3525: Add missing lcd-clip.h header file to sansa clip lcd drivers. ↵Bertrik Sikken
Set svn:keywords on scrollwheel-as3525.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25674 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Clean up IAP / ipod remote tuner a bit.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25672 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Use boolean instead of int for keeping track of mutex signalled state and ↵Bertrik Sikken
wakeup signalled state git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25671 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Move audio_peek_track declaration from skin_display.c to audio.hBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25670 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Add the guard where it should be used. The net effect is zero now but it ↵Alexander Levin
might be not in the future if the definitions are changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25669 a1c6a512-1295-4272-9138-f99709370657