xref: /openbmc/linux/drivers/media/pci/ivtv/Kconfig (revision f9834f18)
1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_IVTV
3	tristate "Conexant cx23416/cx23415 MPEG encoder/decoder support"
4	depends on VIDEO_V4L2 && PCI && I2C
5	select I2C_ALGOBIT
6	depends on RC_CORE
7	select VIDEO_TUNER
8	select VIDEO_TVEEPROM
9	select VIDEO_CX2341X
10	select VIDEO_CX25840
11	select VIDEO_MSP3400
12	select VIDEO_SAA711X
13	select VIDEO_SAA717X
14	select VIDEO_SAA7127
15	select VIDEO_CS53L32A
16	select VIDEO_M52790
17	select VIDEO_WM8775
18	select VIDEO_WM8739
19	select VIDEO_VP27SMPX
20	select VIDEO_UPD64031A
21	select VIDEO_UPD64083
22	help
23	  This is a video4linux driver for Conexant cx23416 or cx23415 based
24	  PCI personal video recorder devices.
25
26	  This is used in devices such as the Hauppauge PVR-150/250/350/500
27	  cards.
28
29	  To compile this driver as a module, choose M here: the
30	  module will be called ivtv.
31
32config VIDEO_IVTV_DEPRECATED_IOCTLS
33	bool "enable the DVB ioctls abuse on ivtv driver"
34	depends on VIDEO_IVTV
35	help
36	  Enable the usage of the a DVB set of ioctls that were abused by
37	  IVTV driver for a while.
38
39	  Those ioctls were not needed for a long time, as IVTV implements
40	  the proper V4L2 ioctls since kernel 3.3.
41
42	  If unsure, say N.
43
44config VIDEO_IVTV_ALSA
45	tristate "Conexant cx23415/cx23416 ALSA interface for PCM audio capture"
46	depends on VIDEO_IVTV && SND
47	select SND_PCM
48	help
49	  This driver provides an ALSA interface as another method for user
50	  applications to obtain PCM audio data from Conexant cx23415/cx23416
51	  based PCI TV cards supported by the ivtv driver.
52
53	  The ALSA interface has much wider use in user applications performing
54	  PCM audio capture, than the V4L2 "/dev/video24" PCM audio interface
55	  provided by the main ivtv driver.
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called ivtv-alsa.
59
60config VIDEO_FB_IVTV
61	tristate "Conexant cx23415 framebuffer support"
62	depends on VIDEO_IVTV && FB
63	select FB_CFB_FILLRECT
64	select FB_CFB_COPYAREA
65	select FB_CFB_IMAGEBLIT
66	help
67	  This is a framebuffer driver for the Conexant cx23415 MPEG
68	  encoder/decoder.
69
70	  This is used in the Hauppauge PVR-350 card.
71
72	  To compile this driver as a module, choose M here: the
73	  module will be called ivtvfb.
74
75config VIDEO_FB_IVTV_FORCE_PAT
76	bool "force cx23415 framebuffer init with x86 PAT enabled"
77	depends on VIDEO_FB_IVTV && X86_PAT
78	help
79	  With PAT enabled, the cx23415 framebuffer driver does not
80	  utilize write-combined caching on the framebuffer memory.
81	  For this reason, the driver will by default disable itself
82	  when initializied on a kernel with PAT enabled (i.e. not
83	  using the nopat kernel parameter).
84
85	  The driver is not easily upgradable to the PAT-aware
86	  ioremap_wc() API since the firmware hides the address
87	  ranges that should be marked write-combined from the driver.
88
89	  With this setting enabled, the framebuffer will initialize on
90	  PAT-enabled systems but the framebuffer memory will be uncached.
91
92	  If unsure, say N.
93