From patchwork Wed Aug 14 00:54:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 99154 Received: from sy.mirrors.kernel.org ([147.75.48.161]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1se2Hj-00058C-0U for patchwork@linuxtv.org; Wed, 14 Aug 2024 00:54:43 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 26024B2246E for ; Wed, 14 Aug 2024 00:54:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D94F538A; Wed, 14 Aug 2024 00:54:34 +0000 (UTC) X-Original-To: linux-media@vger.kernel.org Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA3251C17; Wed, 14 Aug 2024 00:54:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723596873; cv=none; b=GUmIw7suBl5UihWnIbDelIsgycz6UvTo10hnwM90uS4FXl1X6jquQWerjt4eoGf2BUkf7fQEcpwMhSfc+ZK8DtvnafALCidAP8B2AT0zF6LnD1psxjBS3hU+l1EJ1CKJwu69myN6BZsw9r4gN46kLFQDhx6Em0E9HyUvTS5XhnE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723596873; c=relaxed/simple; bh=Gn/yi3KbAwbZGg0oEB4ivFkqHgwxWjeMBzw3MzO6mcY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=EYMuIT1VGIGEF9iaODlJlTWASRdEgVNdApwF/7Ql53kyq/koYsgZotTVWvQUfNL5gGqTqPEekJqq3YxzHyeF1yCTwXNhpho0JbebVKbQ8oRgSCG2QQGBuuVJQxhfx5bXEdqXeRf6fN+STYG8Pk0toAKx7lLmEjXy5ldkRUlvzx8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Wed, 14 Aug 2024 08:54:21 +0800 Received: from mail.aspeedtech.com (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Wed, 14 Aug 2024 08:54:21 +0800 From: Jammy Huang To: , , , , , CC: , , , , Subject: [PATCH v4 0/2] media: aspeed: Allow to capture from SoC display (GFX) Date: Wed, 14 Aug 2024 08:54:19 +0800 Message-ID: <20240814005421.3362441-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -5.0 (-----) X-LSpam-Report: No, score=-5.0 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DMARC_QUAR=1.198,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_VALIDITY_CERTIFIED=-3,RCVD_IN_VALIDITY_RPBL=1.31,RCVD_IN_VALIDITY_SAFE=-2,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no The aim of this series is to add another capture source, SoC Display(GFX), for video. v4 changes: - Use scoped/cleanup to make aspeed_regmap_lookup simpler. - Update dts v3 changes: - Update for enum_input. v2 changes: - Update patch subject and comments. Jammy Huang (2): ARM: dts: aspeed: Add properties of scu and gfx for video media: aspeed: Allow to capture from SoC display (GFX) arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 2 + drivers/media/platform/aspeed/aspeed-video.c | 192 ++++++++++++++++--- include/uapi/linux/aspeed-video.h | 7 + 3 files changed, 173 insertions(+), 28 deletions(-) base-commit: e9d22f7a6655941fc8b2b942ed354ec780936b3e