path: root/firmware/target/arm/imx233/creative-zenxfi3
AgeCommit message (Collapse)AuthorFilesLines
2016-09-21imx233: make microphone bias, bias pin and resistor configurableAmaury Pouly1-0/+4
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-06-12zenxfi3: recalibrate battery curveAmaury Pouly1-4/+4
Apparently I simply forgot to calibrate it when the port was done and the current values are just plain wrong, especially for the charging curve. Change-Id: Ied3cafa52f31f182f953714e28edc4c5e891255f
2016-06-01zenxfi3: rewrite mpr121 driverAmaury Pouly4-76/+433
The new driver uses an asynchronous architecture for touch status reading. Change-Id: Ic75a8b91bc47ee16c3af873afde178cd70186376
2016-05-28zenxfi3: fix headphone detectionAmaury Pouly1-2/+2
The adc channel monitored for jack detection does not really have a fixed value when plugged. Instead use the same logic as the OF and simply use a threshold. Change-Id: I1d5270d83eb14decce29a39d8201ea1d1fb4436c
2015-01-12Get rid of stupid _backlight_* function namesMarcin Bukat2-16/+16
_remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
2014-04-06Complete Plugin Keymaps for Creative Zen X-Fi3David Jilke1-1/+1
This patch completes the plugin keymaps for the Zen X-Fi3 and enables those plugins for compilation. One key was changed in "button-target.h" for compatibility with Rockboy. This also caused the changes to "keymap-zenxfi3.c", to keep the stock functionality (no further changes in here). Change-Id: Ic222faf89e9a9a2332a49d6e532cedb6eb16d3d7 Reviewed-on: Reviewed-by: Amaury Pouly <>
2014-03-22zenxfi3: fix horrible bug which prevented the power button to workAmaury Pouly1-3/+4
Change-Id: Ic8e86762f84ca41e931801c1aee08007129eef20
2014-02-22zenxfi3: fix yellowAmaury Pouly1-0/+1
Change-Id: Id7eca51aa1c19cbb1798a0c8eeb5105ee4dc4769
2014-02-22zenxfi3: switch to new button driverAmaury Pouly1-37/+22
Change-Id: I14b8f35a556ef07cc5fd43c39c6ad17a1229b4f8
2013-11-25imx233: add the possibility to choose audio output coupling modeLorenzo Miori1-0/+2
via target-defined option Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa Reviewed-on: Reviewed-by: Amaury Pouly <>
2013-11-19imx233: factor fmradio i2c and tuner power codeAmaury Pouly2-60/+6
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 Pouly2-72/+0
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-06-18zenxfi3: drop audio routing driver in favor of the generic oneAmaury Pouly2-78/+30
Change-Id: Ia104c148f9139434d2c70190d2834b06de20de23
2013-06-17imx233: fix/improve lcdif for stmp3600 and stmp4700, fix driversAmaury Pouly1-338/+57
Factorise pin setup, rewrite PIO code, add support for lcdif irq, handle all the various differences between the stmps, drop yuv blitting code since it already exists in the common lcd drivers. Change-Id: Ifc40aed9b3b12f16611ce960602e46a5bc87ae53
2013-06-17imx233: fix pinctrl for stmp3600 and stmp3700Amaury Pouly2-6/+5
Change-Id: I87281b89315890fa285cb9a63fda5c90bdc8cdbf
2013-06-17imx233: enhance pwmAmaury Pouly1-4/+2
The current pwm interface is too low-level. Introduce a higher level setup function which directly computes the parameters from the required frequency. Change-Id: Ie95c7522e9f42492fe872203f4cab46770a9649a
2013-06-17imx233: normalise clkctrlAmaury Pouly1-4/+4
The clkctrl functions were becoming a mess. Normalise the names, get rid of the xtal derived as special case and use the same interface. Change-Id: Ib954a8d30a6bd691914b5e0d97774ec9fc560c50
2013-06-17imx233: enhance pinctrl irq with user pointerAmaury Pouly1-3/+4
Change-Id: I191704299487598a853af4df5aebbbf8a7134a34
2013-06-17imx233: normalise pinctrl namesAmaury Pouly3-48/+48
The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer. Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
2013-06-16imx233: rewrite pwm using new registersAmaury Pouly1-3/+3
Change-Id: Ie222f0b25f4b8af9ccf21aecd82a7f4eba40aa3c
2013-06-16imx233: rewrite power using new registersAmaury Pouly1-1/+1
Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
2013-06-16imx233: rewrite pinctrl using new registersAmaury Pouly1-2/+2
Change-Id: I907a0b599ef65061360c215580f96f59b78b615b
2013-06-16imx233: rewrite lradc using new register headersAmaury Pouly1-1/+1
Change-Id: I06e4467c0ffe33145e6192528b074a23a8df67cc
2013-06-16imx233: rewrite lcdif using the new register headersAmaury Pouly1-6/+6
Change-Id: I94329a65a7c6a4127fa05b77b9a7a291f8a50013
2013-01-15zenxfi3: remove obsolete commentAmaury Pouly1-2/+0
Change-Id: I9597461c2d48b7b7558c60efd309e5b34c661cbe
2013-01-12imx233: correctly send the LCD_EVENT_ACTIVATION on enableAmaury Pouly1-0/+2
For some reason it is the responsability of the driver to send this event so do it. This might fix some non-updating screens. Change-Id: Ib5fdc94bf266c3497a8ac4e89d0418c0e876ff9f
2013-01-12imx233: enable underflow recovery in lcdif (needed for freq scale)Amaury Pouly1-0/+1
When chaging the cpu and memory frequency we need to disable the external memory interface (EMI) for a small time. This can underflow the dma and cause some breakage. Hopefully the SSP controller handles this gracefully by stopping the clock and the I2C probably handles this naturally because the clock can be streched anyway. However the LCDIF has a special setting for this which needs to be enable, otherwise it will send garbage to the LCD. No other block is known to suffer from this currently but this issue might have more unexpected consequences. Change-Id: Ide154cad87929f2bf6cc419ac1d2ff33e30eec66
2012-05-23zenxfi3: fix typo when configuring lcd_enable pinAmaury Pouly1-1/+1
Change-Id: I288c5f80ec94c786d60ec04e87aa04e522ce5c10
2012-05-22zenxfi3: fix vol+/vol- button pin assignmentBertrik Sikken1-6/+6
Change-Id: Ibc8e19b03e786ac8c668c73c85c5e66df16cc632
2012-05-22zenxfi3: don't configure lcd_hsync and lcd_dotclk (used by audio)Amaury Pouly1-8/+5
Change-Id: Ifa5edd0f1efb0755756cbafa444f1bc678ee1dc8
2012-05-22zenxfi3: acquire audio gate pinsAmaury Pouly1-2/+19
Change-Id: I47775568b3ee7383e440e2999b0acd98f0d5c57a
2012-05-22zenxfi3: acquire button and mpr121 interrupt pinsAmaury Pouly1-0/+13
Change-Id: I7d002ce7fed08ee949335ef838014a6885ffaf5e
2012-05-22zenxfi3: acquire lcd pins before useAmaury Pouly1-0/+9
Change-Id: I9829be35d9872e8051c5281639c3d99b51908035
2012-05-19zenxfi3&stfm1000: implement fmradio i2c and debug screenAmaury Pouly1-0/+40
Change-Id: I83dbdee13185d9adcf590dc213da5a8c97adb2ba
2012-05-19Initial commit for the Creative ZEN X-Fi2 and X-Fi3 portsAmaury Pouly13-0/+1164
These are really similar devices so one commit for both is ok. Change-Id: I8bd1d3fef1eb6d00aaadfb7af56c771f62d0c9c3