diff options
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 @@ | |||
38 | #include "uda1380.h" | 38 | #include "uda1380.h" |
39 | #elif defined(HAVE_UDA1341) | 39 | #elif defined(HAVE_UDA1341) |
40 | #include "uda1341.h" | 40 | #include "uda1341.h" |
41 | #elif defined(HAVE_WM8751) | 41 | #elif defined(HAVE_WM8750) || defined(HAVE_WM8751) |
42 | #include "wm8751.h" | 42 | #include "wm8751.h" |
43 | #elif defined(HAVE_WM8978) | 43 | #elif defined(HAVE_WM8978) |
44 | #include "wm8978.h" | 44 | #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 @@ | |||
117 | #define MINI2440_PAD 41 | 117 | #define MINI2440_PAD 41 |
118 | #define PHILIPS_HDD6330_PAD 42 | 118 | #define PHILIPS_HDD6330_PAD 42 |
119 | #define PBELL_VIBE500_PAD 43 | 119 | #define PBELL_VIBE500_PAD 43 |
120 | #define MPIO_HD200_PAD 44 | ||
120 | 121 | ||
121 | /* CONFIG_REMOTE_KEYPAD */ | 122 | /* CONFIG_REMOTE_KEYPAD */ |
122 | #define H100_REMOTE 1 | 123 | #define H100_REMOTE 1 |
@@ -412,6 +413,8 @@ Lyre prototype 1 */ | |||
412 | #include "config/samsungyps3.h" | 413 | #include "config/samsungyps3.h" |
413 | #elif defined(PBELL_VIBE500) | 414 | #elif defined(PBELL_VIBE500) |
414 | #include "config/vibe500.h" | 415 | #include "config/vibe500.h" |
416 | #elif defined(MPIO_HD200) | ||
417 | #include "config/mpiohd200.h" | ||
415 | #else | 418 | #else |
416 | /* no known platform */ | 419 | /* no known platform */ |
417 | #endif | 420 | #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); | |||
98 | #define RESET 0x0f | 98 | #define RESET 0x0f |
99 | #define RESET_RESET 0x000 | 99 | #define RESET_RESET 0x000 |
100 | 100 | ||
101 | /* WM8750 only */ | ||
102 | #define ENHANCE_3D 0x10 | ||
103 | #define ENHANCE_3D_3DEN (1 << 0) | ||
104 | #define ENHANCE_3D_DEPTH(x) (((x) & 0xf) << 1) | ||
105 | #define ENHANCE_3D_3DLC (1 << 5) | ||
106 | #define ENHANCE_3D_3DUC (1 << 6) | ||
107 | #define ENHANCE_3D_MODE3D_PLAYBACK (1 << 7) | ||
108 | #define ENHANCE_3D_MODE3D_RECORD (0 << 7) | ||
109 | |||
101 | #define ADDITIONAL1 0x17 | 110 | #define ADDITIONAL1 0x17 |
102 | #define ADDITIONAL1_TOEN (1 << 0) | 111 | #define ADDITIONAL1_TOEN (1 << 0) |
103 | #define ADDITIONAL1_DACINV (1 << 1) | 112 | #define ADDITIONAL1_DACINV (1 << 1) |