Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp793240pxp; Fri, 11 Mar 2022 15:17:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyZIhgCm+003UDjQAjH9kr+kmGEyqIYmuM3zYZT9jRDruia0+5kO1ot2CnPWvT6ONS63Dq X-Received: by 2002:a05:6a00:130c:b0:4bd:118:8071 with SMTP id j12-20020a056a00130c00b004bd01188071mr12615193pfu.28.1647040627164; Fri, 11 Mar 2022 15:17:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647040627; cv=none; d=google.com; s=arc-20160816; b=wkcW41gXAhTVmBOZwRLohZd5kHwq2AU2n/LkduK1mLV1JPWTRRzVBJ1vrzGShjBOqN OpfUMXH1/q1u3mS/1Zvc0rMKAOwnRP5GIT/6g8JnuUuLKrPpCQKLcClxP6d7Kucro/oT 9vSynvWEyXngqI1TMESi23GJ9UoRluW5W3d/ZmLAcRxo7lzhNl5zGP8Og1j1wRxNrPIv CRCtTRT1rJb31s2OYXfnYNHas3GMDEEBvhtSQ5dvYhK+UuZYvTrQugRgzbc8kD96u7pL wdmKwsB/V+KRi3NQWKmDrsiPAN5KkUdd2mIioTGDdHXPMikfBhcS0a6TR2VSg23xOZ2E oEMQ== 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=WsdDEkZgcEXsMWGzLD1DKU6KdBQRUFiwBUMFxtc4Xgw=; b=nDetuT2cHWpqBGsLRLZzPaM0mM+fRenrvyAUsvAdIeeCT6/kmjmcZIsmzngWxpKCQ6 aOYRyuoWlt/fIRwwe/g8R4ZvafWxgAwcM90q0fT1rgsC7U/mCcDdmCm2JW/pzVZ0FtYE WkodNWxagF9bx/PU43eXmeijxhppxTvJlpIMhD25jXmMcOb+jdWmC7oBv3kXGzGzauo1 wYM1ds2w7PIa7/KCggBOGtElQVgGgvF/DHzUkBWXKUtSqbuNxRc177WDoLajzJmEFXJL DPu6Xm1ND7dKknG/qm32H22AkWFrJa1hXioMFsDwgyUDbF4/hMkomUWAzqspDF7F/ZU0 yiNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=J26x+inY; 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 v126-20020a626184000000b004e1cf3b51e4si8604958pfb.293.2022.03.11.15.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 15:17:07 -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=J26x+inY; 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 2A232285720; Fri, 11 Mar 2022 14:03:25 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349074AbiCKOJE (ORCPT + 99 others); Fri, 11 Mar 2022 09:09:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349061AbiCKOJB (ORCPT ); Fri, 11 Mar 2022 09:09:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C37B665D0F; Fri, 11 Mar 2022 06:07:57 -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 60D0E61EAC; Fri, 11 Mar 2022 14:07:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 582E2C340FD; Fri, 11 Mar 2022 14:07:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647007676; bh=KjziZ2+PieiVuoXr/SfYM8vrgsmWGDJXSuX1iIwh8Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J26x+inYaw9GAkNQUdNEOOxGteNl6Mv5gNxuZeRmBqJzb6d3+V6/f+UQ1nwMgwdty 51eBJFySMYY6Dn9JZD+3r4aQjAomH+mvjwkOujVnvPqNbetenquqhB85EuaQ32sLwa EQacnMyZMEChYIJnASr8Q642IzDFeY7bCLHsGFchAv63yJtD76rsgWz+Ln9p8V2HY8 fV4gMtdVUP/cd0sMTQ/13/wO+dphj3QeCKnvVYabEr2S5zXVY+EE5XI9dBgPukkequ 9kVx6zaNDREl5XFz26FRKHCMx+drwZQJErD2ZgoEj0e2F8Fe71fwL7d1Xh1U4bPHM1 87XT8Iap1mPpA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfvu-000lB2-01; Fri, 11 Mar 2022 15:07:54 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Dmitry Osipenko , Eugen Hristev , Hans Verkuil , Jacopo Mondi , Laurent Pinchart , Ming Qian , Sakari Ailus , Tomi Valkeinen , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 08/38] media: platform: place Intel drivers on a separate dir Date: Fri, 11 Mar 2022 15:07:21 +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 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 v2 00/38] at: https://lore.kernel.org/all/cover.1647006877.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 | 1 + drivers/media/platform/{ => intel}/pxa_camera.c | 0 5 files changed, 14 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 f5ef28d3e53c..efdb5fe592c6 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -104,16 +104,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 e9f982eb034b..c290835885de 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -16,6 +16,7 @@ obj-y += exynos4-is/ obj-y += exynos-gsc/ obj-y += imx/ obj-y += imx-jpeg/ +obj-y += intel/ obj-y += marvell-ccic/ obj-y += meson/ge2d/ obj-y += mtk-jpeg/ @@ -48,7 +49,6 @@ obj-y += xilinx/ # Please place here only ancillary drivers that aren't SoC-specific 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..10ea23fb2bcc --- /dev/null +++ b/drivers/media/platform/intel/Makefile @@ -0,0 +1 @@ +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