From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A956C433EF for ; Thu, 2 Dec 2021 06:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1jhLSxXlixMkutbXMfHxd4dqcwMBQ7OQKP+CgtXQUw8=; b=K2vN7NRH1mqj83 EVEPIE0BUId+ZtO+bcqksmNCKHpkEVqVWngQA7oDwg4UtGmn/E8iCt3quDlH7cB6c7EASn4OiliVJ xehOg1a660XFbfD1DL6pYUjuaRWLmeXcYDWSvrbq6xG6omADJ//uGsRwgvQzRbM4IdObmNTGxwuTO mP0g/LN+4UxvAQITHnHlh97feD7P5Ld63kED949PiEbFuUhTQ0hdLM5Cg13CxyX/mNt3yqnp2Gron m9ManB/ekvgfLNzQnPeI06QuaKee4vvHxEuyfNsrC/d+mKOYBChls4hmZj2LXNY5qZvJCiRg5tGst 1Thdtlw4GPjpw43faYYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msfVF-00B3hn-JI; Thu, 02 Dec 2021 06:23:33 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msfVC-00B3gL-SI; Thu, 02 Dec 2021 06:23:32 +0000 X-UUID: e9502634c0724efb81b1b56cac73f6c9-20211201 X-UUID: e9502634c0724efb81b1b56cac73f6c9-20211201 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1649264525; Wed, 01 Dec 2021 23:23:28 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Dec 2021 22:13:26 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 2 Dec 2021 14:13:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 2 Dec 2021 14:13:24 +0800 From: Moudy Ho To: Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Hans Verkuil , Jernej Skrabec CC: Chun-Kuang Hu , Geert Uytterhoeven , Rob Landley , Laurent Pinchart , , , , , , Alexandre Courbot , , , , , AngeloGioacchino Del Regno , Maoguang Meng , daoyuan huang , Ping-Hsun Wu , , , , , , , , , Subject: [PATCH v10 0/4] Add mmsys and mutex support for MDP Date: Thu, 2 Dec 2021 14:13:18 +0800 Message-ID: <20211202061322.19917-1-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_222330_927171_2E7C9B22 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Change since v9: - Add API for MDP getting mutex mod. Hi, This patch splits mmsys and mutex settings from Media Data Path 3 (MDP3), and original mailling list list below: https://patchwork.kernel.org/project/linux-mediatek/cover/20211201095031.31606-1-moudy.ho@mediatek.com/ Corresponding settings and interfaces are added for MDP operation in the mmsys and mutex drivers, which increases the independence of the modules Moudy Ho (4): soc: mediatek: mmsys: add support for MDP soc: mediatek: mmsys: add support for ISP control soc: mediatek: mutex: add support for MDP soc: mediatek: mutex: add functions that operate registers by CMDQ drivers/soc/mediatek/Kconfig | 1 + drivers/soc/mediatek/mt8183-mmsys.h | 294 +++++++++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 173 +++++++++++++++ drivers/soc/mediatek/mtk-mmsys.h | 3 + drivers/soc/mediatek/mtk-mutex.c | 133 ++++++++++- include/linux/soc/mediatek/mtk-mmsys.h | 86 ++++++++ include/linux/soc/mediatek/mtk-mutex.h | 9 + 7 files changed, 698 insertions(+), 1 deletion(-) -- 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4BBFC433F5 for ; Thu, 2 Dec 2021 06:25:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YxcTximPkaE5lBtsJg7GIkmvQusToH+ezOeen3MlEGE=; b=ImtWpbap9JnaHR b/JaEXylLJwo5kKXFwTSqzi9vSxYPSzwmxHI1+oFfFLEBpw3v0H/gYR8AYoTFsMzua8YIa/96unaT pEYk07y1ZSM6o5Ekk+AcOffVezCvYSMY+zWwvdR/F5AUo4oKmT6kC9Nt90czocumY5kDbZJOJ1K6Q d6xvonFFNhdXkCrWM8XmtitfiGpbGEeSnBvG2gbJzB8K8UZBVUic2+HoQgZpCadqtSJ4QRGfuoa/f FdGX++JaOnys21UScU0pbi+P7x32GhKzYUzgB2LjeP8y+C8lsdbCQbi6dqHmfmohzWyCu5s98mEdU BxnyxWngbdFLAc1fqP4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msfVH-00B3i3-GI; Thu, 02 Dec 2021 06:23:35 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msfVC-00B3gL-SI; Thu, 02 Dec 2021 06:23:32 +0000 X-UUID: e9502634c0724efb81b1b56cac73f6c9-20211201 X-UUID: e9502634c0724efb81b1b56cac73f6c9-20211201 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1649264525; Wed, 01 Dec 2021 23:23:28 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Dec 2021 22:13:26 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 2 Dec 2021 14:13:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 2 Dec 2021 14:13:24 +0800 From: Moudy Ho To: Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Hans Verkuil , Jernej Skrabec CC: Chun-Kuang Hu , Geert Uytterhoeven , Rob Landley , Laurent Pinchart , , , , , , Alexandre Courbot , , , , , AngeloGioacchino Del Regno , Maoguang Meng , daoyuan huang , Ping-Hsun Wu , , , , , , , , , Subject: [PATCH v10 0/4] Add mmsys and mutex support for MDP Date: Thu, 2 Dec 2021 14:13:18 +0800 Message-ID: <20211202061322.19917-1-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_222330_927171_2E7C9B22 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Change since v9: - Add API for MDP getting mutex mod. Hi, This patch splits mmsys and mutex settings from Media Data Path 3 (MDP3), and original mailling list list below: https://patchwork.kernel.org/project/linux-mediatek/cover/20211201095031.31606-1-moudy.ho@mediatek.com/ Corresponding settings and interfaces are added for MDP operation in the mmsys and mutex drivers, which increases the independence of the modules Moudy Ho (4): soc: mediatek: mmsys: add support for MDP soc: mediatek: mmsys: add support for ISP control soc: mediatek: mutex: add support for MDP soc: mediatek: mutex: add functions that operate registers by CMDQ drivers/soc/mediatek/Kconfig | 1 + drivers/soc/mediatek/mt8183-mmsys.h | 294 +++++++++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 173 +++++++++++++++ drivers/soc/mediatek/mtk-mmsys.h | 3 + drivers/soc/mediatek/mtk-mutex.c | 133 ++++++++++- include/linux/soc/mediatek/mtk-mmsys.h | 86 ++++++++ include/linux/soc/mediatek/mtk-mutex.h | 9 + 7 files changed, 698 insertions(+), 1 deletion(-) -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel