xref: /openbmc/linux/drivers/media/pci/ivtv/Kconfig (revision ae213c44)
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. There is a driver homepage at <http://www.ivtvdriver.org>.
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	default n
36	help
37	  Enable the usage of the a DVB set of ioctls that were abused by
38	  IVTV driver for a while.
39
40	  Those ioctls were not needed for a long time, as IVTV implements
41	  the proper V4L2 ioctls since kernel 3.3.
42
43	  If unsure, say N.
44
45config VIDEO_IVTV_ALSA
46	tristate "Conexant cx23415/cx23416 ALSA interface for PCM audio capture"
47	depends on VIDEO_IVTV && SND
48	select SND_PCM
49	help
50	  This driver provides an ALSA interface as another method for user
51	  applications to obtain PCM audio data from Conexant cx23415/cx23416
52	  based PCI TV cards supported by the ivtv driver.
53
54	  The ALSA interface has much wider use in user applications performing
55	  PCM audio capture, than the V4L2 "/dev/video24" PCM audio interface
56	  provided by the main ivtv driver.
57
58	  To compile this driver as a module, choose M here: the
59	  module will be called ivtv-alsa.
60
61config VIDEO_FB_IVTV
62	tristate "Conexant cx23415 framebuffer support"
63	depends on VIDEO_IVTV && FB
64	select FB_CFB_FILLRECT
65	select FB_CFB_COPYAREA
66	select FB_CFB_IMAGEBLIT
67	help
68	  This is a framebuffer driver for the Conexant cx23415 MPEG
69	  encoder/decoder.
70
71	  This is used in the Hauppauge PVR-350 card. There is a driver
72	  homepage at <http://www.ivtvdriver.org>.
73
74	  To compile this driver as a module, choose M here: the
75	  module will be called ivtvfb.
76
77config VIDEO_FB_IVTV_FORCE_PAT
78	bool "force cx23415 framebuffer init with x86 PAT enabled"
79	depends on VIDEO_FB_IVTV && X86_PAT
80	default n
81	help
82	  With PAT enabled, the cx23415 framebuffer driver does not
83	  utilize write-combined caching on the framebuffer memory.
84	  For this reason, the driver will by default disable itself
85	  when initializied on a kernel with PAT enabled (i.e. not
86	  using the nopat kernel parameter).
87
88	  The driver is not easily upgradable to the PAT-aware
89	  ioremap_wc() API since the firmware hides the address
90	  ranges that should be marked write-combined from the driver.
91
92	  With this setting enabled, the framebuffer will initialize on
93	  PAT-enabled systems but the framebuffer memory will be uncached.
94
95	  If unsure, say N.
96