Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2131315pxp; Sun, 13 Mar 2022 09:33:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFKvA6rvUl24JO6fu0ULaTOA7UkQS8Nzbk3jIGnId/ImtekFY0P6/cqLEeSDp+xckixuU5 X-Received: by 2002:aa7:d1c8:0:b0:415:c61a:8ec8 with SMTP id g8-20020aa7d1c8000000b00415c61a8ec8mr17131943edp.390.1647189211069; Sun, 13 Mar 2022 09:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647189211; cv=none; d=google.com; s=arc-20160816; b=fR3Uu8RgmHUGpN8+mNO/xX0MUHW8/gKyosRs17mEwzAbFOA9BxIwinkDd8wqoym74T UVIaeLOuM7attFHLzmwvJw4GJyT4wCH5MyyWHAnyIjITlkZZNBAA/Qii3LOeJxG3vfXY PTeJnC3T+pfOSOvUfAoi8Z+qBSkfI74LMRuSSp1C6eTR2Xlql6C8/5GZsrc5nJtIs3zd 3pP8egyI2TNoTh9lgQVHbitOQXOLBFlxlinH6mCnXgo5Z8A2sAEOHsxz7Mv/c2/o/t3y j9mSOlkw8EpMhALOwhy3HWUmtbYF7uPaj+CYWDBPW3jJvz1V93xbpF0I7P7f5cdxc3zQ pjyA== 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=kBnWLZzwHbDDFw/4j4Lsq0z9ASmajO2Lrdf8pLfnJLw=; b=y3kbcCgI5k7626peeWNcwx7MyAPXzbvhXPSBXjdMh2oNtKvc/BDlg3HjYk4dMN5onC 0ZnODStcve3p1yD6O/HS9UeQaTnUIwUUD5802N5mKvfTuftZgcxmz9Z6N8hPm1OERbsi C2xWOR5j7K9Fa3MHMi3Wz3XlwIUMQSLEc4UQq+k/KJZv/WHzDrfBPy1ioXtG7K4Q9wLv ojxFFQeWKqDUFR435AlhF6m38tZ8QFJVQIBj5gz4G10oAoeVbMEDO4dXvB9fghJDJ+6W conPqqcp01fpe7W/j8VNyNJyE9V9wVwV6W1ZE7SieK368RBmWpTWV7fz1qUz0lA5x1VV OjtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=TbzVyhtw; 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 y7-20020a1709063a8700b006cf61b2824csi7486375ejd.561.2022.03.13.09.33.03; Sun, 13 Mar 2022 09:33:31 -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=TbzVyhtw; 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 S233731AbiCMHXD (ORCPT + 99 others); Sun, 13 Mar 2022 03:23:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232926AbiCMHXB (ORCPT ); Sun, 13 Mar 2022 03:23:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BBB194555; Sat, 12 Mar 2022 23:21:54 -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 3DFAC60F3B; Sun, 13 Mar 2022 07:21:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ECFBC340FB; Sun, 13 Mar 2022 07:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647156113; bh=VV/j04WYIlxb27f+kqhDJycUHhR0gJ6Fs2yY30dDXsM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TbzVyhtwln3CBL/msDVm9W/MOek7roMbfRcO0GimVSB8Lv2W2S0jHl0h3gRKcqLAX B9JZGB/IJJLQnryP2QjiHriElibOQ/Mir/Y0fIDpAyZW2WH9LXGAiojhw+aMSQrm9s 3nkmm0ZCqRSThJ/BMAT+Z46te6lOlcFCT4rlFI6NDvcQRxnKI7HSnmgmTgAIZPmH/Q jlfnfgKPiJAj2w2zaeJ+4WPsEDDmnw8/vlryym7+C4Ja1LcSTp6Eblx7XVJcHs1T42 doXv/uG3gtsrr2ZWi2gF9dDKRGjJ5Mjglej2RGqBhfD4th0B5dQXWBE5rlqzxyTriS UC8axjd+A/UMg== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY3-0012w0-BY; Sun, 13 Mar 2022 08:21:51 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dillon Min , Dmitry Osipenko , Eugen Hristev , Hans Verkuil , Jacopo Mondi , Jernej Skrabec , Laurent Pinchart , Ming Qian , Mirela Rabulea , Sakari Ailus , Tomi Valkeinen , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 08/39] media: platform: place Intel drivers on a separate dir Date: Sun, 13 Mar 2022 08:21:17 +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 cleanup the main platform media directory, move Intel driver to its own directory. 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/Makefile | 2 +- drivers/media/platform/intel/Kconfig | 11 +++++++++++ drivers/media/platform/intel/Makefile | 2 ++ drivers/media/platform/{ => intel}/pxa_camera.c | 0 5 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 drivers/media/platform/intel/Kconfig create mode 100644 drivers/media/platform/intel/Makefile rename drivers/media/platform/{ => intel}/pxa_camera.c (100%) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 711b6ab9370b..0cfbc0c2aa7a 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -96,16 +96,7 @@ config VIDEO_OMAP3_DEBUG help Enable debug messages on OMAP 3 camera controller driver. -config VIDEO_PXA27x - tristate "PXA27x Quick Capture Interface driver" - depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 - depends on PXA27x || COMPILE_TEST - select VIDEOBUF2_DMA_SG - select SG_SPLIT - select V4L2_FWNODE - help - This is a v4l2 driver for the PXA27x Quick Capture Interface +source "drivers/media/platform/intel/Kconfig" config VIDEO_QCOM_CAMSS tristate "Qualcomm V4L2 Camera Subsystem driver" diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 4458690c1965..78ac0fa4dd57 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -15,6 +15,7 @@ obj-y += coda/ obj-y += davinci/ obj-y += exynos-gsc/ obj-y += exynos4-is/ +obj-y += intel/ obj-y += marvell-ccic/ obj-y += meson/ge2d/ obj-y += mtk-jpeg/ @@ -49,7 +50,6 @@ obj-y += xilinx/ # (e. g. LC_ALL=C sort Makefile) obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o obj-$(CONFIG_VIDEO_MUX) += video-mux.o -obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o obj-$(CONFIG_VIDEO_RCAR_ISP) += rcar-isp.o obj-$(CONFIG_VIDEO_RENESAS_CEU) += renesas-ceu.o diff --git a/drivers/media/platform/intel/Kconfig b/drivers/media/platform/intel/Kconfig new file mode 100644 index 000000000000..aeda421f7248 --- /dev/null +++ b/drivers/media/platform/intel/Kconfig @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_PXA27x + tristate "PXA27x Quick Capture Interface driver" + depends on V4L_PLATFORM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 + depends on PXA27x || COMPILE_TEST + select VIDEOBUF2_DMA_SG + select SG_SPLIT + select V4L2_FWNODE + help + This is a v4l2 driver for the PXA27x Quick Capture Interface diff --git a/drivers/media/platform/intel/Makefile b/drivers/media/platform/intel/Makefile new file mode 100644 index 000000000000..45b5c59d57da --- /dev/null +++ b/drivers/media/platform/intel/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_VIDEO_PXA27x) += pxa_camera.o diff --git a/drivers/media/platform/pxa_camera.c b/drivers/media/platform/intel/pxa_camera.c similarity index 100% rename from drivers/media/platform/pxa_camera.c rename to drivers/media/platform/intel/pxa_camera.c -- 2.35.1