xref: /openbmc/linux/drivers/media/dvb-frontends/bsbe1-d01a.h (revision 05cf4fe738242183f1237f1b3a28b4479348c0a1)
1 /*
2  * bsbe1-d01a.h - ALPS BSBE1-D01A tuner support
3  *
4  * Copyright (C) 2011 Oliver Endriss <o.endriss@gmx.de>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * To obtain the license, point your browser to
18  * http://www.gnu.org/copyleft/gpl.html
19  *
20  *
21  * the project's page is at https://linuxtv.org
22  */
23 
24 #ifndef BSBE1_D01A_H
25 #define BSBE1_D01A_H
26 
27 #include "stb6000.h"
28 #include "stv0288.h"
29 
30 static u8 stv0288_bsbe1_d01a_inittab[] = {
31 	0x01, 0x15,
32 	0x02, 0x20,
33 	0x09, 0x0,
34 	0x0a, 0x4,
35 	0x0b, 0x0,
36 	0x0c, 0x0,
37 	0x0d, 0x0,
38 	0x0e, 0xd4,
39 	0x0f, 0x30,
40 	0x11, 0x80,
41 	0x12, 0x03,
42 	0x13, 0x48,
43 	0x14, 0x84,
44 	0x15, 0x45,
45 	0x16, 0xb7,
46 	0x17, 0x9c,
47 	0x18, 0x0,
48 	0x19, 0xa6,
49 	0x1a, 0x88,
50 	0x1b, 0x8f,
51 	0x1c, 0xf0,
52 	0x20, 0x0b,
53 	0x21, 0x54,
54 	0x22, 0x0,
55 	0x23, 0x0,
56 	0x2b, 0xff,
57 	0x2c, 0xf7,
58 	0x30, 0x0,
59 	0x31, 0x1e,
60 	0x32, 0x14,
61 	0x33, 0x0f,
62 	0x34, 0x09,
63 	0x35, 0x0c,
64 	0x36, 0x05,
65 	0x37, 0x2f,
66 	0x38, 0x16,
67 	0x39, 0xbd,
68 	0x3a, 0x03,
69 	0x3b, 0x13,
70 	0x3c, 0x11,
71 	0x3d, 0x30,
72 	0x40, 0x63,
73 	0x41, 0x04,
74 	0x42, 0x60,
75 	0x43, 0x00,
76 	0x44, 0x00,
77 	0x45, 0x00,
78 	0x46, 0x00,
79 	0x47, 0x00,
80 	0x4a, 0x00,
81 	0x50, 0x10,
82 	0x51, 0x36,
83 	0x52, 0x09,
84 	0x53, 0x94,
85 	0x54, 0x62,
86 	0x55, 0x29,
87 	0x56, 0x64,
88 	0x57, 0x2b,
89 	0x58, 0x54,
90 	0x59, 0x86,
91 	0x5a, 0x0,
92 	0x5b, 0x9b,
93 	0x5c, 0x08,
94 	0x5d, 0x7f,
95 	0x5e, 0x0,
96 	0x5f, 0xff,
97 	0x70, 0x0,
98 	0x71, 0x0,
99 	0x72, 0x0,
100 	0x74, 0x0,
101 	0x75, 0x0,
102 	0x76, 0x0,
103 	0x81, 0x0,
104 	0x82, 0x3f,
105 	0x83, 0x3f,
106 	0x84, 0x0,
107 	0x85, 0x0,
108 	0x88, 0x0,
109 	0x89, 0x0,
110 	0x8a, 0x0,
111 	0x8b, 0x0,
112 	0x8c, 0x0,
113 	0x90, 0x0,
114 	0x91, 0x0,
115 	0x92, 0x0,
116 	0x93, 0x0,
117 	0x94, 0x1c,
118 	0x97, 0x0,
119 	0xa0, 0x48,
120 	0xa1, 0x0,
121 	0xb0, 0xb8,
122 	0xb1, 0x3a,
123 	0xb2, 0x10,
124 	0xb3, 0x82,
125 	0xb4, 0x80,
126 	0xb5, 0x82,
127 	0xb6, 0x82,
128 	0xb7, 0x82,
129 	0xb8, 0x20,
130 	0xb9, 0x0,
131 	0xf0, 0x0,
132 	0xf1, 0x0,
133 	0xf2, 0xc0,
134 	0xff, 0xff,
135 };
136 
137 static struct stv0288_config stv0288_bsbe1_d01a_config = {
138 	.demod_address = 0x68,
139 	.min_delay_ms = 100,
140 	.inittab = stv0288_bsbe1_d01a_inittab,
141 };
142 
143 #endif
144