diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-04-26 21:40:00 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-04-26 21:40:00 +0000 |
commit | b09d3aec392538ca0934644ff6357c41aaa4c323 (patch) | |
tree | 0603cf4ef59e84ee4e0c172e3b418d8dccac664c /firmware/export | |
parent | fa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff) |
Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/audiohw.h | 2 | ||||
-rw-r--r-- | firmware/export/config.h | 3 | ||||
-rw-r--r-- | firmware/export/wm8751.h | 9 |
3 files changed, 13 insertions, 1 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index 781bc12f8e..c00b673a4a 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h @@ -38,7 +38,7 @@ #include "uda1380.h" #elif defined(HAVE_UDA1341) #include "uda1341.h" -#elif defined(HAVE_WM8751) +#elif defined(HAVE_WM8750) || defined(HAVE_WM8751) #include "wm8751.h" #elif defined(HAVE_WM8978) #include "wm8978.h" diff --git a/firmware/export/config.h b/firmware/export/config.h index fb9381e7da..906a3fef1a 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -117,6 +117,7 @@ #define MINI2440_PAD 41 #define PHILIPS_HDD6330_PAD 42 #define PBELL_VIBE500_PAD 43 +#define MPIO_HD200_PAD 44 /* CONFIG_REMOTE_KEYPAD */ #define H100_REMOTE 1 @@ -412,6 +413,8 @@ Lyre prototype 1 */ #include "config/samsungyps3.h" #elif defined(PBELL_VIBE500) #include "config/vibe500.h" +#elif defined(MPIO_HD200) +#include "config/mpiohd200.h" #else /* no known platform */ #endif diff --git a/firmware/export/wm8751.h b/firmware/export/wm8751.h index 15170b76bc..c171642853 100644 --- a/firmware/export/wm8751.h +++ b/firmware/export/wm8751.h @@ -98,6 +98,15 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r); #define RESET 0x0f #define RESET_RESET 0x000 +/* WM8750 only */ +#define ENHANCE_3D 0x10 +#define ENHANCE_3D_3DEN (1 << 0) +#define ENHANCE_3D_DEPTH(x) (((x) & 0xf) << 1) +#define ENHANCE_3D_3DLC (1 << 5) +#define ENHANCE_3D_3DUC (1 << 6) +#define ENHANCE_3D_MODE3D_PLAYBACK (1 << 7) +#define ENHANCE_3D_MODE3D_RECORD (0 << 7) + #define ADDITIONAL1 0x17 #define ADDITIONAL1_TOEN (1 << 0) #define ADDITIONAL1_DACINV (1 << 1) |