Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4339
b: refs/heads/master
c: 0589b8e
h: refs/heads/master
i:
  4337: ca708af
  4335: c140a64
v: v3
  • Loading branch information
Patrick Boettcher authored and Linus Torvalds committed Jul 8, 2005
1 parent 10f6046 commit c89d651
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6
refs/heads/master: 0589b8e4fd24885a00d8954aef57c3319d161fee
26 changes: 25 additions & 1 deletion trunk/drivers/media/dvb/frontends/dvb-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static void fmd1216me_bw(u8 *buf, u32 freq, int bandwidth)
}

struct dvb_pll_desc dvb_pll_fmd1216me = {
.name = "placeholder",
.name = "Philips FMD1216ME",
.min = 50870000,
.max = 858000000,
.setbw = fmd1216me_bw,
Expand All @@ -225,6 +225,30 @@ struct dvb_pll_desc dvb_pll_fmd1216me = {
};
EXPORT_SYMBOL(dvb_pll_fmd1216me);

/* ALPS TDED4
* used in Nebula-Cards and USB boxes
*/
static void tded4_bw(u8 *buf, u32 freq, int bandwidth)
{
if (bandwidth == BANDWIDTH_8_MHZ)
buf[3] |= 0x04;
}

struct dvb_pll_desc dvb_pll_tded4 = {
.name = "ALPS TDED4",
.min = 47000000,
.max = 863000000,
.setbw = tded4_bw,
.count = 4,
.entries = {
{ 153000000, 36166667, 166667, 0x85, 0x01 },
{ 470000000, 36166667, 166667, 0x85, 0x02 },
{ 823000000, 36166667, 166667, 0x85, 0x08 },
{ 999999999, 36166667, 166667, 0x85, 0x88 },
}
};
EXPORT_SYMBOL(dvb_pll_tded4);

/* ----------------------------------------------------------- */
/* code */

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/frontends/dvb-pll.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ extern struct dvb_pll_desc dvb_pll_env57h1xd5;
extern struct dvb_pll_desc dvb_pll_tua6034;
extern struct dvb_pll_desc dvb_pll_tda665x;
extern struct dvb_pll_desc dvb_pll_fmd1216me;
extern struct dvb_pll_desc dvb_pll_tded4;

int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
u32 freq, int bandwidth);
Expand Down

0 comments on commit c89d651

Please sign in to comment.