Skip to contentSkip to conversation

Add support for SMT7020 to cx88

PATCH In review Helmut Auer 2 participants 4 messages Feb 11, 2010 – Feb 14, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for SMT7020 to cx88

From: Helmut Auer <[email protected]>

This patch (originally written by Dirk Herrendoerfer) adds support for the built-in dvb device of a Samsung SMT7020s (x86 based STB) to the cx88 family.
(see http://www.linuxtv.org/pipermail/linux-dvb/2007-January/015208.html)

Signature · 1 line
Helmut Auer, [email protected]
linux/drivers/media/video/cx88/cx88-cards.c +23 -0
diff -r 095b1aec2354 linux/drivers/media/video/cx88/cx88-cards.c
@@ -1499,6 +1499,18 @@
 			.audioroute = 8,
 		},
 	},
+	[CX88_BOARD_SAMSUNG_SMT_7020] = {
+		.name		= "Samsung SMT 7020 DVB-S",
+		.tuner_type	= TUNER_ABSENT,
+		.radio_type	= UNSET,
+		.tuner_addr	= ADDR_UNSET,
+		.radio_addr	= ADDR_UNSET,
+		.input		= { {
+			.type	= CX88_VMUX_DVB,
+			.vmux	= 0,
+		} },
+		.mpeg           = CX88_MPEG_DVB,
+	},
 	[CX88_BOARD_ADSTECH_PTV_390] = {
 		.name           = "ADS Tech Instant Video PCI",
 		.tuner_type     = TUNER_ABSENT,
@@ -2388,6 +2400,14 @@
 		.subvendor = 0x0070,
 		.subdevice = 0x1404,
 		.card      = CX88_BOARD_HAUPPAUGE_HVR3000,
+	}, {
+		.subvendor = 0x18ac,
+		.subdevice = 0xdc00,
+		.card      = CX88_BOARD_SAMSUNG_SMT_7020,
+	}, {
+		.subvendor = 0x18ac,
+		.subdevice = 0xdccd,
+		.card      = CX88_BOARD_SAMSUNG_SMT_7020,
 	},{
 		.subvendor = 0x1461,
 		.subdevice = 0xc111, /* AverMedia M150-D */
@@ -2666,6 +2686,9 @@
 	case 98559: /* WinTV-HVR1100LP (Video no IR, Retail - Low Profile) */
 		/* known */
 		break;
+	case CX88_BOARD_SAMSUNG_SMT_7020:
+		cx_set(MO_GP0_IO, 0x008989FF);
+		break;
 	default:
 		warn_printk(core, "warning: unknown hauppauge model #%d\n",
 			    tv.model);
linux/drivers/media/video/cx88/cx88-dvb.c +216 -0

228 lines not on this page · raw message

linux/drivers/media/video/cx88/cx88-mpeg.c +3 -0
diff -r 095b1aec2354 linux/drivers/media/video/cx88/cx88-mpeg.c
@@ -123,6 +123,9 @@
 		case CX88_BOARD_PCHDTV_HD5500:
 			cx_write(TS_SOP_STAT, 1<<13);
 			break;
+		case CX88_BOARD_SAMSUNG_SMT_7020:
+			cx_write(TS_SOP_STAT, 0x00);
+			break;
 		case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
 		case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
 			cx_write(MO_PINMUX_IO, 0x88); /* Enable MPEG parallel IO and video signal pins */
linux/drivers/media/video/cx88/cx88.h +1 -0
diff -r 095b1aec2354 linux/drivers/media/video/cx88/cx88.h
@@ -240,6 +240,7 @@
 #define CX88_BOARD_WINFAST_DTV1800H        81
 #define CX88_BOARD_WINFAST_DTV2000H_J      82
 #define CX88_BOARD_PROF_7301               83
+#define CX88_BOARD_SAMSUNG_SMT_7020        84
 
 enum cx88_itype {
 	CX88_VMUX_COMPOSITE1 = 1,
#1 lore raw

Am 11.02.2010 22:06, schrieb Helmut Auer:

Quoted 8 lines

From: Helmut Auer <[email protected]>

This patch (originally written by Dirk Herrendoerfer) adds support for the built-in dvb device of a Samsung SMT7020s (x86 based STB) to the cx88 family.
(see http://www.linuxtv.org/pipermail/linux-dvb/2007-January/015208.html)

What do I have to do to get some attention ?

Signature · 1 line
Helmut Auer, [email protected]
#2 lore raw
In reply to Helmut Auer

Am 11.02.2010 22:06, schrieb Helmut Auer:

Quoted 8 lines

From: Helmut Auer <[email protected]>

This patch (originally written by Dirk Herrendoerfer) adds support for the built-in dvb device of a Samsung SMT7020s (x86 based STB) to the cx88 family.
(see http://www.linuxtv.org/pipermail/linux-dvb/2007-January/015208.html)

What's to do to get attention for this ?

Signature · 1 line
Helmut Auer, [email protected]
#3 lore raw
Quoted 11 lines · Helmut Auer

Am 11.02.2010 22:06, schrieb Helmut Auer:

Quoted 8 lines

From: Helmut Auer <[email protected]>

This patch (originally written by Dirk Herrendoerfer) adds support for the built-in dvb device of a Samsung SMT7020s (x86 based STB) to the cx88 family.
(see http://www.linuxtv.org/pipermail/linux-dvb/2007-January/015208.html)

What's to do to get attention for this ?

Your patch will likely be catched by patchwork, so, it is on the queue. I should be handle the pending patches after the holidays. Yet, as it adds a new driver, we need the Signed-off-by from the driver author (Dirk).

Signature · 2 lines
Cheers,
Mauro