Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3250624pxp; Mon, 14 Mar 2022 14:33:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLFV4TNrIASzhJqkNJ3ZoSU3Bn/RZeGbVcX6Np6MHswreoSFETS2MT4IAA2ydBisS6Vh7X X-Received: by 2002:a17:906:4108:b0:6db:867c:f3ab with SMTP id j8-20020a170906410800b006db867cf3abmr18143148ejk.708.1647293584869; Mon, 14 Mar 2022 14:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647293584; cv=none; d=google.com; s=arc-20160816; b=QZfcKFDMYMyuZCxOrr7SjT24r9RhMtSQu9Ni+hQXzYkUXy++BZXsVIP6hB3zWozwjw wHNubH2C6ri+PSRw/bnxCZwRfVg9ZD+mCCH/n+UU+groXSKPDKWrGXCXBsNFb1OmuCDz MAvXlKrhMiP+42mYt+bW5nn5hqbtDDlyqQAVb7U/ugFm7Tbv+/lGreN25FW1mmxlTLsn ky13AXvKOdE1wJYvOriSPnpBJElOi+Q1ObV9nb9o34cIjsE+UysMrM8fq2TgBHoCXAwB xiTeEyDfIv1sgC2k+fbCaWiYVmbvcSyLdxoY5TQUJa54efw1iKIDZuXQFr9vo3w0qMsF 7fkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=D4b07a2fGM53kmQbB9I5e+Wjji3xw2ISvSnJO24SVhQ=; b=MxftVRmDh/6aFVxsygdE17V3EX+QlDc/g6A6/x+tD1hA3n49YUMSJFV/+ZPOme3XDK t8e7lX0RXD6nbqCx2T4+k/RU8baXdxdC2O18qDDMZ0Ik3GgPvG5JE0QGHR3S5usjQWsU hszRhLD+7pNZ3KPviw4thXFLWPbDpGawMD1cS5nId+XNIj+916xlg40bjU0gByaB9Fb2 s1Quo1AzdaUzvtevkxY/S2lSEIrAWSnJEoTQcGJzheslXEUzE9hSkak1kMVBjiy+PVkm sKTp4PqbIAPOJOehOojgCgm2PEMo0CxZhdnS2ewunAbYcqypn+yDgocu8Zjdpt2pwjad af2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="RIdDA/Hn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a170906124900b006b7c9493eb4si10453319eja.970.2022.03.14.14.32.40; Mon, 14 Mar 2022 14:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="RIdDA/Hn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244017AbiCNQig (ORCPT + 99 others); Mon, 14 Mar 2022 12:38:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243183AbiCNQgc (ORCPT ); Mon, 14 Mar 2022 12:36:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18921706B; Mon, 14 Mar 2022 09:35:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AFE116142F; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 204ACC341CF; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647275708; bh=7hzUaj9RF+RA6r+/TkVfCXRSvChRqqgFPCal7zCcNi4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RIdDA/HnWFnLqNidCcwCErt/7qyom2SSfJjFYkcAO4a78iEVKc02hE6/HKYqhGpNP mYq0v7JrPkilE+Zvcc+/IDQ5qkkONjWMoUWTN2x+hcqHyjiqpXIOHSa4LP+Zywvl6l OzuNjERFDXBxYgDNtcnBTSRzV7zJXD8/YiOFfkR1A7p5IZOEPUAlbsH/J5p3U+LBwn tUtcpF1XEBz1gLHN2upIcpFUfRA9QZEy+IB/YDR5imIPaO+wiSNjU3Po97L4KIpkPX 8PXOLAamC2GUORcR9iEOqV6hOIFyD8/m5XLRuvz9fb8Y4GbnIg1VUMbGb0PVzoJ12C 1BpSWUeyRxUoA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTnez-001wyG-V2; Mon, 14 Mar 2022 17:35:05 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Ming Qian , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 33/67] media: platform: delta: move config to its own file Date: Mon, 14 Mar 2022 17:34:28 +0100 Message-Id: X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to better organize the platform/Kconfig, place delta-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.git.mchehab@kernel.org/ drivers/media/platform/Kconfig | 36 +----------------------- drivers/media/platform/sti/delta/Kconfig | 36 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 35 deletions(-) create mode 100644 drivers/media/platform/sti/delta/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 29afef26cbe4..ba4c10896537 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -132,41 +132,7 @@ config VIDEO_STI_BDISP help This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC. -config VIDEO_STI_DELTA - tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_STI || COMPILE_TEST - help - This V4L2 driver enables DELTA multi-format video decoder - of STMicroelectronics STiH4xx SoC series allowing hardware - decoding of various compressed video bitstream format in - raw uncompressed format. - - Use this option to see the decoders available for such - hardware. - - Please notice that the driver will only be built if - at least one of the DELTA decoder below is selected. - -config VIDEO_STI_DELTA_MJPEG - bool "STMicroelectronics DELTA MJPEG support" - default y - depends on VIDEO_STI_DELTA - help - Enables DELTA MJPEG hardware support. - - To compile this driver as a module, choose M here: - the module will be called st-delta. - -config VIDEO_STI_DELTA_DRIVER - tristate - depends on VIDEO_STI_DELTA - depends on VIDEO_STI_DELTA_MJPEG - default VIDEO_STI_DELTA_MJPEG - select VIDEOBUF2_DMA_CONTIG - select V4L2_MEM2MEM_DEV - select RPMSG +source "drivers/media/platform/sti/delta/Kconfig" # DVB platform drivers source "drivers/media/platform/sti/c8sectpfe/Kconfig" diff --git a/drivers/media/platform/sti/delta/Kconfig b/drivers/media/platform/sti/delta/Kconfig new file mode 100644 index 000000000000..0bbc7edce208 --- /dev/null +++ b/drivers/media/platform/sti/delta/Kconfig @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_STI_DELTA + tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_STI || COMPILE_TEST + help + This V4L2 driver enables DELTA multi-format video decoder + of STMicroelectronics STiH4xx SoC series allowing hardware + decoding of various compressed video bitstream format in + raw uncompressed format. + + Use this option to see the decoders available for such + hardware. + + Please notice that the driver will only be built if + at least one of the DELTA decoder below is selected. + +config VIDEO_STI_DELTA_MJPEG + bool "STMicroelectronics DELTA MJPEG support" + default y + depends on VIDEO_STI_DELTA + help + Enables DELTA MJPEG hardware support. + + To compile this driver as a module, choose M here: + the module will be called st-delta. + +config VIDEO_STI_DELTA_DRIVER + tristate + depends on VIDEO_STI_DELTA + depends on VIDEO_STI_DELTA_MJPEG + default VIDEO_STI_DELTA_MJPEG + select VIDEOBUF2_DMA_CONTIG + select V4L2_MEM2MEM_DEV + select RPMSG -- 2.35.1