Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2527048pxp; Sun, 13 Mar 2022 21:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEKR7kdiRDPqQSFqwhPOTPgmtPh/iMmItme3siBlYo38ZHT3rhctOXw9gFERS9LC6Z8Gvm X-Received: by 2002:aa7:c551:0:b0:415:a2d0:71a6 with SMTP id s17-20020aa7c551000000b00415a2d071a6mr18708545edr.143.1647232432946; Sun, 13 Mar 2022 21:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647232432; cv=none; d=google.com; s=arc-20160816; b=oMQPQ4fHO0uxr2uW3F8kgFhvcY2nO8RsgL0HOk0FNbVoUiSlX4m/BZu2CbRtPRpVwX N1Rit7i71ovNL8suD1F6uu3JsSIj0htFZMiF65D20zDHSOUWD3xE0VtjhwYG9auWrQ1v eaZ6ckLBTTFZTzaDNGbstlZ0NkkLLqIsz/xYZr3zfM57T84phbKSd4Leq6i97RXdNmpU cDfJeK8DpiiDvEjb1z6NUy9jr13I96wXximZmkiN9lsYG2db7+qRr8i0Hidvo+98kJ4+ YCSHOC6bX1rdBFEd2M9+5VzuIRQudbwMkJLe3v1DcMJ7SgefLkTwtQ/cIgucEOr7Rp9v Ejyg== 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=tMN2BCSBEQ12Ui4ab/5ZRQ6lHyhH0pwrzT0oJyNFjYo=; b=Koe713mH0nrPWpuEY0lliOVkQcx6pjuQiHdF2eY1Uz2tE7zSO6l2EudjGOM2rnUjFD QZqz/Dwdk5RzgBZvOdqGEhfCVUVeDcOIJ7Hol0ZnD/A8kXuC5lsH7aCMLK5sAQhk3uT9 wOkF/NoI0stB2QQ01ISZ/l+5imkUCcf6QE8qGy4OH1EUeiYDji/ZVnpmGR9Jv+KR8DQu usx3mw6wmO+Tuw1diFGrIqfppaCcCRQ1Z38Y4vdCt8E3nH+ZUB2GfyVX7pj+enDSBA29 P4u4DvZykJX16xi+P1FnXfTqbELPy5/MHEcNqTnKwa3VPOIEuuHNY+k/ctgqxc18xCi0 a+nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=PnQ60rMF; 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 c17-20020a05640227d100b00415c79188basi10119940ede.451.2022.03.13.21.33.27; Sun, 13 Mar 2022 21:33:52 -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=PnQ60rMF; 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 S233894AbiCMHYd (ORCPT + 99 others); Sun, 13 Mar 2022 03:24:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233773AbiCMHXJ (ORCPT ); Sun, 13 Mar 2022 03:23:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6027319456C; 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 B1D1060F62; Sun, 13 Mar 2022 07:21:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 133F6C34118; 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=UNkjZC/qtBH4vLA3o5EPqFuToyxjw8bWymaANWe0Gsg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PnQ60rMFa6cS8VTbb/Ey/IRWfwX1W/IvtdIkYyoVwEaCrersZS7ZKyLMDqnhXZG/3 5PVdJwyxllFWbp20hq+syS9CuiVBpzPCRnZj+w+pwVc3zigYXjMiqcxh/w3uIPzy1o R6QIfa0ijkotPeJ8b8Zmjw0M4eXCqekUsahUJSGDSNxdN2ZUeRbszAcfXHwxMFRLDA cME4Z18ZrZ1jSne0kQEbYWeU/tSDalt7DZ0c/LLyKnKPPyvBHiDOGCtOH871Kurtps wluacjMO4S8gVWXR5P2Kxe6m64y4oT0hjX55DL8eHnv0SjNleou+H+vW9WzmMrPijL mZXM7peIMLPFw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY3-0012wi-RC; Sun, 13 Mar 2022 08:21:51 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Andrew-CT Chen , Dmitry Osipenko , Hans Verkuil , Houlong Wei , Jernej Skrabec , Laurent Pinchart , Matthias Brugger , Ming Qian , Minghsiu Tsai , Tiffany Lin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 19/39] media: platform: mtk-vpu: move config to its own file Date: Sun, 13 Mar 2022 08:21:28 +0100 Message-Id: <8cc26630206e292f2349e6210f124f9520fb84ab.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 mtk-vpu-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 | 15 +-------------- drivers/media/platform/mtk-vpu/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 drivers/media/platform/mtk-vpu/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index ab7c85613625..39bf4c57e044 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -51,6 +51,7 @@ source "drivers/media/platform/meson/ge2d/Kconfig" source "drivers/media/platform/mtk-jpeg/Kconfig" source "drivers/media/platform/mtk-mdp/Kconfig" source "drivers/media/platform/mtk-vcodec/Kconfig" +source "drivers/media/platform/mtk-vpu/Kconfig" source "drivers/media/platform/omap/Kconfig" source "drivers/media/platform/aspeed/Kconfig" @@ -184,20 +185,6 @@ config VIDEO_TI_CAL_MC # Mem2mem drivers -config VIDEO_MEDIATEK_VPU - tristate "Mediatek Video Processor Unit" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_MEDIATEK || COMPILE_TEST - help - This driver provides downloading VPU firmware and - communicating with VPU. This driver for hw video - codec embedded in Mediatek's MT8173 SOCs. It is able - to handle video decoding/encoding in a range of formats. - - To compile this driver as a module, choose M here: the - module will be called mtk-vpu. - config VIDEO_MEM2MEM_DEINTERLACE tristate "Deinterlace support" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/mtk-vpu/Kconfig b/drivers/media/platform/mtk-vpu/Kconfig new file mode 100644 index 000000000000..df679ea79ed0 --- /dev/null +++ b/drivers/media/platform/mtk-vpu/Kconfig @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config VIDEO_MEDIATEK_VPU + tristate "Mediatek Video Processor Unit" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_MEDIATEK || COMPILE_TEST + help + This driver provides downloading VPU firmware and + communicating with VPU. This driver for hw video + codec embedded in Mediatek's MT8173 SOCs. It is able + to handle video decoding/encoding in a range of formats. + + To compile this driver as a module, choose M here: the + module will be called mtk-vpu. -- 2.35.1