Skip to contentSkip to conversation

smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards

PATCH New Nibble Max 1 participant 1 message Oct 8, 2014 Media (V4L/DVB)

lore
Share & tools
lore

Nibble Max

author
#0 lore raw

PATCH 1/1 smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards

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
The current driver does not support SMI IR function.

---
 drivers/media/pci/Kconfig           |   1 +
 drivers/media/pci/Makefile          |   3 +-
 drivers/media/pci/smipcie/Kconfig   |  11 +
 drivers/media/pci/smipcie/Makefile  |   3 +
 drivers/media/pci/smipcie/smipcie.c | 943 ++++++++++++++++++++++++++++++++++++
 drivers/media/pci/smipcie/smipcie.h | 299 ++++++++++++
 6 files changed, 1259 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 +11 -0
new file mode 100644
index 0000000..78b76ca
@@ -0,0 +1,11 @@
+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
+	help
+	  Support for cards with SMI PCIe bridge:
+	  - DVBSky S950 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 +943 -0

943 lines not on this page · raw message

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

299 lines not on this page · raw message

Signature · 1 line
1.9.1