From patchwork Fri Mar 22 09:28:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13599841 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 536EBC54E71 for ; Fri, 22 Mar 2024 09:29:24 +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=KBl5bf+KOh9tgt3i8pE8HVPLijcecu0zkK5eFk86Lyc=; b=AM2oJfVn9E4Pe2 wCQwlOnU2nrCfx7qvneU13fa//tNUE2+9iaeisW1PS3RRL3GlYgYO9cA6Cl6D0gJHrBvolV0Qla1W J7aJWU1Q7HmawRWDM8NKTQydNLTVxpNqxObtgD+NhnI0DKWRwQHAHOeVMiqRFaknjPcBvFjbQHsKi TydBFMZwmjojlkUbBrpMrzQMDQJy7wvrfbiuPjTr51TAImpSHY2m6V+N/TmLVJtokeurnJP2iYHlv ERW4B007IUEldIIflMdceT5qV1v8oPm7Sh4FGaa4ExYaO3/Yp81pRergqVNUrWHyhovi+DrftQZG1 mdfDbF1B20ggSgDG/zJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnbD5-00000006ZwX-0ytQ; Fri, 22 Mar 2024 09:29:11 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnbCz-00000006Zu6-3et6; Fri, 22 Mar 2024 09:29:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711099744; bh=0NfFN1FxYYtX3onU0k0PdRUebLFtOBg0d8UxrwfqgXU=; h=From:To:Cc:Subject:Date:From; b=0p9FIKdaxjrot2UBo5UNH+oPfbe9HJC8nSlTqi4OGlA9FURnNiQbFRxrbO9oD2b6r Dr+9oqI2jbDuVTlOxcf9ozXJqczioMWgLwlJhOaEkHdRszN9UfblUoVkswAQB8YdeY KDFY9EtEpsdbN/K9SjU1OaJGQ1E8yTiPvJidwTMg7lB6Q1LNVtt2cshSMJv9pkGkNR iNS7Mrza4KkjavrzK63IGDnQcSPtzaX+BPMKHK/Vr7zwX9ikD8/P8zFhx0Dpd+VTPR tMPnamxb7yKPQ2Zk3SNucyXWHfD0hJ0168orFt5D5sN36CvQKBUsuxCQ/JMO9Q4e1r h600t/+svT0VQ== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E893437820AC; Fri, 22 Mar 2024 09:29:02 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-media@vger.kernel.org Cc: mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, amergnat@baylibre.com, moudy.ho@mediatek.com, hverkuil-cisco@xs4all.nl, sebastian.fricke@collabora.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/4] Support MediaTek MT8188 Media Data Path 3 (MDP3) Date: Fri, 22 Mar 2024 10:28:41 +0100 Message-ID: <20240322092845.381313-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240322_022906_239400_8A981EF6 X-CRM114-Status: UNSURE ( 8.31 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds code to support for the MDP3 block found in the MediaTek MT8188 SoC, including the necessary bits for mtk-mutex and platform data for the MDP3 driver. This is mostly compatible with MT8195, with a few differences "here and there", with the former having less instances of some of the MDP3 IPs compared to the latter. AngeloGioacchino Del Regno (4): dt-bindings: soc: mediatek: Add support for MT8188 VPPSYS soc: mediatek: mtk-mutex: Add support for MT8188 VPPSYS dt-bindings: media: mediatek: mdp3: Add support for MT8188 RDMA media: platform: mtk-mdp3: Add support for MT8188 MDP3 components .../bindings/media/mediatek,mdp3-rdma.yaml | 1 + .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + .../platform/mediatek/mdp3/mdp_cfg_data.c | 280 ++++++++++++++++++ .../platform/mediatek/mdp3/mtk-img-ipi.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-core.c | 3 + drivers/soc/mediatek/mtk-mutex.c | 41 +++ 7 files changed, 328 insertions(+)