summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zenxfi2
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-21 00:02:14 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-09-21 00:36:51 +0100
commit5e2600eb3ae4563ac9d856ca7a63af1322679ea3 (patch)
tree7b278f129e826bc3e505ea43efe506dfc803f19f /firmware/target/arm/imx233/creative-zenxfi2
parent6f7ee0bb7ce507902f571f823fe173f07ec7e32f (diff)
downloadrockbox-5e2600eb3ae4563ac9d856ca7a63af1322679ea3.tar.gz
rockbox-5e2600eb3ae4563ac9d856ca7a63af1322679ea3.tar.bz2
rockbox-5e2600eb3ae4563ac9d856ca7a63af1322679ea3.zip
imx233: make microphone bias, bias pin and resistor configurable
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
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi2')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi2/audio-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h b/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h
index d38d58bada..4179fe910e 100644
--- a/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h
+++ b/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h
@@ -26,4 +26,8 @@
#define IMX233_AUDIO_SPKR_GATE_BANK 0
#define IMX233_AUDIO_SPKR_GATE_PIN 12
+#define IMX233_AUDIO_MIC_SELECT 0 /* lradc0 */
+#define IMX233_AUDIO_MIC_BIAS 0 /* 1.21V */
+#define IMX233_AUDIO_MIC_RESISTOR 2KOhm
+
#endif /* __audio_target__ */