Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2693606pxp; Mon, 14 Mar 2022 02:54:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWPJmSKEywimXL89phUj+wa2PibMwtkJT/LtgWBF48bH8zL7KnzEcBpEVN5phhHe1+cx/J X-Received: by 2002:a17:906:a1a:b0:6cf:d2d9:410c with SMTP id w26-20020a1709060a1a00b006cfd2d9410cmr18267232ejf.713.1647251689091; Mon, 14 Mar 2022 02:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647251689; cv=none; d=google.com; s=arc-20160816; b=hAU4ttnXD6v9gPFSij+qo0dwfurzx34EFuBhBQqbqIiGnb7k69N5a4tKOYXtGDfDOn d//qhLkL5rih0Lt3JbUQscdxskqHvjZxcAn0Bsc9b+oWwWc7N8F3Rk5gETMuxyBD8OlE u00BApHmT6cgr2Q1bxHM5v50E6JBvT6NJX3g/pY33IcQNlWP6IGJqQpc4f3xfBKUd6c+ 45QWXfqvb50Ji16q3qCdfIFckQAyZ3bl93fufeWxrI9jzEXMhgBizwIf/tuhD+i1xvG7 AGsxAfe9KReXBgeXD+1kZ+gDzHfiHvpE8I8OYFgnTI152tCHc29Tgp7WrRKf4uFzDujs X2aQ== 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=Q3bjGaJZqINQCgTk9GcazSL/YJvllb0wYPh6NKJb6c4=; b=RNrqwfQdjDtI7m/Kx/kf0w96ljvGfEgQ6/4ybhHpeF0Ryfx1CIju1OwjJWc2RVs0Pv eXF0UkZTJpWTM+1Db4uDRTPsr8FsojS7LLGmeZM/rK5qvj3y+RymX7SpdxaCN9V9e87d STQ3+I2D+aHSXMzNXZn4WeKz53exfdJNQJa+cm6GjaHLIi7yox4w2Jj0rSdvq/Sqqc9E wl6JQrZmGsYGOKiKRC3OLzug97u7Xv2uOQLMU9H7YQ/9acjEXA5ri3VUp5XZsAZc6Ls3 P0+RMLet0jkueq33nYvfAHLfTFolGfTfdiINUeLhnLTr3KlDXYcTGnZWlQjV0YWodWup cYGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=ZFdpmQvn; 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 hr4-20020a1709073f8400b006d62d9d91b7si10753248ejc.608.2022.03.14.02.54.24; Mon, 14 Mar 2022 02:54:49 -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=ZFdpmQvn; 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 S236884AbiCNH5a (ORCPT + 99 others); Mon, 14 Mar 2022 03:57:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236830AbiCNH5S (ORCPT ); Mon, 14 Mar 2022 03:57:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A53014131F; Mon, 14 Mar 2022 00:56:03 -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 ams.source.kernel.org (Postfix) with ESMTPS id 3F10EB80CD7; Mon, 14 Mar 2022 07:56:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD868C340FA; Mon, 14 Mar 2022 07:56:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647244560; bh=9DGItyRqo5/TWrsCFxegH0TQiWspharIIrhV3x3Mb5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFdpmQvnRvMuJyA+ym0T7a8yeLcIb0fc/hdwJE+xcgYzlV8QqLAa+/UzK+GQ/+Jfm Ud23qEzvUjMbaC9eGypCXo4IDg2KxJdyekrugyv+rYFmNlmzkCrh0HlpzNXr2IFov8 L6go9twm0cZunQiv20qTXbFoKHDZkJW6IMuARe5ObcOgOeWQemnyIcASe2IU8MhN1x nD1dFlvjiV5OOXEGzF+5w/jfNeYqGIDprXy/Dwjv6cpqVZnS7O4XuWmp1QBM29Jm25 cyPNC9BKl0r/bvTxuGB8KgB9gqlgY5OCV4PZDwSHUC9RXCH6xX32xf7LbP0AXp9lfK 3yARTdDzW39Kw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTfYc-001kUh-M9; Mon, 14 Mar 2022 08:55:58 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Eugen Hristev , Hans Verkuil , Jacopo Mondi , Jernej Skrabec , Laurent Pinchart , Ming Qian , Rui Miguel Silva , Sakari Ailus , Tomi Valkeinen , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 08/64] media: platform: place Intel drivers on a separate dir Date: Mon, 14 Mar 2022 08:55:00 +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 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 00/64] at: https://lore.kernel.org/all/cover.1647242578.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..7e8889cbd2df --- /dev/null +++ b/drivers/media/platform/intel/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +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