summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/creative-zen
AgeCommit message (Collapse)Author
2017-08-27zen/zenxfi: increase LCD clock frequencyAmaury Pouly
Change-Id: I157e0d537a1b9d73eda4e18a4a64b10410c6fac4
2017-08-27zen/zenxfi: fix backlight white flash on backlight onAmaury Pouly
Change-Id: If028a208bd10f46dbe25e4aade085ba7ba13d7be
2017-02-04zenmozaic: adjust button voltageAmaury Pouly
The values were recorded for VDDIO at 3.46V and not 3.5 Change-Id: I12880c3d7336389bbac07fe01b8d63d9cd28d177
2017-01-16zen/zenxfi: remove obsolete commentAmaury Pouly
Change-Id: I1e4a726c85a9d87216412162fd0815747eb32cf6
2017-01-16zen/zenxfi: add remark about pinAmaury Pouly
Clearly this pin does not control power so don't call it lcd_power. Change-Id: I9a6794e2606de99cb44dd3e7288b5cce5beb8d0d
2016-09-21imx233: make microphone bias, bias pin and resistor configurableAmaury Pouly
This clearly fixes recording on targets where the bias pin was wrong. It may also improve recording on targets where the bias voltage was wrong. I was unable to find those parameters on the ZEN Mozaic, which fallback to default values. Change-Id: Ifb5f823c9cbd01f0d9a80fa5d49d93972c8b7cfe
2016-05-28imx233: generate register headers using headergen_v2 and update code for itAmaury Pouly
NOTE: this commit does not introduce any change, ideally even the binary should be almost the same. I checked the disassembly by hand and there are only a few differences here and there, mostly the compiler decides to compile very close expressions slightly differently. I tried to run the new code on several targets to make sure and saw no difference. The major syntax changes of the new headers are as follows: - BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once: BF_WR(reg, field1(value1), field2(value2), ...) - BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW - there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply BF_WR with field_V(name) - the old BF_SETV macro has no trivial equivalent and is replaced with its its equivalent for BF_WR(reg_SET, ...) I also rename the register headers: "regs/regs-x.h" -> "regs/x.h" to avoid the redundant "regs". Final note: the registers were generated using the following command: ./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
2015-01-12Get rid of stupid _backlight_* function namesMarcin Bukat
_remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
2014-06-24fix whitespaceAmaury Pouly
Change-Id: I12664528fdb0920430557739501367d1ed68346e
2014-06-24zen/zenxfi: switch lcd driver to 24-bit modeAmaury Pouly
Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
2014-03-09zenxfi: enable speakerAmaury Pouly
Change-Id: I603112d2a348abf92d5c8975ea76d3a57fda7cfc
2014-03-08zen: handle lcd underflow by handAmaury Pouly
Contrary to the imx233, the stmp37xx lcdif doesn't know how to properly recover from underflow and things are worse because of the errata which makes the lcdif not clear the fifo. Workaround this by detecting underflow and taking action: stop dotclk mode (will clear fifo) and schedule next frame. The dma transfers now write the ctrl register as part of the PIO writes, making the code simpler. Change-Id: I15abc24567f322cd03bf2ef7903094f7f0178427
2014-03-03zen/zenxfi: correctly implement lcdif errataAmaury Pouly
Change-Id: Ib2a6000035d70d687025a78bbea416d77af562fe
2014-02-22zenmozaic: enable speaker supportAmaury Pouly
Change-Id: I5f90a9816e9b7ca817fcb3195b63891fda5236f5
2014-02-22zen{,xfi,mozaic,xfistyle,v}: switch to the new button driverAmaury Pouly
Change-Id: I206b16f6374f536ab6d84e84fefc8370a96ef759
2014-02-16zenxfistyle: implement speaker supportAmaury Pouly
Change-Id: If59aaacdea9f57932464a1615f2b80e410ec50dc
2014-02-10zen: enable dma channel after lcdif initAmaury Pouly
Change-Id: I8886698ed618f9724df2f46d71f36b7443bc821b
2014-02-10zen: workaround errata on imx233 lcdifAmaury Pouly
Change-Id: I9d723aa13628e4ab38ee7f648c1923b9e7101d22
2014-02-10imx233: fix typosAmaury Pouly
Change-Id: If5bc0f09dc0b3b1e833e41bbbdd216002e37d147
2014-02-10imx233: handle jack detect inversion on some devicesAmaury Pouly
Change-Id: I6e8644d8dc410f275c7c7580fa9bcbd2fa26a041
2014-02-10imx233: make button-lradc drive able to handle VDDIO derived valuesAmaury Pouly
In most devices, the button ladder is not actually derived from VDDIO but from a constant voltage source, making it very easy to read it. However on some devices like ther ZEN X-Fi Style, the ladder is wired to VDDIO we can be changed so it's crucial that the button driver correctly scales the values wrt VDDIO. Change-Id: Ifc11abe2838fa7d16d0d60ecd96964a8dc5ea6d7
2014-01-21Initial commit for the ZEN X-Fi StyleAmaury Pouly
Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
2014-01-05Add missing kernel.h includes (hopefully all of them).Thomas Martitz
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
2013-11-26zen: rework lcd enableAmaury Pouly
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 Miori
via target-defined option Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa Reviewed-on: http://gerrit.rockbox.org/678 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-11-19Finally fix yellowAmaury Pouly
Change-Id: Ia7c30821a9417a23478c053b3edcf26e1179a9d9
2013-11-19Fix yellowAmaury Pouly
Change-Id: I9d283592c6411c97948ae4962e2c22d7ab45bec3
2013-11-19Forgot lcd driver of the ZEN V !Amaury Pouly
Change-Id: I0e0e04d4de3b28058e3822043d46d64291265c75
2013-11-19imx233: factor fmradio i2c and tuner power codeAmaury Pouly
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 Pouly
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 Pouly
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
2013-11-18creativezenmozaic: factor out code with the zen/zenxfiAmaury Pouly
Most of the code is similar, only the lcd driver is significantly different. Change-Id: I9eab1faf08d2356f2d820d6930ef3b0653349aa1
2013-11-11zen/zenxfi: correctly implement partial redrawAmaury Pouly
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 Pouly
Change-Id: I5960221d45490c469ffd2a481d447185aba70e56
2013-11-08zenxfi/zenmozaic: put HAVE_HEADPHONE_DETECTION in config fileAmaury Pouly
Otherwise it breaks the simulator build Change-Id: I816a34920283fc16e9c08ed6abe5fa41c0671f0a
2013-10-22Initial commit for the Creative ZEN and ZEN X-FiAmaury Pouly
Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748