Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2651296pxp; Mon, 14 Mar 2022 01:42:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtoeMLwkj9OXrlK99tQ4GLPVxbXqEEbNCqWYxthgjfAqaX80pAMOp7e1DDDdUS65U1rZTv X-Received: by 2002:a05:6402:2318:b0:413:7645:fa51 with SMTP id l24-20020a056402231800b004137645fa51mr19673650eda.201.1647247346291; Mon, 14 Mar 2022 01:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647247346; cv=none; d=google.com; s=arc-20160816; b=e5mz49m72lZqhv1b4HmygGSy130gyCjt13/Sn18gkPT1aPPnG2g3Rr8Uezorir23Zb 97raWXYNYUkgjd7hvNIgto68KoR82HLs6iygEzEjzaVaFnQ8/nPmWU3Uufv49dHXEa2I mbvUGP60ajD0cdGwhvLKRWuu2rDX5E8AuSNOUO+MsKZL6nk5wt/OwXP8Bz54/GIksqUu lSeWt8qrMcwOEQaMNUdgg8Ag1r14QDzQVi+Qm3GhlKqpfTUzOIJD+ckmIsC/hLDy/BGa b6m/7Vw/40Q4vjkYeoI3knvfhpouf/FKb/HB23UzDv7/ppQmpSA7QZ5YFrsV4JKm8deI 8msQ== 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=ACt3I7qjWD33gssOEtXGHHsKMeXhl9L9RMPEgHGZCb8=; b=z2g1ADXOvUgLTXWhLEeHkhbAaUcmPzixBfL10nmtfP8zAGDPQrqbbpVsCiRHuuPd0s ulziIX6qUxdjKPde31LPWi4WiN0z8E+/V2v36rs4hF/c5pN7ws4zW+0IPo3w3lsQK0G+ bpF05wc/M39CEBXdZboj7rESjc18Cp7u3BymQRX1n2x6ZcjciIA2rKLfbIecRJNmU1zm sC6bgfZE0tPr7iL2odezht5RghP91OQ7AcaE+31jkT5JYuOg6NG5XvinIMpvg3UJoRgW TvB7acqDhDMBh64jPkJBAhZceIUPx0trDhZnaWjXf+/GdyX9G+anI8RGJzE2JWzcg+7K wjBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=WEE4WbyJ; 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 sc7-20020a1709078a0700b006dae9edcdfasi9961343ejc.593.2022.03.14.01.41.59; Mon, 14 Mar 2022 01:42:26 -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=WEE4WbyJ; 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 S233972AbiCMHZV (ORCPT + 99 others); Sun, 13 Mar 2022 03:25:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233798AbiCMHXL (ORCPT ); Sun, 13 Mar 2022 03:23:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD73F1945DB; Sat, 12 Mar 2022 23:21:59 -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 8921DB80C81; Sun, 13 Mar 2022 07:21:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4345BC341C6; 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=tWu3Bksnwlioqi3yUrwxx17z1iwr6MtoJyBNPB5F2HY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WEE4WbyJypi4yDU9LtNqDpmd6SEDgWucg+iPOn/1KHRmVrjMJcoxs4jbLup4TNNxV Py448KUyxVbIA8VgqnfIjZAT5EZUqzWBzpbgun7SC4FrqiVyiCmRuF1aDVbPRvg0Mn amxBTezyD0NLb7keWDR3nWyxNL0XsNMjR3lyN3GjXvv1eurZ9Z0fApTnZeNT844niI YMfmQFDPGMt/a//0/bwat01kRgiGj0zfah/LTJoAr1i3u8nCcdS+YgpYHdQjdx2LnR qaYUDX8z9xY+tp5o+lZDsdUpNxXpyuYaS0/pOS0o5hCF5Z4br4uPT6P+wK1YjVD4YC DUajTLdfj8D4A== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY4-0012x2-2P; 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 , Jernej Skrabec , Laurent Pinchart , Ming Qian , Sylwester Nawrocki , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 24/39] media: platform: s3c-camif: move config to its own file Date: Sun, 13 Mar 2022 08:21:33 +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=-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 s3c-camif-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 | 16 +--------------- drivers/media/platform/s3c-camif/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 drivers/media/platform/s3c-camif/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 314e25dd7ca1..9fe01afd4145 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -59,6 +59,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" config VIDEO_MUX tristate "Video Multiplexer" @@ -74,21 +75,6 @@ config VIDEO_MUX source "drivers/media/platform/intel/Kconfig" -config VIDEO_S3C_CAMIF - tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" - depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_V4L2 && I2C && PM - depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST - select MEDIA_CONTROLLER - select VIDEO_V4L2_SUBDEV_API - select VIDEOBUF2_DMA_CONTIG - help - This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera - host interface (CAMIF). - - To compile this driver as a module, choose M here: the module - will be called s3c-camif. - config VIDEO_STM32_DCMI tristate "STM32 Digital Camera Memory Interface (DCMI) support" depends on V4L_PLATFORM_DRIVERS diff --git a/drivers/media/platform/s3c-camif/Kconfig b/drivers/media/platform/s3c-camif/Kconfig new file mode 100644 index 000000000000..e8ef9e06dc1b --- /dev/null +++ b/drivers/media/platform/s3c-camif/Kconfig @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_S3C_CAMIF + tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" + depends on V4L_PLATFORM_DRIVERS + depends on VIDEO_V4L2 && I2C && PM + depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST + select MEDIA_CONTROLLER + select VIDEO_V4L2_SUBDEV_API + select VIDEOBUF2_DMA_CONTIG + help + This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera + host interface (CAMIF). + + To compile this driver as a module, choose M here: the module + will be called s3c-camif. -- 2.35.1