Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1905737pxp; Sun, 13 Mar 2022 03:50:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3ZKg2d+n7E9i3IZWzjYC5PNExuHXAFGHH0kgoRpvd9O7yU3YCIzJq2pp+YIZEvNBp/Kep X-Received: by 2002:a17:906:fd7:b0:6d6:e276:e6a5 with SMTP id c23-20020a1709060fd700b006d6e276e6a5mr14381538ejk.545.1647168630750; Sun, 13 Mar 2022 03:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647168630; cv=none; d=google.com; s=arc-20160816; b=BCIK5b8PE8/f9pmxR+Wf0Csn4opUd7l2rZBMXkyqbR5/VeRAeLrQ8niTt596NbPSqe lkX0RxDcm2//oz7q+jZS7Av4SYqc2ls7SeaBqA55prfpa5kSMVIhPueBrzQarQV7wvOF tAMhWA59Az+MP8ATMofB6J3c/rH+tMqTciWlGIhiN4/dN5vQoe+ahNju62x60IOa9HmA apyHT1gksa4Vn3LAif7IA/3sVRak2H0K3f1w/pQhyhrrAZGtkMTvOs4dgK1iIJk2ZQBe 9l2el418US4YzkmXOAZaJA/chzDteJr6EQ93zW2JcZDuL8ifYwqekB/JtcGcnSWm5UDh IELQ== 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=9VcdHsjqwHo8ED2lHH7PcE/3xqomTCsQS0peE3B3Nk8=; b=GXc5kCTg5J0kuBQWYeSdf2s9k/zmFNMu56BqvxxYQ4AQ7DkaOhQJu9KKZCp5bPeUbr FNSEkzFYJJmom4ycB0AiDlTw+dB876heULrDm4Dqt5xxYE3GOMK6t3oImdmYL4afnKH3 QTQOhLNWao7JJQ7ljgiSjGZC4iJdlmQnIj6LKUMl4xbmUHOWDQ44rsjZBEV7HwlEWKkZ dMho7bXoH4/gI/B0d7y1vd5jN1BG0XBP5Rd8nPNP6SLjXNsO2nv/wJ/uzyZK3eEkMAr1 gewb4D84JrYndeJiPPscnfsy3D9/vbOi1OhgWmgq2urwsdX9xGYob+ALEG/VNuL3gsDF v/aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=YCBIcJiR; 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 ky20-20020a170907779400b006cf9cdc2a35si7793871ejc.479.2022.03.13.03.50.05; Sun, 13 Mar 2022 03:50:30 -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=YCBIcJiR; 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 S233858AbiCMHXb (ORCPT + 99 others); Sun, 13 Mar 2022 03:23:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233734AbiCMHXE (ORCPT ); Sun, 13 Mar 2022 03:23:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D546194563; Sat, 12 Mar 2022 23:21:56 -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 ams.source.kernel.org (Postfix) with ESMTPS id CC9EBB80B02; Sun, 13 Mar 2022 07:21:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77716C340F4; 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=cNadM/rD6vF7/bY+HaJ87h83/eOD3PLAF4bnN/xh/nI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YCBIcJiR+MjZRzuKDZzIGjrWLPLMIvPtpYUP3aHVp0JEGXv+/A5GDEkdbGcjAIlT5 gEWPzXbd86UvwaPZW2whz+2wEKzH0gE+nFKfWiDqdLqwgy8n8uIftydFatmrl7wM2U dOT6IyPhaHpU2cP9tzQjuwwpDYZHDg5qZy8goZxUfr+4B4qS5A4k055DDu1vikngY8 EOx4opG3m4B7PTC9nbjCES79zRqnZuIHM2iaQosyiAu8c5uk6qWgNNzPRhrHa6dLJl 5mrlZD96u+hti+G9UgXzCgtetORh91KKJxieQ+/0FsiUZZsEdF2syKj3jdgt0NRQYO w2Edf+8y0ywEw== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTIY3-0012vs-8r; Sun, 13 Mar 2022 08:21:51 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Andrew Jeffery , Dillon Min , Dmitry Osipenko , Eddie James , Eugen Hristev , Hans Verkuil , Jacopo Mondi , Jammy Huang , Jernej Skrabec , Joel Stanley , Laurent Pinchart , Ming Qian , Mirela Rabulea , Paul Menzel , Sakari Ailus , Yang Li , Zev Weiss , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH v3 06/39] media: platform: place Aspeed driver on a separate dir Date: Sun, 13 Mar 2022 08:21:15 +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 Aspeed 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/ MAINTAINERS | 2 +- drivers/media/platform/Kconfig | 10 +--------- drivers/media/platform/Makefile | 2 +- drivers/media/platform/aspeed/Kconfig | 10 ++++++++++ drivers/media/platform/aspeed/Makefile | 2 ++ drivers/media/platform/{ => aspeed}/aspeed-video.c | 0 6 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 drivers/media/platform/aspeed/Kconfig create mode 100644 drivers/media/platform/aspeed/Makefile rename drivers/media/platform/{ => aspeed}/aspeed-video.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 1a9fb0615925..1b6f48a660de 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3026,7 +3026,7 @@ L: linux-media@vger.kernel.org L: openbmc@lists.ozlabs.org (moderated for non-subscribers) S: Maintained F: Documentation/devicetree/bindings/media/aspeed-video.txt -F: drivers/media/platform/aspeed-video.c +F: drivers/media/platform/aspeed/ ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS M: Corentin Chary diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 1446a99159c5..10f453ff2717 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -50,15 +50,7 @@ source "drivers/media/platform/davinci/Kconfig" source "drivers/media/platform/omap/Kconfig" -config VIDEO_ASPEED - tristate "Aspeed AST2400 and AST2500 Video Engine driver" - depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_V4L2 - select VIDEOBUF2_DMA_CONTIG - help - Support for the Aspeed Video Engine (VE) embedded in the Aspeed - AST2400 and AST2500 SOCs. The VE can capture and compress video data - from digital or analog sources. +source "drivers/media/platform/aspeed/Kconfig" config VIDEO_SH_VOU tristate "SuperH VOU video output driver" diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index e319044c57e9..18ec3d208483 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -6,6 +6,7 @@ # Place here, alphabetically sorted by directory # (e. g. LC_ALL=C sort Makefile) obj-y += allegro-dvt/ +obj-y += aspeed/ obj-y += am437x/ obj-y += amphion/ obj-y += atmel/ @@ -47,7 +48,6 @@ obj-y += xilinx/ # Please place here only ancillary drivers that aren't SoC-specific # Please keep it alphabetically sorted by Kconfig name # (e. g. LC_ALL=C sort Makefile) -obj-$(CONFIG_VIDEO_ASPEED) += aspeed-video.o obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o obj-$(CONFIG_VIDEO_MUX) += video-mux.o diff --git a/drivers/media/platform/aspeed/Kconfig b/drivers/media/platform/aspeed/Kconfig new file mode 100644 index 000000000000..5025e892844c --- /dev/null +++ b/drivers/media/platform/aspeed/Kconfig @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only +config VIDEO_ASPEED + tristate "Aspeed AST2400 and AST2500 Video Engine driver" + depends on V4L_PLATFORM_DRIVERS + depends on VIDEO_V4L2 + select VIDEOBUF2_DMA_CONTIG + help + Support for the Aspeed Video Engine (VE) embedded in the Aspeed + AST2400 and AST2500 SOCs. The VE can capture and compress video data + from digital or analog sources. diff --git a/drivers/media/platform/aspeed/Makefile b/drivers/media/platform/aspeed/Makefile new file mode 100644 index 000000000000..b8394b7e537d --- /dev/null +++ b/drivers/media/platform/aspeed/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_VIDEO_ASPEED) += aspeed-video.o diff --git a/drivers/media/platform/aspeed-video.c b/drivers/media/platform/aspeed/aspeed-video.c similarity index 100% rename from drivers/media/platform/aspeed-video.c rename to drivers/media/platform/aspeed/aspeed-video.c -- 2.35.1