summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner/rda5802.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/tuner/rda5802.c')
-rw-r--r--firmware/drivers/tuner/rda5802.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/drivers/tuner/rda5802.c b/firmware/drivers/tuner/rda5802.c
index 3f122714bd..55e775e985 100644
--- a/firmware/drivers/tuner/rda5802.c
+++ b/firmware/drivers/tuner/rda5802.c
@@ -48,9 +48,9 @@
48#define SYSCONFIG1 0x4 48#define SYSCONFIG1 0x4
49#define SYSCONFIG2 0x5 49#define SYSCONFIG2 0x5
50#define SYSCONFIG3 0x6 50#define SYSCONFIG3 0x6
51#define SYSCONFIG4 0x7 /* undocumented */ 51#define SYSCONFIG4 0x7
52#define SYSCONFIG5 0x8 /* undocumented */ 52#define SYSCONFIG5 0x8
53#define SYSCONFIG6 0x9 /* undocumented */ 53#define SYSCONFIG6 0x9 /* suspected not to exists */
54#define READCHAN 0xA 54#define READCHAN 0xA
55#define STATUSRSSI 0xB 55#define STATUSRSSI 0xB
56 56
@@ -81,7 +81,7 @@
81 81
82/* SYSCONFIG1 (0x4) */ 82/* SYSCONFIG1 (0x4) */
83#define SYSCONFIG1_DE (0x1 << 11) 83#define SYSCONFIG1_DE (0x1 << 11)
84 #define SYSCONFIG1_SOFTMUTE_EN (0x1 << 9) 84#define SYSCONFIG1_SOFTMUTE_EN (0x1 << 9)
85 85
86/* SYSCONFIG2 (0x5) */ 86/* SYSCONFIG2 (0x5) */
87#define SYSCONFIG2_VOLUME (0xF << 0) 87#define SYSCONFIG2_VOLUME (0xF << 0)
@@ -105,9 +105,9 @@ static uint16_t cache[16] = {
105 [SYSCONFIG1] = 0x0200, /* SYSCONFIG1_SOFTMUTE_EN */ 105 [SYSCONFIG1] = 0x0200, /* SYSCONFIG1_SOFTMUTE_EN */
106 [SYSCONFIG2] = 0x867F, /* INT_MODE (def), SEEKTH=1100b, LNA_PORT_SEL=LNAN, 106 [SYSCONFIG2] = 0x867F, /* INT_MODE (def), SEEKTH=1100b, LNA_PORT_SEL=LNAN,
107 LNA_ICSEL=3.0mA, VOLUME=max */ 107 LNA_ICSEL=3.0mA, VOLUME=max */
108 [SYSCONFIG3] = 0x8000, /* I2S slave mode */ 108 [SYSCONFIG3] = 0x8000, /* RSVD */
109 [SYSCONFIG4] = 0x4712, /* undocumented, affects stereo blend */ 109 [SYSCONFIG4] = 0x4712, /* TH_SOFRBLEND=34dB, 65M_50M MODE=65~76MHz, RSVD, SEEK_TH_OLD=4, SOFTBLEND_EN */
110 [SYSCONFIG5] = 0x5EC6, /* undocumented */ 110 [SYSCONFIG5] = 0x5EC6, /* FREQ_DIRECT=24262kHz (unused) */
111 [SYSCONFIG6] = 0x0000 /* undocumented */ 111 [SYSCONFIG6] = 0x0000 /* undocumented */
112}; 112};
113 113