summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* imx233: factor adc accross targetsAmaury Pouly2013-11-19
| | | | | | | | | | 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
* Initial commit for the Creative ZEN VAmaury Pouly2013-11-18
| | | | Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
* creativezenmozaic: factor out code with the zen/zenxfiAmaury Pouly2013-11-18
| | | | | | Most of the code is similar, only the lcd driver is significantly different. Change-Id: I9eab1faf08d2356f2d820d6930ef3b0653349aa1
* imx233/creative: workaround stupid Creative partition tableAmaury Pouly2013-11-11
| | | | | | This should fix wrong partition size on the ZEN, X-Fi and Mozaic Change-Id: Ib8999d414773c12e1b97d515e9bf058a82141d35
* imx233: fix yellowAmaury Pouly2013-11-11
| | | | Change-Id: I6fc2559a0c6f91301bb1039d7125f7a6fb55cac5
* zen/zenxfi: correctly implement partial redrawAmaury Pouly2013-11-11
| | | | | | | 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
* zen/zenxfi: implement lcd standbyAmaury Pouly2013-11-11
| | | | Change-Id: I5960221d45490c469ffd2a481d447185aba70e56
* Updated IAP commands.Ralf Ertzinger2013-11-10
| | | | | | | | | | | | | | | | | | 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>
* zenmozaic: add keymap and bitmap for simulatorAmaury Pouly2013-11-08
| | | | Change-Id: I1be76d5b82ef585d2146d12aacad456071341827
* zenxfi: add simulator keymap and bitmapAmaury Pouly2013-11-08
| | | | Change-Id: Ic82ad39234d3056c3cc06d9f8f0ba6f28892e15f
* zenxfi/zenmozaic: put HAVE_HEADPHONE_DETECTION in config fileAmaury Pouly2013-11-08
| | | | | | Otherwise it breaks the simulator build Change-Id: I816a34920283fc16e9c08ed6abe5fa41c0671f0a
* Add Creative ZEN simulator bitmap and button mapAmaury Pouly2013-11-07
| | | | Change-Id: I15fad76fe48d9736be9e4cdbc9ae8fdc96cc9ac3
* ma8/ma9: Cleanup - fix tabs, remove unused defines.Andrew Ryabinin2013-11-05
|
* Introduce HiFi E.T. MA8/MA8C ports.Andrew Ryabinin2013-11-05
| | | | | | | | | 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
* ma9: Slightly change df1704 driver API.Andrew Ryabinin2013-11-05
| | | | This change should be done for easier integration of ma8 port.
* Introduce HiFi E.T. MA9C port.Andrew Ryabinin2013-11-05
| | | | | | | The only difference between this target and HiFi E.T. MA9 is display driver (ILI9342 in MA9 and ILI9342c in MA9C) Change-Id: Icc3d2490f850902a653175360f12283f3708bbb7
* ma9: Fix 'always load OF' bug in bootloader.Andrew Ryabinin2013-11-05
| | | | | | | button_read_device() could be called before pca9555_read_thread intializes pca9555_in_ports variable, and return incorrect value. Change-Id: I960bff72fe230c9d0256b20e92d0a75e67266038
* Forgot the config files for ZEN, ZEN Mozaic and ZEN X-FiAmaury Pouly2013-10-26
| | | | Change-Id: Id95d0078d7f4862e596d47ef1bdbfe75942c50fa
* imx233: rework vdd5v shared irq handlingAmaury Pouly2013-10-23
| | | | | | | | | | | | 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>
* imx233: fix partition window computationAmaury Pouly2013-10-22
| | | | | | | | | | | 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
* zenxfi2: fix red by adding partition styleAmaury Pouly2013-10-22
| | | | Change-Id: Id5b8907b68d1913f8f36d7494d7e78b63562187c
* tea5760uk: use correct i2c address on the CreativeAmaury Pouly2013-10-22
| | | | | | | Actually 0x20 is the right address, the 0x22 applies to the meizu which probably use a Chinese clone with a non-spec compliant address. Change-Id: I65b9ab6477c07a2293226536db3e696d34d3bc2c
* Initial commit for the Creative ZEN and ZEN X-FiAmaury Pouly2013-10-22
| | | | Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
* Initial commit for the Creative ZEN MozaicAmaury Pouly2013-10-22
| | | | Change-Id: Ib65aad9f5de37e514047955cad7ca40dc0af4f74
* imx233/system: don't do frequency management on < stmp3780, it's not workingAmaury Pouly2013-10-22
| | | | Change-Id: Ie9ff5122f1cb4fe3809bb4c6b88ef0cfc353e0e1
* imx233/sdmmc: add write protect pin configAmaury Pouly2013-10-22
| | | | | | | 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
* imx233/audio: workaround unused variableAmaury Pouly2013-10-22
| | | | | | | 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
* imx233: extend partition window support to be more genericAmaury Pouly2013-10-22
| | | | | | | | 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
* imx233/i2c: relax timeoutAmaury Pouly2013-10-22
| | | | Change-Id: Ie9cf8c8bb0a89d9cbcc795e04559864b9fbaf639
* imx233: add package definesAmaury Pouly2013-10-21
| | | | | | | Currently we only support the BGA169 but if by chance Rockbox was to run on a lqfp package for example, some pins may becomes unavailable or different. Change-Id: I5c0d8d57ae31604572af37e0c2edd0bd7bda73a3
* tea5760uk: properly power up the tuner during detectAmaury Pouly2013-10-21
| | | | | | | The old was doing register read/writes without calling tuner_power(), this is broken for target with real tuner power management. Change-Id: I5e60234697a8b91de6189daf6a10e871d5119b65
* tea5760uk: add support for TEA5761UKAmaury Pouly2013-10-21
| | | | | | | They share most of registers (except test and some extra bits), since our driver is very basic, it is safe to relax the manufacurer & chip id check. Change-Id: If54e8b9e0d852cd9128d5e28ff59bd2c7a55d98d
* imx233: fix power irq stormAmaury Pouly2013-10-21
| | | | | | | | 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
* imx233: fix audioout on stmp3700Amaury Pouly2013-10-21
| | | | | | Strangely enough, only stmp3780 and stmp3600 have speaker control Change-Id: Icec1ed4b7e80e8b3787a3d08b32695551b58aeb9
* fuze+: fix typoAmaury Pouly2013-10-21
| | | | Change-Id: I0b86d5cadeb5b792dbdd71ea1e25230a6643afdf
* imx233: fix usb_detect() to be consistent with vbus detectionAmaury Pouly2013-10-21
| | | | | | | | | 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
* imx233: simplify sd/mmc codeAmaury Pouly2013-10-21
| | | | Change-Id: I7e36b4c1c91540a2ae383109e440818bc610dde6
* imx233/i2c: use 1sec timeout by default instead of blockingAmaury Pouly2013-10-21
| | | | | | | | | 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
* imx233/i2c: always reset the i2c block on timeoutAmaury Pouly2013-10-21
| | | | | | | 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
* Disable LCD_FLIP and MORSE_INPUT on recorder to make it build.Frank Gevaerts2013-10-18
| | | | | | | | Disabling these two settings makes the image small enough to build again. This build has been broken for long enough without any better solution actually being worked on, so I think this is much better than nothing. Change-Id: I77c34c1e714fb6e132ed0ce39f0917779efe1125
* Simulator for Samsung YP-R0Lorenzo Miori2013-09-29
| | | | | | | | | Enable simulator for the target ypr0 to be built and used. Change-Id: I1b080f07ab90f5c4856881d08ad70e1053bbb0c0 Reviewed-on: http://gerrit.rockbox.org/618 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
* screendump.c: use HOME_DIR instead of the hard-coded "" (root)Lorenzo Miori2013-09-27
| | | | | | | | | | | This adds the support for hosted or other particular platforms, where the "root" ("home") path is NOT "/" (or ""). The change affects screendump in particular. Change-Id: I4c218d102fe12cc782aedb99d456e9f72679ea07 Reviewed-on: http://gerrit.rockbox.org/613 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* fuze+/zenxfi2: make sure pixclk is running before initialising lcdifAmaury Pouly2013-09-26
| | | | Change-Id: I50b2376d5f6dcf4dde994b533e0b946589a737e8
* imx233: always start SSPCLK before ungating the spp blocksAmaury Pouly2013-09-26
| | | | | | This should fix some boot hang issues which appeared at random. Change-Id: I5430690a61c042b45ed26b58f485a1cc5d82987f
* sonynwz: fix time handlingAmaury Pouly2013-09-26
| | | | | | Be consistent with the OF and use RTC PERSISTENT2 as offset Change-Id: Ic8b970cbc4096d1f4efa0380a3af51c93484fe58
* sonynwze360: fix color swapAmaury Pouly2013-09-26
| | | | | | I found the BGR bits in the lcd registers by trival and error. Change-Id: Ib263611e827e8671a0128242b947d76911bd9f47
* sonynwze370: fix simulatorAmaury Pouly2013-09-26
| | | | Change-Id: I23cd8ce8549119868011e2a05341f3cb6335fad6
* sonynwze360: fix simulatorAmaury Pouly2013-09-25
| | | | Change-Id: Ib63d5aceeafb1078013599616cb6dcec3a2b8598
* imx233: only clear got_a_nak on imx233, it doesn't exists on other stmpsAmaury Pouly2013-09-25
| | | | Change-Id: I88e369dd7fa289f054837b442983bb7c97a58c53
* Initial commit for the sony NWZ-E360 and NWZ-E370Amaury Pouly2013-09-25
| | | | Change-Id: I52d21e136a98eaf481615d641795cf7ecf325465