xref: /linux/drivers/media/dvb-frontends/eds1547.h (revision 6ed7ffddcf61f668114edb676417e5fb33773b59)
1 /* eds1547.h Earda EDS-1547 tuner support
2 *
3 * Copyright (C) 2008 Igor M. Liplianin (liplianin@me.by)
4 *
5 *	This program is free software; you can redistribute it and/or modify it
6 *	under the terms of the GNU General Public License as published by the
7 *	Free Software Foundation, version 2.
8 *
9 * see Documentation/dvb/README.dvb-usb for more information
10 */
11 
12 #ifndef EDS1547
13 #define EDS1547
14 
15 static u8 stv0288_earda_inittab[] = {
16 	0x01, 0x57,
17 	0x02, 0x20,
18 	0x03, 0x8e,
19 	0x04, 0x8e,
20 	0x05, 0x12,
21 	0x06, 0x00,
22 	0x07, 0x00,
23 	0x09, 0x00,
24 	0x0a, 0x04,
25 	0x0b, 0x00,
26 	0x0c, 0x00,
27 	0x0d, 0x00,
28 	0x0e, 0xd4,
29 	0x0f, 0x30,
30 	0x11, 0x44,
31 	0x12, 0x03,
32 	0x13, 0x48,
33 	0x14, 0x84,
34 	0x15, 0x45,
35 	0x16, 0xb7,
36 	0x17, 0x9c,
37 	0x18, 0x00,
38 	0x19, 0xa6,
39 	0x1a, 0x88,
40 	0x1b, 0x8f,
41 	0x1c, 0xf0,
42 	0x20, 0x0b,
43 	0x21, 0x54,
44 	0x22, 0x00,
45 	0x23, 0x00,
46 	0x2b, 0xff,
47 	0x2c, 0xf7,
48 	0x30, 0x00,
49 	0x31, 0x1e,
50 	0x32, 0x14,
51 	0x33, 0x0f,
52 	0x34, 0x09,
53 	0x35, 0x0c,
54 	0x36, 0x05,
55 	0x37, 0x2f,
56 	0x38, 0x16,
57 	0x39, 0xbd,
58 	0x3a, 0x00,
59 	0x3b, 0x13,
60 	0x3c, 0x11,
61 	0x3d, 0x30,
62 	0x40, 0x63,
63 	0x41, 0x04,
64 	0x42, 0x20,
65 	0x43, 0x00,
66 	0x44, 0x00,
67 	0x45, 0x00,
68 	0x46, 0x00,
69 	0x47, 0x00,
70 	0x4a, 0x00,
71 	0x50, 0x10,
72 	0x51, 0x36,
73 	0x52, 0x09,
74 	0x53, 0x94,
75 	0x54, 0x62,
76 	0x55, 0x29,
77 	0x56, 0x64,
78 	0x57, 0x2b,
79 	0x58, 0x54,
80 	0x59, 0x86,
81 	0x5a, 0x00,
82 	0x5b, 0x9b,
83 	0x5c, 0x08,
84 	0x5d, 0x7f,
85 	0x5e, 0x00,
86 	0x5f, 0xff,
87 	0x70, 0x00,
88 	0x71, 0x00,
89 	0x72, 0x00,
90 	0x74, 0x00,
91 	0x75, 0x00,
92 	0x76, 0x00,
93 	0x81, 0x00,
94 	0x82, 0x3f,
95 	0x83, 0x3f,
96 	0x84, 0x00,
97 	0x85, 0x00,
98 	0x88, 0x00,
99 	0x89, 0x00,
100 	0x8a, 0x00,
101 	0x8b, 0x00,
102 	0x8c, 0x00,
103 	0x90, 0x00,
104 	0x91, 0x00,
105 	0x92, 0x00,
106 	0x93, 0x00,
107 	0x94, 0x1c,
108 	0x97, 0x00,
109 	0xa0, 0x48,
110 	0xa1, 0x00,
111 	0xb0, 0xb8,
112 	0xb1, 0x3a,
113 	0xb2, 0x10,
114 	0xb3, 0x82,
115 	0xb4, 0x80,
116 	0xb5, 0x82,
117 	0xb6, 0x82,
118 	0xb7, 0x82,
119 	0xb8, 0x20,
120 	0xb9, 0x00,
121 	0xf0, 0x00,
122 	0xf1, 0x00,
123 	0xf2, 0xc0,
124 	0xff,0xff,
125 };
126 
127 static struct stv0288_config earda_config = {
128 	.demod_address = 0x68,
129 	.min_delay_ms = 100,
130 	.inittab = stv0288_earda_inittab,
131 };
132 
133 #endif
134