summaryrefslogtreecommitdiff
path: root/firmware/export/cs42l55.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/cs42l55.h')
-rw-r--r--firmware/export/cs42l55.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/cs42l55.h b/firmware/export/cs42l55.h
index 8a6640f7c2..86b54ef272 100644
--- a/firmware/export/cs42l55.h
+++ b/firmware/export/cs42l55.h
@@ -26,7 +26,8 @@
26#define VOLUME_MIN -580 26#define VOLUME_MIN -580
27#define VOLUME_MAX 120 27#define VOLUME_MAX 120
28 28
29#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP) 29#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP | BASS_CUTOFF_CAP \
30 | TREBLE_CUTOFF_CAP | PRESCALER_CAP)
30 31
31extern int tenthdb2master(int db); 32extern int tenthdb2master(int db);
32 33
@@ -269,11 +270,13 @@ extern void audiohw_enable_lineout(bool enable);
269#define BTCTL 0x16 270#define BTCTL 0x16
270#define BTCTL_TCEN (1 << 0) 271#define BTCTL_TCEN (1 << 0)
271#define BTCTL_BASSCF_MASK (3 << 1) 272#define BTCTL_BASSCF_MASK (3 << 1)
273#define BTCTL_BASSCF_SHIFT 1
272#define BTCTL_BASSCF_50 (0 << 1) 274#define BTCTL_BASSCF_50 (0 << 1)
273#define BTCTL_BASSCF_100 (1 << 1) 275#define BTCTL_BASSCF_100 (1 << 1)
274#define BTCTL_BASSCF_200 (2 << 1) 276#define BTCTL_BASSCF_200 (2 << 1)
275#define BTCTL_BASSCF_250 (3 << 1) 277#define BTCTL_BASSCF_250 (3 << 1)
276#define BTCTL_TREBCF_MASK (3 << 3) 278#define BTCTL_TREBCF_MASK (3 << 3)
279#define BTCTL_TREBCF_SHIFT 3
277#define BTCTL_TREBCF_5000 (0 << 3) 280#define BTCTL_TREBCF_5000 (0 << 3)
278#define BTCTL_TREBCF_7000 (1 << 3) 281#define BTCTL_TREBCF_7000 (1 << 3)
279#define BTCTL_TREBCF_10000 (2 << 3) 282#define BTCTL_TREBCF_10000 (2 << 3)