diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/lmedm04.h')
-rw-r--r-- | drivers/media/dvb/dvb-usb/lmedm04.h | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.h b/drivers/media/dvb/dvb-usb/lmedm04.h index 5a66c7ec4511..e6af16c1e3e5 100644 --- a/drivers/media/dvb/dvb-usb/lmedm04.h +++ b/drivers/media/dvb/dvb-usb/lmedm04.h | |||
@@ -1,14 +1,16 @@ | |||
1 | /* DVB USB compliant linux driver for | 1 | /* DVB USB compliant linux driver for |
2 | * | 2 | * |
3 | * DM04/QQBOX DVB-S USB BOX LME2510C + SHARP:BS2F7HZ7395 | 3 | * DM04/QQBOX DVB-S USB BOX LME2510C + SHARP:BS2F7HZ7395 |
4 | * LME2510C + LGTDQT-P001F | 4 | * LME2510C + LG TDQY-P001F |
5 | * LME2510 + LG TDQY-P001F | ||
5 | * | 6 | * |
6 | * MVB7395 (LME2510C+SHARP:BS2F7HZ7395) | 7 | * MVB7395 (LME2510C+SHARP:BS2F7HZ7395) |
7 | * SHARP:BS2F7HZ7395 = (STV0288+Sharp IX2505V) | 8 | * SHARP:BS2F7HZ7395 = (STV0288+Sharp IX2505V) |
8 | * | 9 | * |
9 | * MVB0001F (LME2510C+LGTDQT-P001F) | 10 | * MVB001F (LME2510+LGTDQT-P001F) |
10 | * LG TDQY - P001F =(TDA8263 + TDA10086H) | 11 | * LG TDQY - P001F =(TDA8263 + TDA10086H) |
11 | * | 12 | * |
13 | * MVB0001F (LME2510C+LGTDQT-P001F) | ||
12 | * | 14 | * |
13 | * This program is free software; you can redistribute it and/or modify it | 15 | * This program is free software; you can redistribute it and/or modify it |
14 | * under the terms of the GNU General Public License as published by the Free | 16 | * under the terms of the GNU General Public License as published by the Free |
@@ -35,35 +37,33 @@ | |||
35 | * end byte -1 = 20 | 37 | * end byte -1 = 20 |
36 | * end byte = clear pid always a0, other wise 9c, 9a ?? | 38 | * end byte = clear pid always a0, other wise 9c, 9a ?? |
37 | * | 39 | * |
38 | * RESET (also clears PID filter) | ||
39 | * 3a 01 00 | ||
40 | */ | 40 | */ |
41 | #define LME_ST_ON_W {0x06, 0x00} | 41 | #define LME_ST_ON_W {0x06, 0x00} |
42 | #define LME_RESET {0x3a, 0x01, 0x00} | ||
43 | #define LME_CLEAR_PID {0x03, 0x02, 0x20, 0xa0} | 42 | #define LME_CLEAR_PID {0x03, 0x02, 0x20, 0xa0} |
44 | 43 | ||
45 | 44 | /* LNB Voltage | |
46 | /* LME Power Control | ||
47 | * 07 XX XX | 45 | * 07 XX XX |
48 | * offset 1 = 01 Power? my device cannot be powered down | 46 | * offset 1 = 01 |
49 | * offset 2 = 00=Voltage low 01=Voltage high | 47 | * offset 2 = 00=Voltage low 01=Voltage high |
48 | * | ||
49 | * LNB Power | ||
50 | * 03 01 XX | ||
51 | * offset 2 = 00=ON 01=OFF | ||
50 | */ | 52 | */ |
51 | 53 | ||
52 | #define LME_VOLTAGE_L {0x07, 0x01, 0x00} | 54 | #define LME_VOLTAGE_L {0x07, 0x01, 0x00} |
53 | #define LME_VOLTAGE_H {0x07, 0x01, 0x01} | 55 | #define LME_VOLTAGE_H {0x07, 0x01, 0x01} |
54 | 56 | #define LNB_ON {0x3a, 0x01, 0x00} | |
57 | #define LNB_OFF {0x3a, 0x01, 0x01} | ||
55 | 58 | ||
56 | /* Initial stv0288 settings for 7395 Frontend */ | 59 | /* Initial stv0288 settings for 7395 Frontend */ |
57 | static u8 s7395_inittab[] = { | 60 | static u8 s7395_inittab[] = { |
58 | 0x00, 0x11, | ||
59 | 0x01, 0x15, | 61 | 0x01, 0x15, |
60 | 0x02, 0x20, | 62 | 0x02, 0x20, |
61 | 0x03, 0x8e, | 63 | 0x03, 0xa0, |
62 | 0x04, 0x8e, | 64 | 0x04, 0xa0, |
63 | 0x05, 0x12, | 65 | 0x05, 0x12, |
64 | 0x06, 0xff, | 66 | 0x06, 0x00, |
65 | 0x07, 0x20, | ||
66 | 0x08, 0x00, | ||
67 | 0x09, 0x00, | 67 | 0x09, 0x00, |
68 | 0x0a, 0x04, | 68 | 0x0a, 0x04, |
69 | 0x0b, 0x00, | 69 | 0x0b, 0x00, |
@@ -71,7 +71,6 @@ static u8 s7395_inittab[] = { | |||
71 | 0x0d, 0x00, | 71 | 0x0d, 0x00, |
72 | 0x0e, 0xc1, | 72 | 0x0e, 0xc1, |
73 | 0x0f, 0x54, | 73 | 0x0f, 0x54, |
74 | 0x10, 0x40, | ||
75 | 0x11, 0x7a, | 74 | 0x11, 0x7a, |
76 | 0x12, 0x03, | 75 | 0x12, 0x03, |
77 | 0x13, 0x48, | 76 | 0x13, 0x48, |
@@ -84,23 +83,15 @@ static u8 s7395_inittab[] = { | |||
84 | 0x1a, 0x88, | 83 | 0x1a, 0x88, |
85 | 0x1b, 0x8f, | 84 | 0x1b, 0x8f, |
86 | 0x1c, 0xf0, | 85 | 0x1c, 0xf0, |
87 | 0x1e, 0x80, | ||
88 | 0x20, 0x0b, | 86 | 0x20, 0x0b, |
89 | 0x21, 0x54, | 87 | 0x21, 0x54, |
90 | 0x22, 0xff, | 88 | 0x22, 0xff, |
91 | 0x23, 0x01, | 89 | 0x23, 0x01, |
92 | 0x24, 0x9a, | ||
93 | 0x25, 0x7f, | ||
94 | 0x26, 0x00, | ||
95 | 0x27, 0x00, | ||
96 | 0x28, 0x46, | 90 | 0x28, 0x46, |
97 | 0x29, 0x66, | 91 | 0x29, 0x66, |
98 | 0x2a, 0x90, | 92 | 0x2a, 0x90, |
99 | 0x2b, 0xfa, | 93 | 0x2b, 0xfa, |
100 | 0x2c, 0xd9, | 94 | 0x2c, 0xd9, |
101 | 0x2d, 0x02, | ||
102 | 0x2e, 0xb1, | ||
103 | 0x2f, 0x00, | ||
104 | 0x30, 0x0, | 95 | 0x30, 0x0, |
105 | 0x31, 0x1e, | 96 | 0x31, 0x1e, |
106 | 0x32, 0x14, | 97 | 0x32, 0x14, |
@@ -115,8 +106,6 @@ static u8 s7395_inittab[] = { | |||
115 | 0x3b, 0x13, | 106 | 0x3b, 0x13, |
116 | 0x3c, 0x11, | 107 | 0x3c, 0x11, |
117 | 0x3d, 0x30, | 108 | 0x3d, 0x30, |
118 | 0x3e, 0x00, | ||
119 | 0x3f, 0x00, | ||
120 | 0x40, 0x63, | 109 | 0x40, 0x63, |
121 | 0x41, 0x04, | 110 | 0x41, 0x04, |
122 | 0x42, 0x60, | 111 | 0x42, 0x60, |
@@ -126,8 +115,6 @@ static u8 s7395_inittab[] = { | |||
126 | 0x46, 0x00, | 115 | 0x46, 0x00, |
127 | 0x47, 0x00, | 116 | 0x47, 0x00, |
128 | 0x4a, 0x00, | 117 | 0x4a, 0x00, |
129 | 0x4b, 0xd1, | ||
130 | 0x4c, 0x33, | ||
131 | 0x50, 0x12, | 118 | 0x50, 0x12, |
132 | 0x51, 0x36, | 119 | 0x51, 0x36, |
133 | 0x52, 0x21, | 120 | 0x52, 0x21, |
@@ -183,5 +170,4 @@ static u8 s7395_inittab[] = { | |||
183 | 0xf2, 0xc0, | 170 | 0xf2, 0xc0, |
184 | 0xff, 0xff, | 171 | 0xff, 0xff, |
185 | }; | 172 | }; |
186 | |||
187 | #endif | 173 | #endif |