summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-07-09S5L8700: use wakeup_wait/wakeup_signal instead of polling for i2c communicationBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21735 a1c6a512-1295-4272-9138-f99709370657
2009-07-09S5L8700: Implement ADC driverBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21734 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Numbered filename creation: Make the search for pre-existing files ↵Jens Arnold
independent of the requested number length. This way it will also increment properly if the requested number length changes or overflows (more than 99 files for numberlen == 2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21732 a1c6a512-1295-4272-9138-f99709370657
2009-07-08M:Robe 500: fix a bug where the remote LCD was not properly sleepingKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21714 a1c6a512-1295-4272-9138-f99709370657
2009-07-08M:robe 500 - Set the mask on the remote so that it indicates the battery statusKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21710 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driverBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Philips SA9200: fix the buttons to work with flip screen mode (does anyone ↵Mark Arigo
use this?). Change to conventional BUTTON_LEFT/BUTTON_RIGHT names and flip the remaining directional buttons. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21698 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Sansa AMS: display the virtual led icon on disk transfersRafaël Carré
Sansa PP: directly use led() function, remove useless sd_led() Thanks to mc2739 (Michael Chicoine) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21693 a1c6a512-1295-4272-9138-f99709370657
2009-07-06sAMSa: Turn the backlight off before rebooting to avoid irritating lcd flash.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21692 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Samsa: fix red for clip/m200v4/c200v2 (typo)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21691 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Samsa SD driver : acknowledge USB events, now reboots on USB insertionRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21690 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Samsa AMS: start of an USB driver (nothing working atm)Rafaël Carré
Work based on AMD 5536 linux driver and AMD Geode CS5536 datasheet Rockbox still doesn't reboot on USB insert git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21689 a1c6a512-1295-4272-9138-f99709370657
2009-07-06DM320: Add the same fix from r21647Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21688 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Sansa AMS: Disable voltage scaling for now until we found a way to make it ↵Thomas Martitz
reliable for everyone, it's causing problems with storage for many people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21687 a1c6a512-1295-4272-9138-f99709370657
2009-07-05S35390a RTC: fix duplicate i2c initialisationBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21679 a1c6a512-1295-4272-9138-f99709370657
2009-07-05s5l8700: fix off-by-one error in DMA countBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21678 a1c6a512-1295-4272-9138-f99709370657
2009-07-05S5L8700: implement kernel timerBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21672 a1c6a512-1295-4272-9138-f99709370657
2009-07-05Onda VX747 backlight: use a higher frequency to reduce flickeringMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21671 a1c6a512-1295-4272-9138-f99709370657
2009-07-05S5L8700: initial framework for PCM (using DMA transfers)Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21656 a1c6a512-1295-4272-9138-f99709370657
2009-07-05Sansa AMS : don't reinvent adc_read(), patch by FlynDiceRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21651 a1c6a512-1295-4272-9138-f99709370657
2009-07-05ARM922T's icache isn't coherent with its dcache, so we need to ensure that ↵Michael Giacomelli
its flushed before changing codecs. Playback takes care of this for us, but only if we define cache coherency functions. Do that. Also, add a comment explaining that MMU functions need to be included so that other people don't spend hours chasing them in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21647 a1c6a512-1295-4272-9138-f99709370657
2009-07-03Also enable frequency switching on Onda VX767Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21627 a1c6a512-1295-4272-9138-f99709370657
2009-07-03Ingenic Jz4740: add basic frequency switchingMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21625 a1c6a512-1295-4272-9138-f99709370657
2009-07-03Ingenic Jz4740 PCM driver: add some locking here and there (doesn't fix all ↵Maurus Cuelenaere
PCM issues) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21622 a1c6a512-1295-4272-9138-f99709370657
2009-07-03Ingenic Jz4740: remove some unneeded stuff and simplify SD driver (also ↵Maurus Cuelenaere
thanks to Rafaël Carré) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21621 a1c6a512-1295-4272-9138-f99709370657
2009-07-02Fix DEBUG builds when CONFIG_CPU != SH7034 and HAVE_GDB_API isn't definedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21613 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Move sd_get_info() into common sd codeRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21610 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 * Move some more stuff to the general SD driverMaurus Cuelenaere
* Ingenic SD driver: cleanup DMA part a bit (not working yet) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21606 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Ingenic jz4740 SD driver: remove custom list of SD commandsRafaël Carré
Replace most references to MMC/mmc with SD/sd Remove MMC failover code since MMC cards aren't supported git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21604 a1c6a512-1295-4272-9138-f99709370657
2009-07-01add firmware/driver/sd.c which contains common code between SD driversRafaël Carré
ingenic SD driver needs more cleanup so it still doesn't use the common code correct a comment in hotswap.c: card_extract_bits assume most significant word of register first (so, use this order) fix debug menu which used MMC specific commands / bits positions in csd/cid move the default block size of 512 into sd.h move the mantissa & exponent table into a single file (sd.c) to reduce binsize. we don't need to export it anymore anyway TODO : ingenic cleanup (will happen soon so building sd.c is not conditional) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21601 a1c6a512-1295-4272-9138-f99709370657
2009-07-01card_extract_bits() take the start bit argument as defined in public SanDisk ↵Rafaël Carré
specifications for SD and MMC, i.e. bit 0 is the lsb git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21600 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Ingenic Jz4740 SD driver: remove some unneeded stuff + fill the OCR field in ↵Maurus Cuelenaere
card_get_info_target() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21596 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Ingenic Jz4740 SD driver: fix SD clock init (fixes problems with SDHC cards)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21592 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Also cleanup Onda VX747 ata-sd-target.h fileMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21587 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD)Rafaël Carré
Put specific members under #ifdef (CONFIG_STORAGE & STORAGE_xx) (2 members for SD and 1 for MMC) Fix a typo: tsac doesn't exist and must be read taac Move card_get_info functions declaration inside hotswap.h to remove mutual inclusion of ata_mmc.h and hotswap.h Move static const data structures from SD drivers into sd.h (sd_exponent and sd_mantissa) Fix sd_command prototypes in SD drivers (card registers are unsigned long) Fix speed calculation in Sansa AMS driver (PP SD driver needs to be checked) Move ata-sd-target.h to sd-pp-target.h to reflect the PP specifity. Now it only contains declaration of microsd_int() Remove unused ata-sd-target.h for injenic TODO: - check if CSD register bits are extracted correctly in PP driver - correctly define read_timeout and write_timeout unit for MMC & SD, and use timeouts in Sansa AMS driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21586 a1c6a512-1295-4272-9138-f99709370657
2009-07-01AMSSansa: Corrects bug introduced with r21577 causing random lockups on ↵Jack Halpin
AMSSansas. The input to the ADC is now set to CVDD inside the while loop. If the input gets changed while waiting for the voltage to be read it will now be reset to CVDD before the next read is attempted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21584 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Philips SA9200. Add LCD features: enable, sleep, flip, contrast, and invert.Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21583 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Use the USB pid normally used by the OF when in UMS mode. This might make ↵Jonas Häggqvist
misbehaving pc software play nice. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21582 a1c6a512-1295-4272-9138-f99709370657
2009-06-30FS#10344 - AMSSansa Dynamically adjust core voltage to extend playtime.Jack Halpin
Lower CVDD core voltage to 1.10 volts when the frequency is less than 200 MHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21577 a1c6a512-1295-4272-9138-f99709370657
2009-06-291 mA gets rounded to 0 during computation, so use 2 mA as the default.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21572 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Clean up nested defines in powermngt.h while I'm at it.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21568 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Protect CURRENT_REMOTE define with an ifndef.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21567 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Move Archos battery runtime estimation defines into config files instead of ↵Michael Giacomelli
powermgmt.h. Replace old default values (which were actually the Archos Player currents) with a new default (1mA). This should give nonsense runtime estimates (instead of semi-reasonable but completely wrong estimates) on all players that do not have a battery current defined. Hopefully this will remind people that they should define the battery current when they start a new port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21565 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Sansa AMS : use the aligned buffer in bss for all DMA transfersRafaël Carré
This was only used for data transfers, now use it also for card data transfers in sd_select_bank, to save runtime alignement and stack usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21564 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Fix yellow introduced in r21561Alexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21563 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Build archos timer code for ONDIO (fix red)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21562 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Make the get_time on non-RTC sims behave like target, i.e. always return a ↵Alexander Levin
constant time (FS#10390) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21561 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.hRafaël Carré
Note : SH has TIMER_FREQ defined to CPU_FREQ, so any code wanting it must include #config.h before #cpu.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21560 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Remove the TIMER_* macros and declare target-specific functions in timer.hRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21559 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Remove int_prio argument from timer_register, and move the only use for it ↵Rafaël Carré
into alpine_cdc plugin, since this plugin is only built on SH7034 Also remove it from TIMER_START() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657