18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * bsbe1-d01a.h - ALPS BSBE1-D01A tuner support
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2011 Oliver Endriss <o.endriss@gmx.de>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * the project's page is at https://linuxtv.org
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifndef BSBE1_D01A_H
118c2ecf20Sopenharmony_ci#define BSBE1_D01A_H
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include "stb6000.h"
148c2ecf20Sopenharmony_ci#include "stv0288.h"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic u8 stv0288_bsbe1_d01a_inittab[] = {
178c2ecf20Sopenharmony_ci	0x01, 0x15,
188c2ecf20Sopenharmony_ci	0x02, 0x20,
198c2ecf20Sopenharmony_ci	0x09, 0x0,
208c2ecf20Sopenharmony_ci	0x0a, 0x4,
218c2ecf20Sopenharmony_ci	0x0b, 0x0,
228c2ecf20Sopenharmony_ci	0x0c, 0x0,
238c2ecf20Sopenharmony_ci	0x0d, 0x0,
248c2ecf20Sopenharmony_ci	0x0e, 0xd4,
258c2ecf20Sopenharmony_ci	0x0f, 0x30,
268c2ecf20Sopenharmony_ci	0x11, 0x80,
278c2ecf20Sopenharmony_ci	0x12, 0x03,
288c2ecf20Sopenharmony_ci	0x13, 0x48,
298c2ecf20Sopenharmony_ci	0x14, 0x84,
308c2ecf20Sopenharmony_ci	0x15, 0x45,
318c2ecf20Sopenharmony_ci	0x16, 0xb7,
328c2ecf20Sopenharmony_ci	0x17, 0x9c,
338c2ecf20Sopenharmony_ci	0x18, 0x0,
348c2ecf20Sopenharmony_ci	0x19, 0xa6,
358c2ecf20Sopenharmony_ci	0x1a, 0x88,
368c2ecf20Sopenharmony_ci	0x1b, 0x8f,
378c2ecf20Sopenharmony_ci	0x1c, 0xf0,
388c2ecf20Sopenharmony_ci	0x20, 0x0b,
398c2ecf20Sopenharmony_ci	0x21, 0x54,
408c2ecf20Sopenharmony_ci	0x22, 0x0,
418c2ecf20Sopenharmony_ci	0x23, 0x0,
428c2ecf20Sopenharmony_ci	0x2b, 0xff,
438c2ecf20Sopenharmony_ci	0x2c, 0xf7,
448c2ecf20Sopenharmony_ci	0x30, 0x0,
458c2ecf20Sopenharmony_ci	0x31, 0x1e,
468c2ecf20Sopenharmony_ci	0x32, 0x14,
478c2ecf20Sopenharmony_ci	0x33, 0x0f,
488c2ecf20Sopenharmony_ci	0x34, 0x09,
498c2ecf20Sopenharmony_ci	0x35, 0x0c,
508c2ecf20Sopenharmony_ci	0x36, 0x05,
518c2ecf20Sopenharmony_ci	0x37, 0x2f,
528c2ecf20Sopenharmony_ci	0x38, 0x16,
538c2ecf20Sopenharmony_ci	0x39, 0xbd,
548c2ecf20Sopenharmony_ci	0x3a, 0x03,
558c2ecf20Sopenharmony_ci	0x3b, 0x13,
568c2ecf20Sopenharmony_ci	0x3c, 0x11,
578c2ecf20Sopenharmony_ci	0x3d, 0x30,
588c2ecf20Sopenharmony_ci	0x40, 0x63,
598c2ecf20Sopenharmony_ci	0x41, 0x04,
608c2ecf20Sopenharmony_ci	0x42, 0x60,
618c2ecf20Sopenharmony_ci	0x43, 0x00,
628c2ecf20Sopenharmony_ci	0x44, 0x00,
638c2ecf20Sopenharmony_ci	0x45, 0x00,
648c2ecf20Sopenharmony_ci	0x46, 0x00,
658c2ecf20Sopenharmony_ci	0x47, 0x00,
668c2ecf20Sopenharmony_ci	0x4a, 0x00,
678c2ecf20Sopenharmony_ci	0x50, 0x10,
688c2ecf20Sopenharmony_ci	0x51, 0x36,
698c2ecf20Sopenharmony_ci	0x52, 0x09,
708c2ecf20Sopenharmony_ci	0x53, 0x94,
718c2ecf20Sopenharmony_ci	0x54, 0x62,
728c2ecf20Sopenharmony_ci	0x55, 0x29,
738c2ecf20Sopenharmony_ci	0x56, 0x64,
748c2ecf20Sopenharmony_ci	0x57, 0x2b,
758c2ecf20Sopenharmony_ci	0x58, 0x54,
768c2ecf20Sopenharmony_ci	0x59, 0x86,
778c2ecf20Sopenharmony_ci	0x5a, 0x0,
788c2ecf20Sopenharmony_ci	0x5b, 0x9b,
798c2ecf20Sopenharmony_ci	0x5c, 0x08,
808c2ecf20Sopenharmony_ci	0x5d, 0x7f,
818c2ecf20Sopenharmony_ci	0x5e, 0x0,
828c2ecf20Sopenharmony_ci	0x5f, 0xff,
838c2ecf20Sopenharmony_ci	0x70, 0x0,
848c2ecf20Sopenharmony_ci	0x71, 0x0,
858c2ecf20Sopenharmony_ci	0x72, 0x0,
868c2ecf20Sopenharmony_ci	0x74, 0x0,
878c2ecf20Sopenharmony_ci	0x75, 0x0,
888c2ecf20Sopenharmony_ci	0x76, 0x0,
898c2ecf20Sopenharmony_ci	0x81, 0x0,
908c2ecf20Sopenharmony_ci	0x82, 0x3f,
918c2ecf20Sopenharmony_ci	0x83, 0x3f,
928c2ecf20Sopenharmony_ci	0x84, 0x0,
938c2ecf20Sopenharmony_ci	0x85, 0x0,
948c2ecf20Sopenharmony_ci	0x88, 0x0,
958c2ecf20Sopenharmony_ci	0x89, 0x0,
968c2ecf20Sopenharmony_ci	0x8a, 0x0,
978c2ecf20Sopenharmony_ci	0x8b, 0x0,
988c2ecf20Sopenharmony_ci	0x8c, 0x0,
998c2ecf20Sopenharmony_ci	0x90, 0x0,
1008c2ecf20Sopenharmony_ci	0x91, 0x0,
1018c2ecf20Sopenharmony_ci	0x92, 0x0,
1028c2ecf20Sopenharmony_ci	0x93, 0x0,
1038c2ecf20Sopenharmony_ci	0x94, 0x1c,
1048c2ecf20Sopenharmony_ci	0x97, 0x0,
1058c2ecf20Sopenharmony_ci	0xa0, 0x48,
1068c2ecf20Sopenharmony_ci	0xa1, 0x0,
1078c2ecf20Sopenharmony_ci	0xb0, 0xb8,
1088c2ecf20Sopenharmony_ci	0xb1, 0x3a,
1098c2ecf20Sopenharmony_ci	0xb2, 0x10,
1108c2ecf20Sopenharmony_ci	0xb3, 0x82,
1118c2ecf20Sopenharmony_ci	0xb4, 0x80,
1128c2ecf20Sopenharmony_ci	0xb5, 0x82,
1138c2ecf20Sopenharmony_ci	0xb6, 0x82,
1148c2ecf20Sopenharmony_ci	0xb7, 0x82,
1158c2ecf20Sopenharmony_ci	0xb8, 0x20,
1168c2ecf20Sopenharmony_ci	0xb9, 0x0,
1178c2ecf20Sopenharmony_ci	0xf0, 0x0,
1188c2ecf20Sopenharmony_ci	0xf1, 0x0,
1198c2ecf20Sopenharmony_ci	0xf2, 0xc0,
1208c2ecf20Sopenharmony_ci	0xff, 0xff,
1218c2ecf20Sopenharmony_ci};
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_cistatic struct stv0288_config stv0288_bsbe1_d01a_config = {
1248c2ecf20Sopenharmony_ci	.demod_address = 0x68,
1258c2ecf20Sopenharmony_ci	.min_delay_ms = 100,
1268c2ecf20Sopenharmony_ci	.inittab = stv0288_bsbe1_d01a_inittab,
1278c2ecf20Sopenharmony_ci};
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci#endif
130