zenxfistyle: implement speaker support

Change-Id: If59aaacdea9f57932464a1615f2b80e410ec50dc
This commit is contained in:
Amaury Pouly 2014-02-16 20:47:30 +01:00
parent f0f1758067
commit 556fa2c4cd
2 changed files with 8 additions and 0 deletions

View file

@ -80,6 +80,9 @@
/* define this if you have an i.MX23 codec */
#define HAVE_IMX233_CODEC
/* Define this if you have a speaker */
#define HAVE_SPEAKER
#define CONFIG_TUNER STFM1000
/* There is no hardware tone control */

View file

@ -23,5 +23,10 @@
#define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS
#ifdef CREATIVE_ZENXFISTYLE
#define IMX233_AUDIO_SPKR_GATE_BANK 0
#define IMX233_AUDIO_SPKR_GATE_PIN 12
#endif
#endif /* __audio_target__ */