Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1003763lqp; Fri, 22 Mar 2024 02:37:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEbbafGMs7pnnTrb8z5oPvAGypoK8epnWlCbkwdEHxm0hoa3m2Z4WoqrPwv4ObxXWcq2mDpmfaAYxhgVnwryslmAsfeOxEM4iiycP16Q== X-Google-Smtp-Source: AGHT+IGeR48Mbby62jHKg14Lo8UAN+dbaePb6tIe/DgBp0Pl0FHLeJhWhL2OkPgBhIl9K3YMB3Dn X-Received: by 2002:a05:6871:608c:b0:221:8a03:6de7 with SMTP id qy12-20020a056871608c00b002218a036de7mr1767438oab.32.1711100272397; Fri, 22 Mar 2024 02:37:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711100272; cv=pass; d=google.com; s=arc-20160816; b=AWfXo4GjxvGC7wjwXzMzOFtkvNVsEP5tWhX/rcH6ur+ETJWYhXkoDHJ0lO8HSZwQhc wGg8Ja5GyFBLAP/aT5MjalLwjeN4eSgiAeHJP2sbGmnGt6bMbGiuCNRkvkH0wJL/1NRm lr2L0orsMuj2PPy5ntcMhe5CUP73c2c+4RunComTWc0VS0UTu4Gkr9X8YeI8uvuXUJDq 6TDwx8/BQ9cNfHOcDTt8WAxtZEkP7S7lCIRpssa2FB5t0Jmz1xS3nyHTLfQZgq0Cz0fo LQqIxLwqtUCZOczOSY3uQiODfCM+3sFwtOYxAi/W7pido33jILIw4gIZ7AB00msaA0t1 VQhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=KkZ3Z99i6MM1qNf1MY18ozx4vqvwPFSl+xf6wWVqJ10=; fh=lhHPL4roX8W2HSp1bNVAfzJLftf9oXQJ2+4LPQj5gGA=; b=OtYo5JBvJwqpL8eJczOKXTl1Ms0hrGC5IGDT9PW64EQmV7l/OzOjKWfiZnY3Y8PKEz wQwGvo7swdIa2vQEqS+tir/srBwZ3vcToqQszw8ytMaCtq/G6vJinju97zi/StChBsUB kNsTZDYxjDA7Ts0LVyC0In5QEsKuy2xgu9owtNIUlZuc5FXsY8BBmlVixtZKkZE3ny80 V9Ik3q9he1aGfZ9miKgKCyrlyiKRcpVQXzF6rPijlYs7JTaM3+4iZBdnehC3sKNbwa9U VLeHBagZ0M+zCfmA5bEhyrSfL330dCZOfvwVCbEh4vqETGZPaRKvQlGjQGw1uFTqooAT PkRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0p9FIKda; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-111211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s13-20020a63924d000000b005dc962cfb59si1516545pgn.350.2024.03.22.02.37.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 02:37:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0p9FIKda; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-111211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 71E782887D1 for ; Fri, 22 Mar 2024 09:29:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 717D520B3D; Fri, 22 Mar 2024 09:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="0p9FIKda" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 0C3DD1CA8F; Fri, 22 Mar 2024 09:29:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711099747; cv=none; b=YhQB1iVEYBil8h2n8KCIMnUGydRKejsTp6oKdHCCcVoopoj/YrdWCLdHyIuVVC6DqLJwHblh8KOHar2NZCc+7O73PhFH75UFOWbNNFm727ZQTOQ1Jxqg9hI2rRHdi0n14+Fm95Yx0ZdE89er9r9F7ZbNSA37DvBeidpi8QIeZaU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711099747; c=relaxed/simple; bh=0NfFN1FxYYtX3onU0k0PdRUebLFtOBg0d8UxrwfqgXU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mfVEttPhetSpZlnhf3tx3by5wVOgU72KI4sh7GeHWjudl3M0ALV5uJt9dUxzDB4K2wXcMj7GwL6122mC6s/vvIeJGKCrrDguuHml3s7/GjQ97g7fN2zdrzj0aSXbLEkxVUWNvuiPatXTPAd5ncKEzuWCYpyfygjUvfGMTTK1M9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=0p9FIKda; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(+) -- 2.44.0