Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2678156pxp; Mon, 14 Mar 2022 02:28:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwa34BiVHQ0ON/vlukED19go7kp824XDD54I59Svxza39Az+JgClfhmfK9cvmKZANeYpRv X-Received: by 2002:a05:6402:3589:b0:416:7de7:cdde with SMTP id y9-20020a056402358900b004167de7cddemr19729102edc.218.1647250104680; Mon, 14 Mar 2022 02:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647250104; cv=none; d=google.com; s=arc-20160816; b=wXemv/YhT+gzUd6FH8p+lwfCSUd+LyF5lHY+SeQW/SCAJgNZXJMkXPT7/zX/Pwkrsv vEbjEqKKdpLZBMrvtHWP0CQ8vFtKM9WfIb4B43yYRu0mKoDO1cgC5+L9YRoIwCC0yW3O 3ZKLz/Tol3hJXyf0WAXLMsUQmw8nzPfnsPfeuJuMygjid8ofnGfpaxMKZ7/twY+DV3aR tTDyrwdpjNqrDnhOTGTP3/BUGRJJ3uHJjOLS3EvX7KJTMn2fGPPQlIdqp7cmbF76fyLU 9Rz/X53z4DSJX/Rz3DTOiLhNLQwyj4Dc0eNQ8lopedmHseB3UErWvhCQRVO1/42n6zgU G7GA== 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=WfYQ2Se6Dt0f/8qXUFv2yiYB8zZ8Yuub+5vAZCyKqdo=; b=ZMuVCUYb+gEnsfb9yCoiBkuFTyoHH3trdnfNKfv9Z+KIoCW7Su0IZ+4L/ffq02Gkq3 Eob94VXToID1UItPhwf2z5Q6P/9CnbuOxhZXwAQtDB0DEJy3n7P+KAW0FkYIDrkH2Di1 s1KsMTWSnODeAeEze/4zRSBAU9xo2cVGhHjRiWPsAPSIKZialdAF6KAS3ipgPJK8Cmjq O7pMQ/WyoGndNguJuXVqvCbPPeufhOSk/A/qt8bGRfY80rLUB3Ct7OeXENuDFfWAbqiD snSvG6joYnpPFh865LZ+g/hf/V+9kQcRkeBmtS70DVeUVm/QUlp75pdF5Gsdd7iK3M6R JSig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="i/vY7IgZ"; 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 js9-20020a17090797c900b006db41ed43cbsi10147542ejc.706.2022.03.14.02.27.55; Mon, 14 Mar 2022 02:28:24 -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="i/vY7IgZ"; 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 S233918AbiCMHYs (ORCPT + 99 others); Sun, 13 Mar 2022 03:24:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233776AbiCMHXK (ORCPT ); Sun, 13 Mar 2022 03:23:10 -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 B6FEE194578; Sat, 12 Mar 2022 23:21:57 -0800 (PST) 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 C5EF260F67; Sun, 13 Mar 2022 07:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C5EBC341D2; Sun, 13 Mar 2022 07:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647156114; bh=h3+eFKVsxgNvApH2Ao59ocpbNLRi1y8Jxm3e7zSePjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i/vY7IgZx/09lDnUPp19/7u8MPdj4UzjSWZDeRe91obpwq0NM7UsTsT7riGniq1xH ZyV9xqCXVbWkRuMK5sizKd4NJcVlX3ABui+16AOf/O+d56jRcjxvL2RI4cjbeSL3Gg lyTc+r+scvbS6kyiRkZ+OBwEJ6FTuelPqEJljMiHeJlww8QAeELOu7dr0YRb2g8gQJ nqwPvt/gr/fuvo9x4N6ynbEL0uzjL8WVyTsT2ESnIJAJEsCUHvEiHY2loYOjccdCIU nOuzMTp/gePLC67tz9/zf6wm9+2D7L/OZXgTOKPMgnzsYAiJtN9WMxdteXUOdgW009 R8z6dIOfDEtnw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY4-0012xc-E4; Sun, 13 Mar 2022 08:21:52 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Hans Verkuil , Hugues Fruchet , Jernej Skrabec , Laurent Pinchart , Ming Qian , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 33/39] media: platform: delta: move config to its own file Date: Sun, 13 Mar 2022 08:21:42 +0100 Message-Id: <60926eb6c8f1f6677dbe34acd84c1f0601b7f245.1647155572.git.mchehab@kernel.org> 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=-7.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 v3 00/39] at: https://lore.kernel.org/all/cover.1647155572.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