From patchwork Tue Mar 24 14:26:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 210476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CF04C41621 for ; Tue, 24 Mar 2020 14:26:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF01620788 for ; Tue, 24 Mar 2020 14:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585059999; bh=Wn32YEXlsFeyH0U1lHQAPIpXDBsqxsEtcqAGcnsGtIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=1OA86EVNJsRVBgxWyan4pzi7gagu641usZXgmnwEkR6X3icSi/Vcfe3wcvY9qVNug SixsuLE9zfe9vBww7eoE0GHy1m18khY+iJ+mh9GY1cCe3HbJycGBOiZUCvq0wzrK9Q 8FodBvHedCA8/OSG/8CfQd/9KCY4mTGDdrRMsfhA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728786AbgCXO0h (ORCPT ); Tue, 24 Mar 2020 10:26:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:35808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727530AbgCXO00 (ORCPT ); Tue, 24 Mar 2020 10:26:26 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D2C820BED; Tue, 24 Mar 2020 14:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585059985; bh=Wn32YEXlsFeyH0U1lHQAPIpXDBsqxsEtcqAGcnsGtIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fihTGl90BKi+65Fzmf7DFqZlEO3aGNIa40bKpITjIjISSNmUYylROagHhISTGIZbp 7o4hZ8ATFf77BLNAkGlSuxSZtGsEZv/liY4S5BVX5ckufFHC7U3ZCH0PzCVdw493+b nSS7+073w3GscAeJ+Oo6eHVk6VsHTFbYl/+O5dWM= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jGkVb-00266t-O5; Tue, 24 Mar 2020 15:26:23 +0100 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab Subject: [PATCH v2 07/20] media: Kconfig: add an option to filter in/out the embedded drivers Date: Tue, 24 Mar 2020 15:26:08 +0100 Message-Id: <23242586947faec259eabc545415592a5ea9ac92.1585059896.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Most systems don't need support for those, while others only need those, instead of the others. So, add an option to filter in/out the SoC specific drivers. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index e266d1afa912..a57e2198b2db 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -88,6 +88,14 @@ config MEDIA_CEC_SUPPORT Say Y when you have an HDMI receiver, transmitter or a USB CEC adapter that supports HDMI CEC. +config MEDIA_EMBEDDED_SUPPORT + bool "Embedded devices (SoC)" + help + Enable support for complex cameras, codecs, and other hardware + found on Embedded hardware (SoC). + + Say Y when you have a software defined radio device. + endmenu # media support types if MEDIA_SUPPORT @@ -177,9 +185,13 @@ source "drivers/media/radio/Kconfig" # Common driver options source "drivers/media/common/Kconfig" + +if MEDIA_EMBEDDED_SUPPORT + source "drivers/media/platform/Kconfig" source "drivers/media/mmc/Kconfig" +endif # MEDIA_EMBEDDED_SUPPORT comment "FireWire (IEEE 1394) Adapters" depends on DVB_CORE && FIREWIRE