summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/audioout-imx233.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14imx233: fix audio debug screen on stmp3700Amaury Pouly1-3/+3
On STMP3700 there is no dedicated speaker amplifier but speaker is always on lineout so it makes sense to report volume and power down of lineout. Change-Id: If666bccf36d3a5ecc6d892823522d023f3206184
2017-01-14imx233: add note about power down bits in audiooutAmaury Pouly1-0/+4
Change-Id: I204acff8ee697d70fd16f9828010646b10a8f11b
2017-01-14imx233: fix speaker enable/disable codeAmaury Pouly1-1/+1
Change-Id: I6540f2f8ba09bc79b80d71e5f3b0adebd9fce727
2016-09-21imx233: fix recording gainAmaury Pouly1-1/+0
For some reason, there was a mismatch between the setting (decibel) and the audiohw code (centicel). This resulted in a gain divided by 10. This may explain why some people experienced low volume with the mic on the fuze+. Change-Id: I138ac18dd93c36f43a7dfce735efc826405c598c
2016-05-28imx233: generate register headers using headergen_v2 and update code for itAmaury Pouly1-21/+23
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
2014-02-22stmp3700: implement speaker support by mean of lineoutAmaury Pouly1-0/+37
Change-Id: Ic4c8b536fde7a840d3f3f295531cc1253de6320d
2014-02-22imxtools/scsitools: increase SCSI delay to 10 secondsAmaury Pouly1-0/+1
On some OSes like Windows or if running in a virtual machine, the one second timeout might be too short. Change-Id: I717f7a2aaed1cb3d40e8fbe6f9b1081b43ceea95
2014-02-16imx233: add support for speaker on stmp3780Amaury Pouly1-0/+18
Change-Id: I990ca2bd43e12047e257f85ff06f046dfa3f94b3
2014-01-05Add missing kernel.h includes (hopefully all of them).Thomas Martitz1-2/+6
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
2013-11-25imx233: add the possibility to choose audio output coupling modeLorenzo Miori1-0/+13
via target-defined option Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa Reviewed-on: http://gerrit.rockbox.org/678 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-10-21imx233: fix audioout on stmp3700Amaury Pouly1-2/+14
Strangely enough, only stmp3780 and stmp3600 have speaker control Change-Id: Icec1ed4b7e80e8b3787a3d08b32695551b58aeb9
2013-07-13imx233: fix audio debug screenAmaury Pouly1-3/+3
Change-Id: Iaadd43a28907ebd425a0b7199f067a4fab8e9653
2013-07-13imx233: add audioout debug infoAmaury Pouly1-0/+28
Change-Id: Iac092de861847e31aba48d2fdc51ae72cd9bd202
2013-06-17imx233: fix audioout for stmp3600 and stmp3700, add 3d effectAmaury Pouly1-3/+27
Although the 3D effets sound terrible, add support for it. Change-Id: Ib24be01986a974387b592c6e291d34b196ceb884
2013-06-17imx233: normalise clkctrlAmaury Pouly1-2/+2
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-16imx233: rewrite audioout using new register headersAmaury Pouly1-59/+43
Change-Id: I20dddec437187c0974ac16027548dbe3dd097c59
2012-12-02imx233: try to improve audio qualityAmaury Pouly1-0/+7
Change-Id: Idaee93fae8d407e5968f8571c54957b7b87da3bb
2012-11-13imx233: hopefully fix audio pop on startupAmaury Pouly1-3/+21
Change-Id: I6410c0e11acc02ec996461153b4737f416f8cbee
2012-05-19imx233: fix clkctrl namingAmaury Pouly1-2/+2
Move to a more consistent naming convention like the other devices Change-Id: I4ddbbee27ee9f5ae775c5776592ec7ce02b30948
2012-02-03imx233/fuze+: fix a typo, handle volume differently because of the line1/dac ↵Amaury Pouly1-5/+37
mode difference. The headphone volume register value reads differently in Line1 and DAC mode. Since the volume is not set again when switching between playback and radio, we need to remember the hp volume and reapply setting when changing the mode. Change-Id: I8fbd344f78653c19d81a39dd3f680ec6885cb1ec
2011-10-18imx233/fuze+: implement audioout functions (init, volume, frequency); add ↵Amaury Pouly1-0/+179
stubs for audioin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30798 a1c6a512-1295-4272-9138-f99709370657