From patchwork Sun Mar 13 07:21:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12779093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBDA3C433FE for ; Sun, 13 Mar 2022 08:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NEkt3jefyyuhngz1ggGSOY3erx7tLoGZNhcc88d70r8=; b=R1u8zHblYmlbph b5dOjdMs0AcnCbmdjvRSrwK5hFFcxeV6x884UjCY2lrrV0/txgw9dThfNnsITZZ0opIM7jhK8VMHY 6LlTZSOaHY+xzn6t3UJpJNNEiggEg/9ypbzXwzRyQNF5AkOnvR3e5d2QjcIcU8KyVJss4LMbVYc4c adDuRwX+d0xFmJPPcVZ6rEzjr1j8pgWekNfHYzR7/ZteQ5alE2KQAsnkSxB5oro+64i+ymw5BjVEc MzANy4Z08T1DzRb3RNFTWPXpFviiidyn43WpdHlUfIueH8ANh71rWI8TQwiQ5RkOywYE1K8g62CBP CjUHbYP1ph6SKopXPjrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTJJ5-002P3u-HA; Sun, 13 Mar 2022 08:10:27 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTJJ3-002Oym-Hd for linux-arm-kernel@bombadil.infradead.org; Sun, 13 Mar 2022 08:10:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=8MYMorG/uOQ/agyN3ERkkfsJHPCSpNRtUuegPuQXoVY=; b=ZAZELwUC3qVeUipxXOtIoBeuad OTeY9GCAO0TJNHDrt1Mao8HZsVo6i8Rmq0s0+vfASVtrJaN2lIcnSJIRFloOZ6BW1DvAQq8TFStql drPJrbpCuJSzivwsX6t3DY795eVOFU9DkLX24M8OBFJUvlqOkDPUWbqrRbXZAuf6h9dZgrmU+QhWb 1FriaQ1EGx+PhoVdhevpG9v4460BbSgoaJ/rtClOi6dveBKGJqirfDLWMo5fJhtI4FnohtjB/lT9n zryQ46PYO/GAOKR+lQTZ5lkemIfcbMAm870VXOLzBhn7dgaX6zDszS3XsqfqeLhd8MswtXhUxWp2G xcILB0Fw==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTIYF-000S2O-35 for linux-arm-kernel@lists.infradead.org; Sun, 13 Mar 2022 07:22:45 +0000 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 4A37660F8B; Sun, 13 Mar 2022 07:21:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5070DC36AEA; 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=YSKByXXCIKvIIi/1WY3ewhC/gmLtShCM9oRTe4wXDqY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Up59hgssGojXQ2Wx7LTihBOK1qdmPt61OzpOZkPMEiAj2kVnOlNppUTG3VC7wgFDa eGl9oMa9LBhE4J0JD2l4P+Oguly52dFCmb6xOCrPtuVoaVHK1FT1Dr1wzzHumCbwzg UjPX1+vri5HZ5fFdYDf1YN/Tt21X9LBWAHVU/ncKZVJQQ6CYjAy9j9CuogH+33c4wX j4WFMQ8ynrx9eQqGXRvqdAIr8PhUl9dmtIv3NhBuo+ie69pu9eIwxscRR1q3plnxz7 Tr+yEtN2kmNw6GyfDY/liIPIrA/CxyI0+2m+yn3n163Nt3ZObyGyMhHt61OJ8/6KkS lajSzniDHGVNA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY4-0012x6-3f; Sun, 13 Mar 2022 08:21:52 +0100 From: Mauro Carvalho Chehab To: Cc: Mauro Carvalho Chehab , =?utf-8?q?Niklas_S=C3=B6derl?= =?utf-8?q?und?= , =?utf-8?q?=C5=81uk?= =?utf-8?q?asz_Stelmach?= , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Ming Qian , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 25/39] media: platform: s5p-g2d: move config to its own file Date: Sun, 13 Mar 2022 08:21:34 +0100 Message-Id: <05d2a925432c16ace279739f903ab9d4ecf8bb5f.1647155572.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220313_072203_479738_628FC125 X-CRM114-Status: GOOD ( 15.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In order to better organize the platform/Kconfig, place s5p-g2d-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 | 11 +---------- drivers/media/platform/s5p-g2d/Kconfig | 11 +++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 drivers/media/platform/s5p-g2d/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 9fe01afd4145..0b88c36e8a83 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -60,6 +60,7 @@ source "drivers/media/platform/qcom/venus/Kconfig" source "drivers/media/platform/aspeed/Kconfig" source "drivers/media/platform/rockchip/rga/Kconfig" source "drivers/media/platform/s3c-camif/Kconfig" +source "drivers/media/platform/s5p-g2d/Kconfig" config VIDEO_MUX tristate "Video Multiplexer" @@ -154,16 +155,6 @@ config VIDEO_MEM2MEM_DEINTERLACE help Generic deinterlacing V4L2 driver. -config VIDEO_SAMSUNG_S5P_G2D - tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST - select VIDEOBUF2_DMA_CONTIG - select V4L2_MEM2MEM_DEV - help - This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D - 2d graphics accelerator. config VIDEO_SAMSUNG_S5P_JPEG tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver" diff --git a/drivers/media/platform/s5p-g2d/Kconfig b/drivers/media/platform/s5p-g2d/Kconfig new file mode 100644 index 000000000000..9bc9d90a666a --- /dev/null +++ b/drivers/media/platform/s5p-g2d/Kconfig @@ -0,0 +1,11 @@ +config VIDEO_SAMSUNG_S5P_G2D + tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST + select VIDEOBUF2_DMA_CONTIG + select V4L2_MEM2MEM_DEV + help + This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D + 2d graphics accelerator. +