Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4131052ybb; Mon, 23 Mar 2020 14:11:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu7zINOgQThjfOWXp/4AJBVTyjbMhE2MPnj12ILqsPyIr1JzvrnTBWwbDo2YfEdHdxJhvdh X-Received: by 2002:aca:a882:: with SMTP id r124mr1051636oie.53.1584997868676; Mon, 23 Mar 2020 14:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584997868; cv=none; d=google.com; s=arc-20160816; b=yAmPgdVBtVX/feQdB4ucJwFxfTBgTpgHC22KCJSNVPExKQA51YibZXQRz21+Q0jdee aUgqzMI0DZo/vWtez0/k1t+BY0OUIBlyMcEiMeJ3bhA7WQSZvepBGP2JGMLcxOwpqZZH DHjxPUdz/mLfsDaXhLPf5h3IJhRuBI1HADiX5IHDGbHqzmHyZhXJcbXOzX9PxqqliBO6 UtoFhssGZvkWIqKlpPNbkSXA7ZfVMx5Gyx0mkIEkSbfe+tL3rbT60eRiXnNYvDSeuPmf IRa/8SlQON6Ua+KrU27mBA2Y9251XkxyEvldpGdMMpz+lo++u2kmjKFdrR6tl9iOHLRM ZtBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9Y700DBNDzicR2l8mYc1mZwA59b5h08NGRJ8Rq5G3vo=; b=zKzHA8kiZV8SPbreKkx2VuPdE9OYGZxvkdgcPYLqg39PTsZqtiy4xd6S6Ui9CEBYys jZQW52KOVxwEgwr9jRewmG5HIt+netOe36VKCsHyl9mIIfaaRq4NQd36pYOSRVeaIXDK m+7TT8b6VRIWmSlKZm7HCL/OjaISwTTS3of3zkluHcLU+yd0StXacYWL/1h/DBVKh2yK 54XkLNIg/XUJIZDf2tSvzucsmQs0MlqDIigAPmVQIb+aT7l+0VD9qwVaEJ1d0zLnoymo Y43/Q2e+FL9Yy1SuCaNbO0rn2qiq7MhI2hPaDg3vg6VWLmsMaikYEyF/N3WXumWy42Ni 4Vdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u191si8416847oia.148.2020.03.23.14.10.55; Mon, 23 Mar 2020 14:11:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726954AbgCWVKf (ORCPT + 99 others); Mon, 23 Mar 2020 17:10:35 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40452 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbgCWVKf (ORCPT ); Mon, 23 Mar 2020 17:10:35 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id E2F92296002 From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tomasz Figa , Nicolas Dufresne , kernel@collabora.com, Hans Verkuil , Sean Young , Philipp Zabel , Laurent Pinchart , Sakari Ailus , Michael Ira Krufky , Mauro Carvalho Chehab , Helen Koike , Ezequiel Garcia Subject: [PATCH 0/2] media: Clean up stateless codec configuration Date: Mon, 23 Mar 2020 18:10:20 -0300 Message-Id: <20200323211022.28297-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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