summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2013-12-02imx233: don't compile fm tuner code in bootloaderAmaury Pouly1-1/+1
Change-Id: Icd36e6b03965272eb169a19630b720f38bac6d9e
2013-12-02imx233: fix red on stmp3600Amaury Pouly1-0/+2
Change-Id: I56527f2d643cb3c453e08cd1f759b80ce10ceb66
2013-12-01imx233: rework power management for work on stmp3700Amaury Pouly1-6/+22
Change-Id: Ia1f7e8b633dfe6ef8dc840b3eb22eaf79c53ce6b
2013-11-30Revert "imx233: always keep cards in TRAN mode"Amaury Pouly1-0/+21
This reverts commit 462adf2a0fefbfdbccfafa11c999ac6beb114e8a. Leaving the card in TRAN results in a huge power consumption because some cards and internal bridges do not automatically enter power saving mode in TRAN state. Change-Id: If79efe8cf99b24174889b3a5ebbcb51b07085f58
2013-11-26zen: rework lcd enableAmaury Pouly1-73/+67
The ZEN/ZEN-XFi seem to be very picky about the lcd. And they do not like standby mode so I'm going to drop it, the OF doesn't use it anyway. I still don't know what this "power" pin is about, obviously it's not real power but the OF toggle it. Let's hope the lcd will finally become more stable with fix: the driver now does full power on/off on enable/disable. Change-Id: I1c465ee4f2462bc3d9507e5f575f0a181af60214
2013-11-25imx233: add the possibility to choose audio output coupling modeLorenzo Miori7-0/+31
via target-defined option Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa Reviewed-on: http://gerrit.rockbox.org/678 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-11-23rk27xx: small cleanup of crt0.SMarcin Bukat1-10/+1
Change-Id: I5f40efd03b133acab86315d36580fcad68834f78
2013-11-20Add IAP support to iPod Mini 1G.andypotter1-2/+2
Tested on iPod Mini 1G. Change-Id: I67ac9b7ed84c34533107136d0aa72e5ce3bcc5bc Reviewed-on: http://gerrit.rockbox.org/668 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2013-11-20imx233/sdmmc: {sd,mmc}_{present,removable} don't depend on multivolumeAmaury Pouly1-16/+4
Change-Id: Id35fbdbc62b804e9a67c6d1f18b19a1d2051bb78
2013-11-19Finally fix yellowAmaury Pouly1-1/+1
Change-Id: Ia7c30821a9417a23478c053b3edcf26e1179a9d9
2013-11-19Fix yellowAmaury Pouly2-2/+2
Change-Id: I9d283592c6411c97948ae4962e2c22d7ab45bec3
2013-11-19Fix sim redAmaury Pouly6-8/+6
Change-Id: Icbdf47c5c508516892b1ce75558b878dc512e780
2013-11-19Forgot lcd driver of the ZEN V !Amaury Pouly1-0/+207
Change-Id: I0e0e04d4de3b28058e3822043d46d64291265c75
2013-11-19imx233: factor fmradio i2c and tuner power codeAmaury Pouly12-339/+269
Choices are limited for those: i2c is either generic software or imx233 hardware and power is either none or with a gpio. So factor ever possible combination in a single common file and use fmradio-target.h to supply the required parameters. This will remove a bunch of duplicate code. Change-Id: If12faeb2e371631cd39cc18a4c1d859812007934
2013-11-19imx233: factor adc accross targetsAmaury Pouly14-372/+62
The old code allowed each target to specify its adc targets but this proved useless since the target rely directly on imx233/lradc for input method and generic adc is mostly used for battery and debug. Remove all target specific files and provide a generic implemenation. The targets can still specify a battery temperature channel in powermgmt-target.h Change-Id: I68cf2e3e46379d174ac6d774ffb237bb15a19ae3
2013-11-18Initial commit for the Creative ZEN VAmaury Pouly8-4/+53
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
2013-11-18creativezenmozaic: factor out code with the zen/zenxfiAmaury Pouly16-568/+38
Most of the code is similar, only the lcd driver is significantly different. Change-Id: I9eab1faf08d2356f2d820d6930ef3b0653349aa1
2013-11-11imx233/creative: workaround stupid Creative partition tableAmaury Pouly2-5/+20
This should fix wrong partition size on the ZEN, X-Fi and Mozaic Change-Id: Ib8999d414773c12e1b97d515e9bf058a82141d35
2013-11-11imx233: fix yellowAmaury Pouly1-0/+5
Change-Id: I6fc2559a0c6f91301bb1039d7125f7a6fb55cac5
2013-11-11zen/zenxfi: correctly implement partial redrawAmaury Pouly1-7/+9
Although there is no difference in the cost of a full or partial update, it is preferable that the semantic of lcd_update_rect() be correct. Change-Id: I8a168388b98e0dbd7237729b7fd8a62fa1885be1
2013-11-11zen/zenxfi: implement lcd standbyAmaury Pouly1-0/+4
Change-Id: I5960221d45490c469ffd2a481d447185aba70e56
2013-11-10Updated IAP commands.Ralf Ertzinger1-3/+6
Originally written and uploaded by Lalufu (Ralf Ertzinger) in Feb 2012. They have been condensed into a single patch and some further additions by Andy Potter. Currently includes Authentication V2 support from iPod to Accessory, RF/BlueTooth transmitter support, selecting a playlist and selecting a track from the current playlist. Does not support uploading Album Art or podcasts. Has been tested on the following iPods, 4th Gen Grayscale, 4th Gen Color/Photo, Mini 2nd Gen, Nano 1st Gen and Video 5.5Gen. Change-Id: Ie8fc098361844132f0228ecbe3c48da948726f5e Co-Authored by: Andy Potter <liveboxandy@gmail.com> Reviewed-on: http://gerrit.rockbox.org/533 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2013-11-08zenxfi/zenmozaic: put HAVE_HEADPHONE_DETECTION in config fileAmaury Pouly2-4/+0
Otherwise it breaks the simulator build Change-Id: I816a34920283fc16e9c08ed6abe5fa41c0671f0a
2013-11-05ma8/ma9: Cleanup - fix tabs, remove unused defines.Andrew Ryabinin1-60/+56
2013-11-05Introduce HiFi E.T. MA8/MA8C ports.Andrew Ryabinin3-3/+6
HiFi E.T. MA8 is almost the same as MA9 except another DAC(pcm1792 in ma8, df1704 in ma9). MA8 has ILI9342 lcd, MA8C has ILI9342C lcd. Change-Id: If2ac04f5a3382590b2a392c46286559f54b2ed6a
2013-11-05ma9: Slightly change df1704 driver API.Andrew Ryabinin1-5/+5
This change should be done for easier integration of ma8 port.
2013-11-05Introduce HiFi E.T. MA9C port.Andrew Ryabinin4-3/+84
The only difference between this target and HiFi E.T. MA9 is display driver (ILI9342 in MA9 and ILI9342c in MA9C) Change-Id: Icc3d2490f850902a653175360f12283f3708bbb7
2013-11-05ma9: Fix 'always load OF' bug in bootloader.Andrew Ryabinin1-0/+1
button_read_device() could be called before pca9555_read_thread intializes pca9555_in_ports variable, and return incorrect value. Change-Id: I960bff72fe230c9d0256b20e92d0a75e67266038
2013-10-23imx233: rework vdd5v shared irq handlingAmaury Pouly1-20/+10
The previous code disabled the irq when there were fired. This seems unreliable for some mysterious reason. Instead simply disable them before enabling the irq. Change-Id: I7ee1aa25dbc41c7dd53aa7c7744aa5e4d70ff2d8 Reviewed-on: http://gerrit.rockbox.org/640 Reviewed-by: benjamin brown <foolshperson@gmail.com> Tested-by: benjamin brown <foolshperson@gmail.com> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-10-22imx233: fix partition window computationAmaury Pouly3-14/+24
The code was broken in two ways: - it called storage_read_sectors with a wrong drive number - calling storage_read_sectors too early at boot time will fail because we are in the init function, so the drive is not yet registered. To fix this, use a user provided read callback instead of storage read functions. Change-Id: I5ab79d48391fae619d5f8ae09c3d499fc43854c8
2013-10-22Initial commit for the Creative ZEN and ZEN X-FiAmaury Pouly15-0/+940
Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
2013-10-22Initial commit for the Creative ZEN MozaicAmaury Pouly15-0/+726
Change-Id: Ib65aad9f5de37e514047955cad7ca40dc0af4f74
2013-10-22imx233/system: don't do frequency management on < stmp3780, it's not workingAmaury Pouly1-0/+6
Change-Id: Ie9ff5122f1cb4fe3809bb4c6b88ef0cfc353e0e1
2013-10-22imx233/sdmmc: add write protect pin configAmaury Pouly1-0/+3
The setting is currently unused but it provides some documentation and basic support for a more comprehensive implementation of read-only support. Change-Id: I353c33ef765ef6e6c09d59e943da6654a311ad84
2013-10-22imx233/audio: workaround unused variableAmaury Pouly1-2/+1
The exact combination on which recording is needed is too complicated, so just always cancel the unused warning, the compiler will optimise it away. Change-Id: I0946586e4b01769c98babc4616f893c38f44c05f
2013-10-22imx233: extend partition window support to be more genericAmaury Pouly3-23/+145
The new code can select among several types of window (user, system, ...). Furthermore, the type of partitions to use is selectable in config file. Currently, two types are support: Freescale style MBR and Creative MBLK Change-Id: I969d60a3d08f2c9448fb4b9c440051b7801b94cd
2013-10-22imx233/i2c: relax timeoutAmaury Pouly1-4/+4
Change-Id: Ie9cf8c8bb0a89d9cbcc795e04559864b9fbaf639
2013-10-21imx233: fix power irq stormAmaury Pouly1-0/+20
When bootloader is too intelligent, like on Creative devices, it might leave some unexpected IRQs sources on, this is problematic when those sources share the same IRQ line. Change-Id: Ie9333918eb1048b1f2de4ea738cddf556aa75ee2
2013-10-21imx233: fix audioout on stmp3700Amaury Pouly1-2/+14
Strangely enough, only stmp3780 and stmp3600 have speaker control Change-Id: Icec1ed4b7e80e8b3787a3d08b32695551b58aeb9
2013-10-21fuze+: fix typoAmaury Pouly1-1/+1
Change-Id: I0b86d5cadeb5b792dbdd71ea1e25230a6643afdf
2013-10-21imx233: fix usb_detect() to be consistent with vbus detectionAmaury Pouly3-1/+11
The STMP3700 has unreliable vbusvalid irq so we need to use vdd5gtvddio. Therefore, using the vbusvalid bit produces inconsistent results between events and detect. Fix that by making power handle all the usb detect stuff. Change-Id: Ic521b2f6677602e184fe46352c5359f4b4ba8d56
2013-10-21imx233: simplify sd/mmc codeAmaury Pouly1-7/+7
Change-Id: I7e36b4c1c91540a2ae383109e440818bc610dde6
2013-10-21imx233/i2c: use 1sec timeout by default instead of blockingAmaury Pouly1-4/+4
These functions are mostly used by the radio drivers and any blocking call could potentially block the entire UI, which is pretty bad. Since any request is expected to finish within a few us, having a 10ms timeout doesn't seem unreasonable. Change-Id: I03b19729511547e5bbdeb3476d020e5d87d0d7e1
2013-10-21imx233/i2c: always reset the i2c block on timeoutAmaury Pouly1-0/+1
On targets like stmp3700, resetting the dma channel on "soft" timeout drives the whole block crazy unless it goes through complete reset. Change-Id: I830b252279989bf9f9cd9c138240a6ea9b003527
2013-09-26fuze+/zenxfi2: make sure pixclk is running before initialising lcdifAmaury Pouly3-2/+3
Change-Id: I50b2376d5f6dcf4dde994b533e0b946589a737e8
2013-09-26imx233: always start SSPCLK before ungating the spp blocksAmaury Pouly1-9/+15
This should fix some boot hang issues which appeared at random. Change-Id: I5430690a61c042b45ed26b58f485a1cc5d82987f
2013-09-26sonynwze360: fix color swapAmaury Pouly1-3/+2
I found the BGR bits in the lcd registers by trival and error. Change-Id: Ib263611e827e8671a0128242b947d76911bd9f47
2013-09-25imx233: only clear got_a_nak on imx233, it doesn't exists on other stmpsAmaury Pouly1-0/+2
Change-Id: I88e369dd7fa289f054837b442983bb7c97a58c53
2013-09-25Initial commit for the sony NWZ-E360 and NWZ-E370Amaury Pouly17-0/+1080
Change-Id: I52d21e136a98eaf481615d641795cf7ecf325465
2013-09-25fix whitespaceAmaury Pouly1-1/+1
Change-Id: I569dba9c172ec3927cf8a26ee4e58e189addc728