summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-03-29as3525v2: FM playback (only tested on Clip+)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25383 a1c6a512-1295-4272-9138-f99709370657
2010-03-29as3525: CGU_USB has only 3 bits for the dividerRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25381 a1c6a512-1295-4272-9138-f99709370657
2010-03-29as3525v2: factorize writing to ascodec PMURafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25380 a1c6a512-1295-4272-9138-f99709370657
2010-03-29as3543: name 0x1b & 0x1c registersRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25379 a1c6a512-1295-4272-9138-f99709370657
2010-03-29Clipv2/Clip+ : turn off backlight in 0x1b registerRafaël Carré
Rename clipv2 file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25378 a1c6a512-1295-4272-9138-f99709370657
2010-03-29Fuzev2: fix backlight brightnessRafaël Carré
PMU registers are write-only git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25377 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: it seems we need to set bit 3 when selecting PMU subregisterRafaël Carré
backlight still not working properly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25371 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: cleanup backlight code (still not working correctly)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25370 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: fix LCDRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25368 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: edit configRafaël Carré
correct USB product ID remove a define which is common to all as3525v2 and then built-in in the driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25367 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: fix lcdRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25360 a1c6a512-1295-4272-9138-f99709370657
2010-03-27Remove unnecessary (and incorrect) acks after stalling the control endpointFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25359 a1c6a512-1295-4272-9138-f99709370657
2010-03-27Fuzev2: fix normal build: enable charging properly, disable FM, use as3525v2 cpuRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25354 a1c6a512-1295-4272-9138-f99709370657
2010-03-27Fuzev2: µSD detect pin is A2 like Clip+, but the meaning is reversedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25353 a1c6a512-1295-4272-9138-f99709370657
2010-03-26sd-as3525v2.c Organize construction of MCI_COMMAND so it is more apparent ↵Jack Halpin
which bits are being set and why. I have also made the CMD_CHECK_CRC_BIT unused for now since we do not check any response crc values yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25343 a1c6a512-1295-4272-9138-f99709370657
2010-03-26Fuzev2: fix build, use suited bitmap toolRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25342 a1c6a512-1295-4272-9138-f99709370657
2010-03-26Clip+: fix battery voltage reading when charging : use ADC_RTCSUP like e200v1Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25340 a1c6a512-1295-4272-9138-f99709370657
2010-03-26Use STORAGE_WANTS_ALIGN to make clear it's not a strict necessityRafaël Carré
Define PROC_NEEDS_CACHEALIGN only for PP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25339 a1c6a512-1295-4272-9138-f99709370657
2010-03-25Accept expressions in CACHE_OVERLAP() macroRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25337 a1c6a512-1295-4272-9138-f99709370657
2010-03-25Make storage alignement use cache alignement macrosRafaël Carré
Introduce STORAGE_ALIGN_DOWN, STORAGE_PAD (using new CACHE_PAD) and STORAGE_OVERLAP (using new CACHE_OVERLAP), make them useful only when PROC_NEEDS_CACHEALIGN and STORAGE_NEEDS_ALIGN are defined Modify PP and nano2g system-target.h accordingly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25336 a1c6a512-1295-4272-9138-f99709370657
2010-03-25Commit a HID fix by gevaerts that prevent the HID driver to call ↵Amaury Pouly
usb_drv_send_nonblocking while the previous transfer has not finished because the current stack doesn't support transfer queueing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25329 a1c6a512-1295-4272-9138-f99709370657
2010-03-25Fix usb-arc driver: the driver would prematurely mark a transfer as complete ↵Amaury Pouly
whereas only a part of it actually is, check the active of the TDs to avoid that. This should fix some HID+UMS bugs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25328 a1c6a512-1295-4272-9138-f99709370657
2010-03-24sd-as3525v2.c Implement HS timings for those cards that are capable.Jack Halpin
The internal card does not appear to be HS capable, at least not in 2GB clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25316 a1c6a512-1295-4272-9138-f99709370657
2010-03-24sd-as3525v2.c Don't reset controller on every pass through the transfer loop.Jack Halpin
The controller only needs to be reset if we had an error to clean up any leftover trash... Move comment pertaining to retry variable so it's actually nearby. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25315 a1c6a512-1295-4272-9138-f99709370657
2010-03-24sd-as3525v2.c Adjust comments for MCI_INT bits to show if they are related ↵Jack Halpin
to CMD, DATA, or a termination signal. Adjust the initial MCI_MASK value to also mask the MCI_INT_RXDR and MCI_INT_TXDR bits as it seems we don't use them for dma transfers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25314 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Packard Bell Vibe 500: remove the old bootloader code (actually a lack of ↵Szymon Dziok
code) and make the main-pp.c acting like a true bootloader for the DAP. It's the first step to integrate the DAP with the RBUtil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25311 a1c6a512-1295-4272-9138-f99709370657
2010-03-23SansaAMSv2: Give register CGU_BASE + 0x3C the name CGU_SDSLOT.Jack Halpin
Move CLKDIV macros into clock-target.h. Only enable the necessary interfaces for the 3 clock registers used for SD. Add MEMSTICK and SDSLOT registers to bottom of register display in View HW info debug page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25309 a1c6a512-1295-4272-9138-f99709370657
2010-03-23No intentional warnings.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25308 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Make this properly dependend on the right defines instead of a blacklist.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25306 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Limit AUDIO_IRQ handling to AS3525, since it doesn't work on the newer SoC ↵Tobias Diedrich
in SANSA_CLIPPLUS yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25305 a1c6a512-1295-4272-9138-f99709370657
2010-03-23fix previous revision by using correct definition of i2c prescalerRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25304 a1c6a512-1295-4272-9138-f99709370657
2010-03-23as3525: do not read i2c2_cpsr* registers because the clock might be disabledRafaël Carré
The registers value does not change so we don't need to read them This avoids dividing by 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25303 a1c6a512-1295-4272-9138-f99709370657
2010-03-23fix r25297 : make ascodec-target.h empty when building simRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25301 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Implement software pwm to control c200v2 display brightness.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25300 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Add handler for audio irq.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25299 a1c6a512-1295-4272-9138-f99709370657
2010-03-23Rewrite ascodec_as3514.c to use interrupts.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25297 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2: read cid & csd in the correct order, fix disk infoRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25292 a1c6a512-1295-4272-9138-f99709370657
2010-03-22FS#11118: reduce the number of cached sector in FAT code because some are ↵Amaury Pouly
useless after a rewrite of LFN entries handling. Also makes LFN handling more robust. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25290 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2.c We don't need to disable/enable MCI_CLKENA in send_cmd().Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25286 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2.c Enable disk access icon.Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25285 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2.c Use MCI_MASK instead of data_transfer flag to determine if ↵Jack Halpin
data transfer is happening. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25284 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2.c Add macros to distinguish between a CMD error and a DATA error.Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25283 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2 Remove post transfer wait for state call and move pre transfer ↵Jack Halpin
wait for state call inside the transfer loop. We don't need the post transfer call this way. We check on TRAN state before each partial transfer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25282 a1c6a512-1295-4272-9138-f99709370657
2010-03-22sd-as3525v2.c Use SD_DESELECT_CARD instead of SD_SELECT_CARD to make the ↵Jack Halpin
code easier to understand. There is no functional difference. Add comment to explain why we need to do this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25281 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Update battery discharge curve and current consumption for iRiver h10 5GB. ↵Andree Buschmann
Thanks to Danny Attar for measuring. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25279 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Use atomic operation for GPIOx_ENABLEs in ide_power_enable() for iPod Video. ↵Andree Buschmann
Thanks to Jens Arnold for this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25273 a1c6a512-1295-4272-9138-f99709370657
2010-03-21sd-as3525v2.c: Correct SD_APP_OP_COND command to send full voltage range ↵Jack Halpin
for v1 SD cards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25266 a1c6a512-1295-4272-9138-f99709370657
2010-03-21sd-as3525v2.c: Only manipulate MCI_CLKENA for drive being used.Jack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25265 a1c6a512-1295-4272-9138-f99709370657
2010-03-21SansaAMSv2 as3541.c Include key line from funman's patch to get sound on ↵Jack Halpin
clip+ and have it only apply to as3525v2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25264 a1c6a512-1295-4272-9138-f99709370657
2010-03-20Clip+: enable sound on "as3514" (as3543 in fact)Rafaël Carré
as3525 comes with a as3517, as3525v2 with a as3543, rename specific registers accordingly Existing problems: FM (line out) doesn't work, volume can't go below a certain point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25260 a1c6a512-1295-4272-9138-f99709370657