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: 11455665 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B423159A 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 DF9B62080C 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=1585059998; bh=Wn32YEXlsFeyH0U1lHQAPIpXDBsqxsEtcqAGcnsGtIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=rkbzSyaUBmhLkQLoc/HBJyE6xXK0Se+bMn/wejKixtPZjz7qo/OlWBoAuE8tt4u8S Ghry9cqzVysO+oK93/AUwT7zOE5oBJjV32883tZYEBAGL3n7J9Xy+6g6PJnsJP1plI +R8u1W0lBJnfz5iOaCrZR6AoCg2gUMpdaCQ5oyYM= 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