forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V4L/DVB (12951): em28xx: add Reddo DVB-C USB TV Box
Support for Reddo DVB-C USB TV Box device. Remote is not working yet. Thanks to Benjamin Larsson <[email protected]> Cc: Benjamin Larsson <[email protected]> Signed-off-by: Antti Palosaari <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
5 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
#include "s5h1409.h" | ||
#include "mt352.h" | ||
#include "mt352_priv.h" /* FIXME */ | ||
#include "tda1002x.h" | ||
|
||
MODULE_DESCRIPTION("driver for em28xx based DVB cards"); | ||
MODULE_AUTHOR("Mauro Carvalho Chehab <[email protected]>"); | ||
|
@@ -295,6 +296,11 @@ static struct mt352_config terratec_xs_mt352_cfg = { | |
.demod_init = mt352_terratec_xs_init, | ||
}; | ||
|
||
static struct tda10023_config em28xx_tda10023_config = { | ||
.demod_address = 0x0c, | ||
.invert = 1, | ||
}; | ||
|
||
/* ------------------------------------------------------------------ */ | ||
|
||
static int attach_xc3028(u8 addr, struct em28xx *dev) | ||
|
@@ -549,6 +555,19 @@ static int dvb_init(struct em28xx *dev) | |
} | ||
break; | ||
#endif | ||
case EM2870_BOARD_REDDO_DVB_C_USB_BOX: | ||
/* Philips CU1216L NIM (Philips TDA10023 + Infineon TUA6034) */ | ||
dvb->frontend = dvb_attach(tda10023_attach, | ||
&em28xx_tda10023_config, | ||
&dev->i2c_adap, 0x48); | ||
if (dvb->frontend) { | ||
if (!dvb_attach(simple_tuner_attach, dvb->frontend, | ||
&dev->i2c_adap, 0x60, TUNER_PHILIPS_CU1216L)) { | ||
result = -EINVAL; | ||
goto out_free; | ||
} | ||
} | ||
break; | ||
default: | ||
printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card" | ||
" isn't supported yet\n", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters