Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3528818pxp; Mon, 14 Mar 2022 23:43:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU3grXL/O2C+qkZlsTfPzFbDOGckOM0UkuLhQkMoYy3tocfI6BGMi4hZqQhBTclaAPhaWx X-Received: by 2002:a17:90a:bf8f:b0:1bc:4ae6:e009 with SMTP id d15-20020a17090abf8f00b001bc4ae6e009mr2921631pjs.127.1647326586807; Mon, 14 Mar 2022 23:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647326586; cv=none; d=google.com; s=arc-20160816; b=r84fKUyr6MXuRxoi0hWSg6auQK23pG8kIHCjfJBwcg3FkSMjlTyxbXXjyPSZAe4Vdu vyNaGtxxzvc+loM4YHJ/fME/w2x/Qfeb8p/8BMs1+iDIuCirrnO4CRKncsDOXdKLdbGV kw/AjrKVcV3D/H3/TTKtEGefapCBID9DMkXbQ4zoLSCK2+OWiJiQbVZUPMbHfwuLY0ku vbDyr99iXEMnXii4nnSK83MWSVarZPZtVsgUU4jjXc7FozORCDo2VIlzbiJPQZWTFhqJ qMSO0xO8pP6vY5H8cYfTVCaNWcubsOlreIYaTpKioebJkn8fkFU9FwtWnONGh6STmn1+ mnZw== 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=hF41S8xSi08/lKBRqFQQid1pzv8/1GHYHO04C49QAZw=; b=0QMCBhXKPFuv4PqLzdQjqPx4vmcL9r3lKfKEcVLDwwn9nFBy7amBahxjOqE1Tt35Jc n7flvP6thT794CXAjuL2e6lHGkUidG7JuXGABLM8CEuFRNOE/gHGmaZiZCUq0yYzfsUG Z5XfoG5wGMvtLXXB/jeoxtLtens4qximMpD7f9gxH5Gul9Xot5lcWPhssQpiBDvAXVpD Wz/WU97Eg8uLxLY9r/kM4G4A+Va+wGOlAxtCNx94R7b6xQrBocaPDqEoBKON+kkVJduy /RFZKc3lM4vV5x0OqL03Itqb1ZypYrhkK8ypSkmXmcNMEXtbnTn5GVDg31/28SA1MqeP uPmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=dcDNSJeP; 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 x9-20020a634849000000b00378baddb8d4si17305193pgk.355.2022.03.14.23.42.55; Mon, 14 Mar 2022 23:43:06 -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=dcDNSJeP; 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 S243751AbiCNQiO (ORCPT + 99 others); Mon, 14 Mar 2022 12:38:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243173AbiCNQgb (ORCPT ); Mon, 14 Mar 2022 12:36:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E1C13F44; Mon, 14 Mar 2022 09:35:14 -0700 (PDT) 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 82B796141B; Mon, 14 Mar 2022 16:35:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0410C340F9; Mon, 14 Mar 2022 16:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647275707; bh=C3JWrlSAPDswBmF5LE1NlYt/uxsqYMYJ3/o/FOHQbW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dcDNSJePck7CCGeWRmxSe5fa2kph5YLoA5VW+BKjIkSHoX5V9EuSJdewp7dpVsTSx NL/MadKXTK+yeXtpAKcEhSMmsHI0uvOXVBEWqbhu0IUkTO6DmNelTiXCGAz9/tHsNg x9M/nGwt1YpDeUqRL0brwrtnct32fJ7H+DQyXOsqmvTEZAA+yNBTAHKd+wqbb2jWm4 pkpk1RlEJhl3xk+OTeZtKvA5yY2JQPJqXWtl6QW5TMN54R0rhS14jUwD+TkVxzaRDn +Urk0oeMrQ/i0E76ZnnQgqTb3PWoHvSJe45jQsylUNbIhB3U4a0r5wI9mPAs2mooSf 2NXt4cPbImXbg== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTnez-001wxf-Er; Mon, 14 Mar 2022 17:35:05 +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 , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 24/67] media: platform: s3c-camif: move config to its own file Date: Mon, 14 Mar 2022 17:34:19 +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=-8.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 v2 00/67] at: https://lore.kernel.org/all/cover.1647274406.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