Skip to contentSkip to conversation

DVBSky V3 PCIe card: add new SMI PCIe bridge driver

PATCH In review Nibble Max 1 participant 1 message Oct 13, 2014 Media (V4L/DVB)

lore
Share & tools
lore

Nibble Max

author
#0 lore raw

PATCH 1/3 DVBSky V3 PCIe card: add new SMI PCIe bridge driver

There is a new PCIe bridge chip(from SMI) used in DVBSky V3 seris cards, include S950 V3 and S952 V3 cards. SMI pcie bridge chip is PCIe 1.1 compliant, supports MSI feature.
Main interface blocks:
1>Two DVB transport stream input ports(ts0,ts1).
2>Two I2C master bus(i2c0, i2c1).
3>IR controller.
4>reset pins and other GPIOs.

DVBSky S950 V3 card has a single channel of dvb-s/s2. 1>Frontend: tuner: M88TS2022, demod: M88DS3103 2>PCIe bridge: SMI PCIe

DVBSky S952 V3 card has a dual channels of dvb-s/s2. 1>Frontend: Integrated tuner and demod: M88RS6000 2>PCIe bridge: SMI PCIe

*The current driver does not support SMI IR function.

---
 drivers/media/pci/Kconfig           |    1 +
 drivers/media/pci/Makefile          |    3 +-
 drivers/media/pci/smipcie/Kconfig   |   13 +
 drivers/media/pci/smipcie/Makefile  |    3 +
 drivers/media/pci/smipcie/smipcie.c | 1021 +++++++++++++++++++++++++++++++++++
 drivers/media/pci/smipcie/smipcie.h |  298 ++++++++++
 6 files changed, 1338 insertions(+), 1 deletion(-)
drivers/media/pci/Kconfig +1 -0
index f8cec8e..218144a 100644
@@ -46,6 +46,7 @@ source "drivers/media/pci/pt3/Kconfig"
 source "drivers/media/pci/mantis/Kconfig"
 source "drivers/media/pci/ngene/Kconfig"
 source "drivers/media/pci/ddbridge/Kconfig"
+source "drivers/media/pci/smipcie/Kconfig"
 endif
 
 endif #MEDIA_PCI_SUPPORT
drivers/media/pci/Makefile +2 -1
index a12926e..0baf0d2 100644
@@ -11,7 +11,8 @@ obj-y        +=	ttpci/		\
 		mantis/		\
 		ngene/		\
 		ddbridge/	\
-		saa7146/
+		saa7146/	\
+		smipcie/
 
 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
 obj-$(CONFIG_VIDEO_ZORAN) += zoran/
drivers/media/pci/smipcie/Kconfig new file +13 -0
new file mode 100644
index 0000000..75a2992
@@ -0,0 +1,13 @@
+config DVB_SMIPCIE
+	tristate "SMI PCIe DVBSky cards"
+	depends on DVB_CORE && PCI && I2C
+	select DVB_M88DS3103 if MEDIA_SUBDRV_AUTOSELECT
+	select MEDIA_TUNER_M88TS2022 if MEDIA_SUBDRV_AUTOSELECT
+	select MEDIA_TUNER_M88RS6000T if MEDIA_SUBDRV_AUTOSELECT
+	help
+	  Support for cards with SMI PCIe bridge:
+	  - DVBSky S950 V3
+	  - DVBSky S952 V3
+
+	  Say Y or M if you own such a device and want to use it.
+	  If unsure say N.
drivers/media/pci/smipcie/Makefile new file +3 -0
new file mode 100644
index 0000000..20af47a
@@ -0,0 +1,3 @@
+obj-$(CONFIG_DVB_SMIPCIE) += smipcie.o
+
+ccflags-y += -Idrivers/media/dvb-core/ -Idrivers/media/dvb-frontends
drivers/media/pci/smipcie/smipcie.c new file +1021 -0

1,021 lines not on this page · raw message

drivers/media/pci/smipcie/smipcie.h new file +298 -0

298 lines not on this page · raw message

Signature · 1 line
1.9.1