xref: /linux/drivers/media/platform/renesas/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ee4a77a3SMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0-only
2ee4a77a3SMauro Carvalho Chehab
363fe3d27SMauro Carvalho Chehabcomment "Renesas media platform drivers"
463fe3d27SMauro Carvalho Chehab
5ee4a77a3SMauro Carvalho Chehab# V4L drivers
6ee4a77a3SMauro Carvalho Chehab
79958d30fSMauro Carvalho Chehabconfig VIDEO_RENESAS_CEU
89958d30fSMauro Carvalho Chehab	tristate "Renesas Capture Engine Unit (CEU) driver"
99958d30fSMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
109958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
119958d30fSMauro Carvalho Chehab	depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
129958d30fSMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
139958d30fSMauro Carvalho Chehab	select V4L2_FWNODE
149958d30fSMauro Carvalho Chehab	help
159958d30fSMauro Carvalho Chehab	  This is a v4l2 driver for the Renesas CEU Interface
169958d30fSMauro Carvalho Chehab
17*b4a2952bSNiklas Söderlundconfig VIDEO_RCAR_CSI2
18*b4a2952bSNiklas Söderlund	tristate "R-Car MIPI CSI-2 Receiver"
19*b4a2952bSNiklas Söderlund	depends on V4L_PLATFORM_DRIVERS
20*b4a2952bSNiklas Söderlund	depends on VIDEO_DEV && OF
21*b4a2952bSNiklas Söderlund	depends on ARCH_RENESAS || COMPILE_TEST
22*b4a2952bSNiklas Söderlund	select MEDIA_CONTROLLER
23*b4a2952bSNiklas Söderlund	select VIDEO_V4L2_SUBDEV_API
24*b4a2952bSNiklas Söderlund	select RESET_CONTROLLER
25*b4a2952bSNiklas Söderlund	select V4L2_FWNODE
26*b4a2952bSNiklas Söderlund	help
27*b4a2952bSNiklas Söderlund	  Support for Renesas R-Car MIPI CSI-2 receiver.
28*b4a2952bSNiklas Söderlund	  Supports R-Car Gen3 and RZ/G2 SoCs.
29*b4a2952bSNiklas Söderlund
30*b4a2952bSNiklas Söderlund	  To compile this driver as a module, choose M here: the
31*b4a2952bSNiklas Söderlund	  module will be called rcar-csi2.
32*b4a2952bSNiklas Söderlund
33ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RCAR_ISP
34ee4a77a3SMauro Carvalho Chehab	tristate "R-Car Image Signal Processor (ISP)"
35ee4a77a3SMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
369958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV && OF
37ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
38ee4a77a3SMauro Carvalho Chehab	select MEDIA_CONTROLLER
39ee4a77a3SMauro Carvalho Chehab	select VIDEO_V4L2_SUBDEV_API
40ee4a77a3SMauro Carvalho Chehab	select RESET_CONTROLLER
41ee4a77a3SMauro Carvalho Chehab	select V4L2_FWNODE
42ee4a77a3SMauro Carvalho Chehab	help
43ee4a77a3SMauro Carvalho Chehab	  Support for Renesas R-Car Image Signal Processor (ISP).
44ee4a77a3SMauro Carvalho Chehab	  Enable this to support the Renesas R-Car Image Signal
45ee4a77a3SMauro Carvalho Chehab	  Processor (ISP).
46ee4a77a3SMauro Carvalho Chehab
47ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
48ee4a77a3SMauro Carvalho Chehab	  module will be called rcar-isp.
49ee4a77a3SMauro Carvalho Chehab
50ee4a77a3SMauro Carvalho Chehabconfig VIDEO_SH_VOU
51ee4a77a3SMauro Carvalho Chehab	tristate "SuperH VOU video output driver"
52ee4a77a3SMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
53ee4a77a3SMauro Carvalho Chehab	depends on VIDEO_DEV && I2C
54ee4a77a3SMauro Carvalho Chehab	depends on ARCH_SHMOBILE || COMPILE_TEST
55ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
56ee4a77a3SMauro Carvalho Chehab	help
57ee4a77a3SMauro Carvalho Chehab	  Support for the Video Output Unit (VOU) on SuperH SoCs.
58ee4a77a3SMauro Carvalho Chehab
59ee4a77a3SMauro Carvalho Chehabsource "drivers/media/platform/renesas/rcar-vin/Kconfig"
6051e8415eSLad Prabhakarsource "drivers/media/platform/renesas/rzg2l-cru/Kconfig"
61ee4a77a3SMauro Carvalho Chehab
62ee4a77a3SMauro Carvalho Chehab# Mem2mem drivers
63ee4a77a3SMauro Carvalho Chehab
64ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RENESAS_FCP
65ee4a77a3SMauro Carvalho Chehab	tristate "Renesas Frame Compression Processor"
66ee4a77a3SMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
67ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
68ee4a77a3SMauro Carvalho Chehab	depends on OF
69ee4a77a3SMauro Carvalho Chehab	help
70ee4a77a3SMauro Carvalho Chehab	  This is a driver for the Renesas Frame Compression Processor (FCP).
71ee4a77a3SMauro Carvalho Chehab	  The FCP is a companion module of video processing modules in the
72ee4a77a3SMauro Carvalho Chehab	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
73ee4a77a3SMauro Carvalho Chehab	  the codec, VSP and FDP modules.
74ee4a77a3SMauro Carvalho Chehab
75ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the module
76ee4a77a3SMauro Carvalho Chehab	  will be called rcar-fcp.
77ee4a77a3SMauro Carvalho Chehab
78ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RENESAS_FDP1
79ee4a77a3SMauro Carvalho Chehab	tristate "Renesas Fine Display Processor"
80ee4a77a3SMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
819958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
82ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
83ee4a77a3SMauro Carvalho Chehab	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
84ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
85ee4a77a3SMauro Carvalho Chehab	select V4L2_MEM2MEM_DEV
86ee4a77a3SMauro Carvalho Chehab	help
87ee4a77a3SMauro Carvalho Chehab	  This is a V4L2 driver for the Renesas Fine Display Processor
88ee4a77a3SMauro Carvalho Chehab	  providing colour space conversion, and de-interlacing features.
89ee4a77a3SMauro Carvalho Chehab
90ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the module
91ee4a77a3SMauro Carvalho Chehab	  will be called rcar_fdp1.
92ee4a77a3SMauro Carvalho Chehab
93ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RENESAS_JPU
94ee4a77a3SMauro Carvalho Chehab	tristate "Renesas JPEG Processing Unit"
95ee4a77a3SMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
969958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
97ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
98ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
99ee4a77a3SMauro Carvalho Chehab	select V4L2_MEM2MEM_DEV
100ee4a77a3SMauro Carvalho Chehab	help
101ee4a77a3SMauro Carvalho Chehab	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
102ee4a77a3SMauro Carvalho Chehab
103ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the module
104ee4a77a3SMauro Carvalho Chehab	  will be called rcar_jpu.
105ee4a77a3SMauro Carvalho Chehab
106ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RENESAS_VSP1
107ee4a77a3SMauro Carvalho Chehab	tristate "Renesas VSP1 Video Processing Engine"
108ee4a77a3SMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
1099958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
110ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
111ee4a77a3SMauro Carvalho Chehab	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
112ee4a77a3SMauro Carvalho Chehab	select MEDIA_CONTROLLER
113ee4a77a3SMauro Carvalho Chehab	select VIDEO_V4L2_SUBDEV_API
114ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
115ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_VMALLOC
116ee4a77a3SMauro Carvalho Chehab	help
117ee4a77a3SMauro Carvalho Chehab	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
118ee4a77a3SMauro Carvalho Chehab
119ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the module
120ee4a77a3SMauro Carvalho Chehab	  will be called vsp1.
121ee4a77a3SMauro Carvalho Chehab
122ee4a77a3SMauro Carvalho Chehab# SDR drivers
123ee4a77a3SMauro Carvalho Chehab
124ee4a77a3SMauro Carvalho Chehabconfig VIDEO_RCAR_DRIF
125ee4a77a3SMauro Carvalho Chehab	tristate "Renesas Digital Radio Interface (DRIF)"
126ee4a77a3SMauro Carvalho Chehab	depends on SDR_PLATFORM_DRIVERS
1279958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV
128ee4a77a3SMauro Carvalho Chehab	depends on ARCH_RENESAS || COMPILE_TEST
129ee4a77a3SMauro Carvalho Chehab	select VIDEOBUF2_VMALLOC
130ee4a77a3SMauro Carvalho Chehab	select V4L2_ASYNC
131ee4a77a3SMauro Carvalho Chehab	help
132ee4a77a3SMauro Carvalho Chehab	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
133ee4a77a3SMauro Carvalho Chehab	  Radio Interface that interfaces with an RF front end chip. It is a
134ee4a77a3SMauro Carvalho Chehab	  receiver of digital data which uses DMA to transfer received data to
135ee4a77a3SMauro Carvalho Chehab	  a configured location for an application to use.
136ee4a77a3SMauro Carvalho Chehab
137ee4a77a3SMauro Carvalho Chehab	  To compile this driver as a module, choose M here; the module
138ee4a77a3SMauro Carvalho Chehab	  will be called rcar_drif.
139