Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp772989pxp; Fri, 11 Mar 2022 14:45:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPASlqfWqmeUrTr+2nE7kzsL+PsSxcaPX57U+3yK3ygdugHqNEnLwjwX1W46Sr/iSwjx84 X-Received: by 2002:a05:6a00:1902:b0:4f6:ef63:854f with SMTP id y2-20020a056a00190200b004f6ef63854fmr12487055pfi.65.1647038732293; Fri, 11 Mar 2022 14:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647038732; cv=none; d=google.com; s=arc-20160816; b=Zw4zDfNxOCEMSqk84lyy3fv60tcsQupqJpP+X8Q/qDuP1uctRpRE51RvFruiW8Bp17 LY/7rvk7uZpBUaH3AsdD+sPQCDMffYGRmCiG0O6GZky8Fm0o8D+ki+5fEv2LDCB6Fm+r DhsdXWXIhqiqwXIpg0eTmOcRPCPSVpJoaqhvWNcFSSHgo5gVFk4HwskTjQ3g/bl+B5DK RxckvbX6NLJExXTjLr3ENVebMJAjO8rXk9fSD9/mqwbFAE2xDt5qVa2ZrG8wmQFMB288 xoxG6OfOLaru7qV3tKBY7stCm6D0kEW6z5SNS266JPF6tDOFFzzCzCWilRULI2ywXE4s LnwA== 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=XdNVazbK73D6jzLcNQ8hWGbOri8B1qH7BAS0185Dzlk=; b=XUycUHm7lB2kdL68aoATtj7N5ytPAeDKo/sdrfDcj2a1vc/0MMyPmFX9UOlnvo7poN cKZ7hO/yRdq7QD5juSDohDTyuW8pBZIWNLVqSyB3u9G+/sD2wli2WYbD6WUyRtwB30ER vr/n9HescAkS1ra+Xj9FFCjh+JT6cmgt5mOystIl6sVsz0GxcVJpQIMw5mRK1xqph16T wRE53vAqt6cH2wk18OJad9joA4FgUV75SbUOg5vyO9Di9Bn0BEtCDx40qjZsxjmpBpK9 7NuMv9MSSz0zRbCbW6OWegzP5trS5EXqP0guMXboyMuGFEpwDc27Krloon0pl8CbUKb8 NyPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=pShPafaY; 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 e14-20020a17090301ce00b00152057b5e8fsi9838293plh.205.2022.03.11.14.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:45:32 -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=pShPafaY; 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 39ABE37D641; Fri, 11 Mar 2022 13:58:26 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349090AbiCKOJH (ORCPT + 99 others); Fri, 11 Mar 2022 09:09:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349062AbiCKOJB (ORCPT ); Fri, 11 Mar 2022 09:09:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF93665D30; 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 8D86661EAD; Fri, 11 Mar 2022 14:07:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B51EC340FC; 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=Ci2cMRoQM2vfLEi7tc5+ZXAoUt5SKYq/j4w3Npc0+2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pShPafaYZc6TgrlsRluOkmRND5kBGhOgwC7f5LA/HrhBs3BYXYLvasPY5vkElIBKM MIYsOHpTS1zGnVs578vCCgOt6cI8pV9gosG/8WVwn9EREcfAKhmbvgaxa4cs6J3wOK aVG3+PDHqG8gliej5fWFdgu4QdzxFCc0wk89d8Fzn+XxYf0ggPv8ruGNmw708jmuq6 /7JBIBg6Q+r+UmT4MbDEL1D2l71Xu1BQkR830Sa+wVL7AQfOgTLr9ZkliMsje2U2eG qJufqkkt7crGvlT3+pQWKi8TIfeT7hnaKKEFFi3UNqsETHwK13jdLft4KdfV0mHsQJ BnaxB6uhSB9mw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nSfvu-000lB6-1U; Fri, 11 Mar 2022 15:07:54 +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 , Laurent Pinchart , Ming Qian , Sakari Ailus , Tomi Valkeinen , lijian , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v2 09/38] media: platform: place Via drivers on a separate dir Date: Fri, 11 Mar 2022 15:07:22 +0100 Message-Id: <449ba01cb0ada1d0a5129a740cb44bd41e9ab2ba.1647006877.git.mchehab@kernel.org> 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 Via 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/via/Kconfig | 11 +++++++++++ drivers/media/platform/via/Makefile | 1 + drivers/media/platform/{ => via}/via-camera.c | 0 drivers/media/platform/{ => via}/via-camera.h | 0 6 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 drivers/media/platform/via/Kconfig create mode 100644 drivers/media/platform/via/Makefile rename drivers/media/platform/{ => via}/via-camera.c (100%) rename drivers/media/platform/{ => via}/via-camera.h (100%) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index efdb5fe592c6..d6751282087a 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -42,16 +42,7 @@ source "drivers/media/platform/nxp/Kconfig" source "drivers/media/platform/marvell-ccic/Kconfig" -config VIDEO_VIA_CAMERA - tristate "VIAFB camera controller support" - depends on V4L_PLATFORM_DRIVERS - depends on FB_VIA && VIDEO_V4L2 - select VIDEOBUF2_DMA_SG - select VIDEO_OV7670 - help - Driver support for the integrated camera controller in VIA - Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems - with ov7670 sensors. +source "drivers/media/platform/via/Kconfig" source "drivers/media/platform/cadence/Kconfig" diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index c290835885de..6783b374dc80 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -43,6 +43,7 @@ obj-y += stm32/ obj-y += sunxi/ obj-y += tegra/vde/ obj-y += ti-vpe/ +obj-y += via/ obj-y += vsp1/ obj-y += xilinx/ @@ -56,4 +57,3 @@ obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o obj-$(CONFIG_VIDEO_RENESAS_FDP1) += rcar_fdp1.o obj-$(CONFIG_VIDEO_RENESAS_JPU) += rcar_jpu.o obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o -obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o diff --git a/drivers/media/platform/via/Kconfig b/drivers/media/platform/via/Kconfig new file mode 100644 index 000000000000..1dcf789dce96 --- /dev/null +++ b/drivers/media/platform/via/Kconfig @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_VIA_CAMERA + tristate "VIAFB camera controller support" + depends on V4L_PLATFORM_DRIVERS + depends on FB_VIA && VIDEO_V4L2 + select VIDEOBUF2_DMA_SG + select VIDEO_OV7670 + help + Driver support for the integrated camera controller in VIA + Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems + with ov7670 sensors. diff --git a/drivers/media/platform/via/Makefile b/drivers/media/platform/via/Makefile new file mode 100644 index 000000000000..e5cd95d27523 --- /dev/null +++ b/drivers/media/platform/via/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via/via-camera.c similarity index 100% rename from drivers/media/platform/via-camera.c rename to drivers/media/platform/via/via-camera.c diff --git a/drivers/media/platform/via-camera.h b/drivers/media/platform/via/via-camera.h similarity index 100% rename from drivers/media/platform/via-camera.h rename to drivers/media/platform/via/via-camera.h -- 2.35.1