tvpll_tuners.c revision 1.1 1 /* $NetBSD: tvpll_tuners.c,v 1.1 2011/07/11 00:01:52 jakllsch Exp $ */
2
3 /*
4 * Copyright (c) 2008, 2011 Jonathan A. Kollasch
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
20 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #include <sys/cdefs.h>
30 __KERNEL_RCSID(0, "$NetBSD: tvpll_tuners.c,v 1.1 2011/07/11 00:01:52 jakllsch Exp $");
31
32 #include <sys/param.h>
33 #include <dev/i2c/tvpllvar.h>
34 #include <dev/i2c/tvpll_tuners.h>
35
36 static struct tvpll_entry tuv1236d_pll_entries[] = {
37 { 157250000, 62500, 0xc6, 0x41 },
38 { 454000000, 62500, 0xc6, 0x42 },
39 { 999999999, 62500, 0xc6, 0x44 },
40 };
41 struct tvpll_data tvpll_tuv1236d_pll = {
42 "Philips TUV1236D",
43 54000000, 864000000, 44000000,
44 NULL, NULL,
45 __arraycount(tuv1236d_pll_entries), tuv1236d_pll_entries
46 };
47
48 static struct tvpll_entry tdvs_h06xf_pll_entries[] = {
49 { 160000000, 62500, 0xce, 0x01 },
50 { 450000000, 62500, 0xce, 0x02 },
51 { 999999999, 62500, 0xce, 0x04 },
52 };
53 struct tvpll_data tvpll_tdvs_h06xf_pll = {
54 "LG TDVS-H06xF",
55 54000000, 863000000, 44000000,
56 NULL, NULL,
57 __arraycount(tdvs_h06xf_pll_entries), tdvs_h06xf_pll_entries
58 };
59