Skip to content

Commit

Permalink
V4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demo…
Browse files Browse the repository at this point in the history
…dulators.

Add support for Silicon Laboratories SI2109/2110 demodulator
and cards with it, such as DvbWorld PCI2002.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 34c0802 commit 04ad28c
Show file tree
Hide file tree
Showing 6 changed files with 1,023 additions and 4 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/dm1105/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config DVB_DM1105
select DVB_PLL if !DVB_FE_CUSTOMISE
select DVB_STV0299 if !DVB_FE_CUSTOMISE
select DVB_CX24116 if !DVB_FE_CUSTOMISE
select DVB_SI21XX if !DVB_FE_CUSTOMISE
help
Support for cards based on the SDMC DM1105 PCI chip like
DvbWorld 2002
Expand Down
7 changes: 3 additions & 4 deletions drivers/media/dvb/dm1105/dm1105.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

#include "stv0299.h"
/*#include "stv0288.h"
*#include "si21xx.h"
*#include "stb6000.h"*/
#include "si21xx.h"
#include "cx24116.h"
#include "z0194a.h"

Expand Down Expand Up @@ -600,12 +600,12 @@ static struct stv0288_config earda_config = {
.min_delay_ms = 100,
};

#endif /* keep */
static struct si21xx_config serit_config = {
.demod_address = 0x68,
.min_delay_ms = 100,

};
#endif /* keep */

static struct cx24116_config serit_sp2633_config = {
.demod_address = 0x55,
Expand Down Expand Up @@ -639,7 +639,7 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
&dm1105dvb->i2c_adap);
}
}

#endif /* keep */
if (!dm1105dvb->fe) {
dm1105dvb->fe = dvb_attach(
si21xx_attach, &serit_config,
Expand All @@ -648,7 +648,6 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
dm1105dvb->fe->ops.set_voltage =
dm1105dvb_set_voltage;
}
#endif /* keep */
break;
case PCI_DEVICE_ID_DW2004:
dm1105dvb->fe = dvb_attach(
Expand Down
7 changes: 7 additions & 0 deletions drivers/media/dvb/frontends/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ config DVB_CX24116
help
A DVB-S/S2 tuner module. Say Y when you want to support this frontend.

config DVB_SI21XX
tristate "Silicon Labs SI21XX based"
depends on DVB_CORE && I2C
default m if DVB_FE_CUSTOMISE
help
A DVB-S tuner module. Say Y when you want to support this frontend.

comment "DVB-T (terrestrial) frontends"
depends on DVB_CORE

Expand Down
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ obj-$(CONFIG_DVB_LGS8GL5) += lgs8gl5.o
obj-$(CONFIG_DVB_DUMMY_FE) += dvb_dummy_fe.o
obj-$(CONFIG_DVB_AF9013) += af9013.o
obj-$(CONFIG_DVB_CX24116) += cx24116.o
obj-$(CONFIG_DVB_SI21XX) += si21xx.o
Loading

0 comments on commit 04ad28c

Please sign in to comment.