File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,39 +89,7 @@ config MEDIA_CEC_SUPPORT
8989
9090source "drivers/media/cec/Kconfig"
9191
92- #
93- # Media controller
94- # Selectable only for webcam/grabbers, as other drivers don't use it
95- #
96-
97- config MEDIA_CONTROLLER
98- bool "Media Controller API"
99- depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
100- help
101- Enable the media controller API used to query media devices internal
102- topology and configure it dynamically.
103-
104- This API is mostly used by camera interfaces in embedded platforms.
105-
106- config MEDIA_CONTROLLER_DVB
107- bool "Enable Media controller for DVB (EXPERIMENTAL)"
108- depends on MEDIA_CONTROLLER && DVB_CORE
109- help
110- Enable the media controller API support for DVB.
111-
112- This is currently experimental.
113-
114- config MEDIA_CONTROLLER_REQUEST_API
115- bool "Enable Media controller Request API (EXPERIMENTAL)"
116- depends on MEDIA_CONTROLLER && STAGING_MEDIA
117- help
118- DO NOT ENABLE THIS OPTION UNLESS YOU KNOW WHAT YOU'RE DOING.
119-
120- This option enables the Request API for the Media controller and V4L2
121- interfaces. It is currently needed by a few stateless codec drivers.
122-
123- There is currently no intention to provide API or ABI stability for
124- this new API as of yet.
92+ source "drivers/media/mc/Kconfig"
12593
12694#
12795# Video4Linux support
Original file line number Diff line number Diff line change 33# Makefile for the kernel multimedia device drivers.
44#
55
6- media-objs := media-device.o media-devnode.o media-entity.o \
7- media-request.o
8-
9- ifeq ($(CONFIG_MEDIA_CONTROLLER ) ,y)
10- ifeq ($(CONFIG_USB),y)
11- media-objs += media-dev-allocator.o
12- endif
13- endif
14-
156#
167# I2C drivers should come before other drivers, otherwise they'll fail
178# when compiled as builtin drivers
@@ -20,10 +11,10 @@ obj-y += i2c/ tuners/
2011obj-$(CONFIG_DVB_CORE) += dvb-frontends/
2112
2213#
23- # Now, let's link-in the media core
14+ # Now, let's link-in the media controller core
2415#
2516ifeq ($(CONFIG_MEDIA_CONTROLLER ) ,y)
26- obj-$(CONFIG_MEDIA_SUPPORT) += media.o
17+ obj-$(CONFIG_MEDIA_SUPPORT) += mc/
2718endif
2819
2920obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
Original file line number Diff line number Diff line change 1+ #
2+ # Media controller
3+ # Selectable only for webcam/grabbers, as other drivers don't use it
4+ #
5+
6+ config MEDIA_CONTROLLER
7+ bool "Media Controller API"
8+ depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
9+ help
10+ Enable the media controller API used to query media devices internal
11+ topology and configure it dynamically.
12+
13+ This API is mostly used by camera interfaces in embedded platforms.
14+
15+ config MEDIA_CONTROLLER_DVB
16+ bool "Enable Media controller for DVB (EXPERIMENTAL)"
17+ depends on MEDIA_CONTROLLER && DVB_CORE
18+ help
19+ Enable the media controller API support for DVB.
20+
21+ This is currently experimental.
22+
23+ config MEDIA_CONTROLLER_REQUEST_API
24+ bool "Enable Media controller Request API (EXPERIMENTAL)"
25+ depends on MEDIA_CONTROLLER && STAGING_MEDIA
26+ help
27+ DO NOT ENABLE THIS OPTION UNLESS YOU KNOW WHAT YOU'RE DOING.
28+
29+ This option enables the Request API for the Media controller and V4L2
30+ interfaces. It is currently needed by a few stateless codec drivers.
31+
32+ There is currently no intention to provide API or ABI stability for
33+ this new API as of yet.
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: GPL-2.0
2+
3+ mc-objs := mc-device.o mc-devnode.o mc-entity.o \
4+ mc-request.o
5+
6+ ifeq ($(CONFIG_USB ) ,y)
7+ mc-objs += mc-dev-allocator.o
8+ endif
9+
10+ obj-$(CONFIG_MEDIA_SUPPORT) += mc.o
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments