Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp777848pxp; Fri, 11 Mar 2022 14:53:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJykeebABSvNiQAeyf1AtSex5XHiKo+d+2Se/GoIrZtwxmEfq4Er5zB06W4MpRSYr++u/5s7 X-Received: by 2002:a17:90a:c70f:b0:1bf:3e2d:6cfa with SMTP id o15-20020a17090ac70f00b001bf3e2d6cfamr13049885pjt.70.1647039233654; Fri, 11 Mar 2022 14:53:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647039233; cv=none; d=google.com; s=arc-20160816; b=LbtZDQiICZxa4gTNxOp4DzzMsFBZT5EFbFT9FLJsvmhZmH0dREM7mbuljLZBx4t9Iu +VsVfnCGECOnJf/1qpidv0VYMxTXiYtENgF+CjAgRq/0x+l1w1j+eGEtdNxqx1Os6H8c MPa63v4LLxtH0qiTpmE7gSY/1CBjD1al7C/13S7c4WWY7Gw2Z+Uzl0E5U+LqNdMXycSj G16CgyYGWICSQyCUQdnoHmvD1BAdJo1yd2CENYVIC1tuBjpnXXvSMyviwoLfFWMZzSR2 6ewG5YEdIFYUKQld5/UtmcSNqWb22FCCXQ0YK6n+9EIg8X4NilXYLvCZiBiC8WBoxPBh tIeg== 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=J5q8nIKNgwxqzBEDbI+329fJTDFaNI24Fmg+dBDO6xQ=; b=U5Pfcyl+KrLfzo1+uCzOn2lqqd4PsAC4jZt4lLTOrGulPTLEGhcnP8urweN0BsPpmf D3ye3tRQRKjc2kca8gkUHXuRLDNLrdm0/txo1sfzmDlqqDRGw3OFcUIurcqr8UybEc1x RjzMtmo5YGOyxZMTYBod4UHXHy6BxUPlZfrT2+GGvvOFBUUBKbLO6fvW3fTQc390uTkw x3MKvFatpRtK2S5mlq1m1ZyCe9dMP0FGxoJt+1Dap1ilf5IjWarA//V1MA+Q2ctmIVe/ 0v2fphRpxCxiLFnsYE/wLadL66PPzhc0JnC+ubm18nTK3Apx4pkPNNLmDpAkKIm487Ul OE1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=HagVQ6RQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d20-20020a056a0010d400b004e180528b34si9413829pfu.143.2022.03.11.14.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:53:53 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=HagVQ6RQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (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 B1CFF369E40; Fri, 11 Mar 2022 13:54:22 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349309AbiCKOLv (ORCPT + 99 others); Fri, 11 Mar 2022 09:11:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349210AbiCKOLE (ORCPT ); Fri, 11 Mar 2022 09:11:04 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 490121B1DD0; Fri, 11 Mar 2022 06:09:48 -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 07EFC61EE9; Fri, 11 Mar 2022 14:09:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EC81C34112; Fri, 11 Mar 2022 14:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647007778; bh=aFOhqNSDUze9t5+RGQdxCzp/Ocx35od7R8v2xJZs6Cw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HagVQ6RQ9SC8NJQQ+Gj1gg71AaMIO/GeWwid7LDqOXhuKxFnccP2Tp6yrOptvHfh9 yqVKTQmlLHNClAVZJpCbHxyPCBWR9stmyLgkvcqQPlHhz6iIzsE3LBO09t6/yYB1/T yv1sMZqQIQ1r4zaqbC6x/kyDmQ/om97mv+Nq5XVia8bsRY+oesXRsQ7aHTbbzY2U5T HHPHOXTo3bd8j8aeFBdTRvTgypsu6xJL6g9e2DzhBB/Jm2NSA7wS+K9I1PdI5iAb75 Rw6RcnT0hBuQZpZvyXvYvnr6pQYNBpMqMr2Dfm9fNO2ChgoMvHZ49/y6bWnp2wJFZw iGEJJRdfKPYAg== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfxX-000lI9-TE; Fri, 11 Mar 2022 15:09:35 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Chen-Yu Tsai , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Maxime Ripard , Ming Qian , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v2 28/38] media: platform: sun8i-di: move config to its own file Date: Fri, 11 Mar 2022 15:07:41 +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 sun8i-di-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 | 15 +-------------- drivers/media/platform/sunxi/sun8i-di/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 drivers/media/platform/sunxi/sun8i-di/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 460ad793b89b..37103f24979f 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -70,6 +70,7 @@ source "drivers/media/platform/s3c-camif/Kconfig" source "drivers/media/platform/s5p-g2d/Kconfig" source "drivers/media/platform/sti/hva/Kconfig" source "drivers/media/platform/stm32/Kconfig" +source "drivers/media/platform/sunxi/sun8i-di/Kconfig" config VIDEO_MUX tristate "Video Multiplexer" @@ -240,20 +241,6 @@ config VIDEO_TI_VPE_DEBUG help Enable debug messages on VPE driver. -config VIDEO_SUN8I_DEINTERLACE - tristate "Allwinner Deinterlace driver" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on ARCH_SUNXI || COMPILE_TEST - depends on COMMON_CLK && OF - depends on PM - select VIDEOBUF2_DMA_CONTIG - select V4L2_MEM2MEM_DEV - help - Support for the Allwinner deinterlace unit with scaling - capability found on some SoCs, like H3. - To compile this driver as a module choose m here. - config VIDEO_SUN8I_ROTATE tristate "Allwinner DE2 rotation driver" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/sunxi/sun8i-di/Kconfig b/drivers/media/platform/sunxi/sun8i-di/Kconfig new file mode 100644 index 000000000000..8d762e664d45 --- /dev/null +++ b/drivers/media/platform/sunxi/sun8i-di/Kconfig @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_SUN8I_DEINTERLACE + tristate "Allwinner Deinterlace driver" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on ARCH_SUNXI || COMPILE_TEST + depends on COMMON_CLK && OF + depends on PM + select VIDEOBUF2_DMA_CONTIG + select V4L2_MEM2MEM_DEV + help + Support for the Allwinner deinterlace unit with scaling + capability found on some SoCs, like H3. + To compile this driver as a module choose m here. -- 2.35.1