Received: by 2002:ac2:48a3:0:0:0:0:0 with SMTP id u3csp573530lfg; Fri, 11 Mar 2022 13:45:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOteSJ+MiFfAXZPBvSX+IWV8/3NuS/ZLgnYbXltXCO/WbgC5zKfcufzCQJ/NBg2pd6nsjN X-Received: by 2002:aa7:9183:0:b0:4f6:d609:af66 with SMTP id x3-20020aa79183000000b004f6d609af66mr12210394pfa.23.1647035112239; Fri, 11 Mar 2022 13:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647035112; cv=none; d=google.com; s=arc-20160816; b=XGD2xYAgNx6idZPnyfgwAGlfSTXymHaatOf9xehcgcnBcg8xcJl4V8ie+NDqXZNYgp vRNKfs5rHEK0PIG6ZslO6962qT1rwoFzgZWjtI3CTT/DZAVXjVPCWqpPFWcvlOjNZqGP Dcsm1g081I4Yw9hluuEJ6PEqbXpg1YvAnPixZcrscLCnghxHwAfXkHK5ENvwVDDo4WSy F9OES/bmKyk6b50aPj+DfJgfo5NcgaEJbPG2oORq6qK58ATtr4YWUsmnYSnC7VNw9/Mz I0OPQEMwP/1Njv+KrmFCyzRuJkvCSye915rOA6CEPuQFFBWOPiin4Vh3rM1/KuPYt61o /ipQ== 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=KaUygcu8//WIbVtBaKb9p4VZdJZYFFxE/zCwXHeKwbA=; b=SAymYtd/XInictr9jkdB98Z5YeJBdKbwScr5PEHd2f3kyk5tqCD0xsYkmmY9xdVtKV bE7Bgs6c1kCnlTtFXRKS7AhL1fZG+XJ6PRWmLowl3subQx4ShxpH7Le6q+tZKZ78YVMJ /eTxSVZ1sZi9VFljK0EY5DcW2tl+NmXhHkaZlvkqehpJW1NYVlz0KI92+yQpH0zpddKU wqHnfWjV304EEcKHhC7R+ARc6MWJHl3elgeN6vK9gtabnwZrn/KRTABDkX3yjVCzgIyn Jbx+qCqKwXv1uF9z2PNkNXWEJzv7Fuh3C3MrbYUPHdoTCIOcYBifVEuFrzFjfthkbKj1 yoRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=jiJgivGa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c19-20020a63da13000000b00373facf1a0esi9393579pgh.137.2022.03.11.13.45.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 13:45:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=jiJgivGa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 389097E5BC; Fri, 11 Mar 2022 13:08:09 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349249AbiCKOLZ (ORCPT + 99 others); Fri, 11 Mar 2022 09:11:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347966AbiCKOKu (ORCPT ); Fri, 11 Mar 2022 09:10:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B9991AD946; Fri, 11 Mar 2022 06:09:40 -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 ams.source.kernel.org (Postfix) with ESMTPS id 349F9B82C15; Fri, 11 Mar 2022 14:09:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 734EEC36AE2; Fri, 11 Mar 2022 14:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647007777; bh=H/WtLlPvqonunkqsJM9/To1ZriYUO8O8KNV0Z6F0ADg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jiJgivGaCJyn7+92eS2UzaOSvTwQ2BChVPIVdlL+/Yh75QCZmG4ZvbVMCIJuMqti/ A7SWYgHmdhECA42jAUKYgBRPkTdb5K7igCd7IuiQ8LbKPQlYzrjR0Tm6W3pBGHgdGD +iPrGvLnAsE/CsDmpmVnSBZFNToRN4UyV/1V+M4rhfx+tGb+HjyJFD8ilfX6ifq1yq Bns1HPvBblBRVfWcEGXn1Caeh1FpdQ4fusSa8cEtxKrYjCcOY/HeV+RngYuKCtae47 PhTAHOlgIeWXSo5gQWYQhUWR4XBCwc34bf4FtCcEe1Wp+tp4SRAZlaty/3/unhxjaz UirqmHG+W7ujQ== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfxX-000lHN-6W; Fri, 11 Mar 2022 15:09:35 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Bin Liu , Dmitry Osipenko , Hans Verkuil , Laurent Pinchart , Matthias Brugger , Ming Qian , Rick Chang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 16/38] media: platform: mtk-jpeg: move config to its own file Date: Fri, 11 Mar 2022 15:07:29 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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-jpeg-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab 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/38] at: https://lore.kernel.org/all/cover.1647006877.git.mchehab@kernel.org/ drivers/media/platform/Kconfig | 17 +---------------- drivers/media/platform/mtk-jpeg/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 drivers/media/platform/mtk-jpeg/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index da1fa4642bca..41162dcfafcc 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -55,6 +55,7 @@ source "drivers/media/platform/davinci/Kconfig" source "drivers/media/platform/exynos-gsc/Kconfig" source "drivers/media/platform/meson/ge2d/Kconfig" +source "drivers/media/platform/mtk-jpeg/Kconfig" source "drivers/media/platform/omap/Kconfig" source "drivers/media/platform/aspeed/Kconfig" @@ -192,22 +193,6 @@ config VIDEO_TI_CAL_MC source "drivers/media/platform/imx-jpeg/Kconfig" -config VIDEO_MEDIATEK_JPEG - tristate "Mediatek JPEG Codec driver" - depends on V4L_MEM2MEM_DRIVERS - depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_MEDIATEK || COMPILE_TEST - depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n) - select VIDEOBUF2_DMA_CONTIG - select V4L2_MEM2MEM_DEV - help - Mediatek jpeg codec driver provides HW capability to decode - JPEG format - - To compile this driver as a module, choose M here: the - module will be called mtk-jpeg - config VIDEO_MEDIATEK_VPU tristate "Mediatek Video Processor Unit" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/mtk-jpeg/Kconfig b/drivers/media/platform/mtk-jpeg/Kconfig new file mode 100644 index 000000000000..72ed920b011a --- /dev/null +++ b/drivers/media/platform/mtk-jpeg/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_MEDIATEK_JPEG + tristate "Mediatek JPEG Codec driver" + depends on V4L_MEM2MEM_DRIVERS + depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_MEDIATEK || COMPILE_TEST + depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n) + select VIDEOBUF2_DMA_CONTIG + select V4L2_MEM2MEM_DEV + help + Mediatek jpeg codec driver provides HW capability to decode + JPEG format + + To compile this driver as a module, choose M here: the + module will be called mtk-jpeg -- 2.35.1