Age | Commit message (Collapse) | Author |
|
Change-Id: I157e0d537a1b9d73eda4e18a4a64b10410c6fac4
|
|
Change-Id: If028a208bd10f46dbe25e4aade085ba7ba13d7be
|
|
The values were recorded for VDDIO at 3.46V and not 3.5
Change-Id: I12880c3d7336389bbac07fe01b8d63d9cd28d177
|
|
Change-Id: I1e4a726c85a9d87216412162fd0815747eb32cf6
|
|
Clearly this pin does not control power so don't call it lcd_power.
Change-Id: I9a6794e2606de99cb44dd3e7288b5cce5beb8d0d
|
|
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
|
|
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
|
|
_remote_backlight_* and _buttonlight_* are cleaned as well
Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
|
|
Change-Id: I12664528fdb0920430557739501367d1ed68346e
|
|
Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
|
|
Change-Id: I603112d2a348abf92d5c8975ea76d3a57fda7cfc
|
|
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
|
|
Change-Id: Ib2a6000035d70d687025a78bbea416d77af562fe
|
|
Change-Id: I5f90a9816e9b7ca817fcb3195b63891fda5236f5
|
|
Change-Id: I206b16f6374f536ab6d84e84fefc8370a96ef759
|
|
Change-Id: If59aaacdea9f57932464a1615f2b80e410ec50dc
|
|
Change-Id: I8886698ed618f9724df2f46d71f36b7443bc821b
|
|
Change-Id: I9d723aa13628e4ab38ee7f648c1923b9e7101d22
|
|
Change-Id: If5bc0f09dc0b3b1e833e41bbbdd216002e37d147
|
|
Change-Id: I6e8644d8dc410f275c7c7580fa9bcbd2fa26a041
|
|
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
|
|
Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
|
|
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
|
|
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
|
|
via target-defined option
Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa
Reviewed-on: http://gerrit.rockbox.org/678
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
|
Change-Id: Ia7c30821a9417a23478c053b3edcf26e1179a9d9
|
|
Change-Id: I9d283592c6411c97948ae4962e2c22d7ab45bec3
|
|
Change-Id: I0e0e04d4de3b28058e3822043d46d64291265c75
|
|
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
|
|
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
|
|
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
|
|
Most of the code is similar, only the lcd driver is significantly different.
Change-Id: I9eab1faf08d2356f2d820d6930ef3b0653349aa1
|
|
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
|
|
Change-Id: I5960221d45490c469ffd2a481d447185aba70e56
|
|
Otherwise it breaks the simulator build
Change-Id: I816a34920283fc16e9c08ed6abe5fa41c0671f0a
|
|
Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
|