[PATCH 0/2] media: Clean up stateless codec configuration

From: Ezequiel Garcia
Date: Mon Mar 23 2020 - 17:10:36 EST


This is another attempt at cleaning up the media
configuration for certain devices, targetting
stateless codecs for now.

The previous attempt was taking the bull by the horns,
removing all the existing "support" configurations
such as "Cameras/video grabbers support", "Analog TV support",
and the like:

https://patchwork.linuxtv.org/patch/62423/

This raised some concerns, but also some supporters, feel free
to jump on that discussion!

This series gives a different approach to reach the goal
mentioned by Tomasz: enabling specific hardware.

Patch 1 allows us to select the media controller API, without
requiring a "support" option. In other words, it stops hiding
the media controller API behing the "support" options.

Patch 2 enables VIDEO_DEV (video4linux core) when MEDIA_SUPPORT
is selected.

With this, we can now enable specific hardware such as stateless
codecs such as Hantro, Cedrus, as well as RKISP1.

Ezequiel Garcia (2):
media: Allow to enable the media controller API unconditionally
media: Remove VIDEO_DEV unneeded dependency

drivers/media/Kconfig | 2 --
drivers/media/mc/Kconfig | 1 -
2 files changed, 3 deletions(-)

--
2.26.0.rc2