summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
AgeCommit message (Collapse)Author
2008-12-09make fmradio-i2c code from clip more generic, so it works for m200v4 and ↵Dominik Wenger
hopefully all other as3525 targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19370 a1c6a512-1295-4272-9138-f99709370657
2008-12-08Sansa Clip: implement the fmradio_i2c interface using generic_i2cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19366 a1c6a512-1295-4272-9138-f99709370657
2008-12-08Sansa Clip: revert 19353Rafaël Carré
If we don't set pin B6 to 1, display can go off at random times git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19364 a1c6a512-1295-4272-9138-f99709370657
2008-12-06Add small delays before lcd_write_data() and lcd_write_command(). This seems ↵Frank Gevaerts
to be needed on some clips (i.e. mine) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19354 a1c6a512-1295-4272-9138-f99709370657
2008-12-06Sansa Clip: No need to use GPIO pin B6 in LCDRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19353 a1c6a512-1295-4272-9138-f99709370657
2008-12-05Sansa Clip: No need to use GPIO pin B5 in LCD - it's likely used in FMRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19352 a1c6a512-1295-4272-9138-f99709370657
2008-12-05Sansa AMS: use vectored interruptsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19351 a1c6a512-1295-4272-9138-f99709370657
2008-12-05Sansa AMS: correct VIC registers usageRafaël Carré
* Do not use |= on write only registers * Do use it in when setting kernel tick timer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19350 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS "High Mem" : fix main binary linking broken by r19342Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19346 a1c6a512-1295-4272-9138-f99709370657
2008-12-04pcm-as3525.c : don't use |= on a write-only register (VIC_INT_EN_CLEAR).Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19345 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: Disable DMA clocks when not in useRafaël Carré
Add dma_retain() and dma_release() to reference count the users git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19344 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: disable I2SOUT clocks when playback is stoppedRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19343 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: PCM driver (FS#9592)Rafaël Carré
Note that on low memory targets (Clip/m200v4 tested) you will encounter random crashes. Applying FS#9332 seems to help a lot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19342 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: Don't allocate stack in irq_handlerRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19338 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS SD driver: don't check non fatal flags of MCI_STATUSRafaël Carré
Correct the logic when enabling interrupt line (multivolume) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19337 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: updates DMA APIRafaël Carré
* Adds a callback to be called on end of transfer * Add a function to disable a channel * Services the 2 channels if both are active in the isr SD driver: panics on error git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19333 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa Clip: remove unused variableRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19332 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Sansa AMS: centralize clock settings in clock-target.hRafaël Carré
Reorder system_init() to initialize peripherals not only in bootloader Use a 65MHz PCLK (and memclk) which will be needed for realtime decoding git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19330 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis
how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-12-03fix hold-button handling for m200v4.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19314 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Sansa AMS: ignore buttons when hold switch is onRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19311 a1c6a512-1295-4272-9138-f99709370657
2008-12-02Move Clip specific power management stuff (specifically the battery discarge ↵Bertrik Sikken
curve) to powermgmt-clip.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19303 a1c6a512-1295-4272-9138-f99709370657
2008-12-02Sansa Clip: Do not return HOLD status in button_read_device()Rafaël Carré
It is read separately, and so backlight/buttonlight can be disabled while hold switch is on git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19302 a1c6a512-1295-4272-9138-f99709370657
2008-12-01Sansa AMS: sd_enable() isn't available in the bootloaderRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19281 a1c6a512-1295-4272-9138-f99709370657
2008-12-01Sansa AMS: disable SD clocks when not in use (copied from FS#9570)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19280 a1c6a512-1295-4272-9138-f99709370657
2008-12-01Sansa Clip : save one instruction per 8 pixels loop in lcd_grey_dataRafaël Carré
We set directly the needed bits to write into DBOP_DOUT (15:13 and 3:0) Since we can't set the mask 0xf00f with one mov instruction, revert the logic and use orrne instead of biceq (in the whole function for consistency) Fix suggested by Jens Arnold git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19279 a1c6a512-1295-4272-9138-f99709370657
2008-12-01Sansa AMS: do not load stack and bss inside the rockbox binary (FS#9593)Rafaël Carré
Define _loadaddress to fix RAM usage reported by mkinfo.pl git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19278 a1c6a512-1295-4272-9138-f99709370657
2008-11-30Sansa AMS: Use a valid PLL setting (248MHz aka maximum fclk)Rafaël Carré
Fix lcd drivers which stopped working after changing the PLL. Move set_cpu_frequency() to a place where it is actually used. Remove enable_irq() call already done by the bootloader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19276 a1c6a512-1295-4272-9138-f99709370657
2008-11-30Init the ata_sd mutex before use.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19266 a1c6a512-1295-4272-9138-f99709370657
2008-11-30do not modify the CCU_IO register since we don't use GPIOD (from FS#9569)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19263 a1c6a512-1295-4272-9138-f99709370657
2008-11-28Sansa Fuze: do not modify the CCU_IO register since we don't use GPIODRafaël Carré
Finding by Thomas Martitz git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19257 a1c6a512-1295-4272-9138-f99709370657
2008-11-28Sansa Fuze: remove left over copy-pasta (fix status bar flickering)Rafaël Carré
Patch by Daniel Weigl git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19256 a1c6a512-1295-4272-9138-f99709370657
2008-11-27Sansa Clip: grey lib support (not calibrated yet)Rafaël Carré
Declare HAVE_LCD_INVERT Put the framebuffer into IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19249 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Sansa AMS: make set_cpu_frequency() handle frequency 0Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19240 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Sansa AMS: implement set_cpu_frequency()Rafaël Carré
Use a 24MHz peripheral clock instead of 64MHz for battery life git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19234 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Sansa AMS: use non-busy wakeup to signal end of DMA transferRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19233 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Sansa AMS: kernel functions need the timer definitionsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19230 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Sansa AMS: correct timer definition (clk_main == 24MHz / 16)Rafaël Carré
make timer-target.h common to all AMS targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19229 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Fix reds. Also note my r19221 commit message had a typo - shoudld have been ↵Steve Bavin
e200/c200, not e100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19224 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Enable display contrast setting and implement flip for the Clip.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19219 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Sansa AMS: Use DMA for SD transfers (read and write)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19211 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Preliminary button driver for Sansa Fuze. FS#9575 by Thomas Martitz.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19206 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Rename BUTTON_VOLUP to BUTTON_VOL_UP in definition of BUTTON_MAIN for Sansa ↵Bertrik Sikken
Clip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19191 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Implement a basic uncalibrated battery reading for all as3525 targets with a ↵Bertrik Sikken
lithium battery. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19189 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Initialise mutex before using it in as3525-codec.c, also use mutex for ↵Bertrik Sikken
single codec register accesses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19187 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Added power.h include to power-as3525.cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19183 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Partially apply FS#9569 by Michael Chicoine and Thomas Martitz: remove the ↵Dave Chapman
GPIOD(7) setting in the Fuze and e200v2 LCD drivers - it's set in the buttonlight code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19182 a1c6a512-1295-4272-9138-f99709370657
2008-11-18Sansa Clip: backlight brightness is not possible, so remove references to itRafaël Carré
We don't need to mess with CCU_IO register (it's only needed for targets with a SD slot) so don't keep its value when changing buttonlight git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19139 a1c6a512-1295-4272-9138-f99709370657
2008-11-18Sansa AMS: Use IRAM (in app linker script and crt0.S)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19137 a1c6a512-1295-4272-9138-f99709370657
2008-11-17Correct the xoffset used when display_flipped is false - fixes the display ↵Dave Chapman
in the main Rockbox build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19128 a1c6a512-1295-4272-9138-f99709370657