Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 443c1228 authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (12923): SAA7164: Add support for the NXP SAA7164 silicon



This patch adds support for all of the known shipping Hauppauge HVR-2200
and HVR-2250 boards. Digital TV ATSC/QAM and DVB-T is enabled at this
time. Both tuners are supported.

Volatiles and typedefs need rework, the rest is coding style compliant.

Signed-off-by: default avatarSteven Toth <stoth@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9afef394
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
  0 -> Unknown
  1 -> Generic Rev2
  2 -> Generic Rev3
  3 -> Hauppauge WinTV-HVR2250                             [0070:8880,0070:8810]
  4 -> Hauppauge WinTV-HVR2200                             [0070:8980]
  5 -> Hauppauge WinTV-HVR2200                             [0070:8900]
  6 -> Hauppauge WinTV-HVR2200                             [0070:8901]
  7 -> Hauppauge WinTV-HVR2250                             [0070:88A1,0070:8891]
+2 −0
Original line number Diff line number Diff line
@@ -690,6 +690,8 @@ source "drivers/media/video/ivtv/Kconfig"

source "drivers/media/video/cx18/Kconfig"

source "drivers/media/video/saa7164/Kconfig"

config VIDEO_M32R_AR
	tristate "AR devices"
	depends on M32R && VIDEO_V4L1
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@ obj-$(CONFIG_VIDEO_SH_MOBILE_CEU) += sh_mobile_ceu_camera.o
obj-$(CONFIG_VIDEO_AU0828) += au0828/

obj-$(CONFIG_USB_VIDEO_CLASS)	+= uvc/
obj-$(CONFIG_VIDEO_SAA7164)     += saa7164/

obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o

+19 −0
Original line number Diff line number Diff line
config VIDEO_SAA7164
	tristate "NXP SAA7164 support"
	depends on DVB_CORE && PCI && I2C
	depends on HOTPLUG	# due to FW_LOADER
	select I2C_ALGOBIT
	select FW_LOADER
	select VIDEO_TUNER
	select VIDEO_TVEEPROM
	select VIDEOBUF_DVB
	select DVB_TDA10048 if !DVB_FE_CUSTOMISE
	select DVB_S5H1411 if !DVB_FE_CUSTOMISE
	select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
	---help---
	  This is a video4linux driver for NXP SAA7164 based
	  TV cards.

	  To compile this driver as a module, choose M here: the
	  module will be called saa7164
+12 −0
Original line number Diff line number Diff line
saa7164-objs	:= saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \
			saa7164-fw.o saa7164-bus.o saa7164-cmd.o saa7164-api.o \
			saa7164-buffer.o

obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o

EXTRA_CFLAGS += -Idrivers/media/video
EXTRA_CFLAGS += -Idrivers/media/common/tuners
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends

EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)
Loading