From patchwork Wed Mar 29 09:52:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13192310 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 95310C6FD18 for ; Wed, 29 Mar 2023 11:01:19 +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:Cc:To:MIME-Version:Message-Id:Date: Subject: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=NHf5fhpekWs+uP2yPHGd1IG86erTT8ygDlYvEV8UYAs=; b=mFCiM8hmQbne6c bquo3iwjg1/BoZiDcibjIjbDTR+ZOTlb1vQe3HLO6vVsNKKtvsbgEc9jq0BSrB5B/jqJ2sZIUv7PP JLdL459wwmJZ3bZ6TMgVeFklmlVzt66NflP9sLX//BtYpii9dCyIeYsODD642i7uwR4vlP0HUUKTO ejORlsIn4nqahTo4wQbERXSHm+XWzKx1mFD/iCtp0eBmV1Ei4G5Yyah3iVSDIKhLuVyzYe6THotv4 R78+zO/4MU3uhbd4njy5lR2fvPQMe2aUgO6ZGw4xDAOl7GfJ2moGoW4zssxHrMVEVCkQ9uCE88aYH Aio4kpiIZZ0w51bY0mNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phTXf-00HXr9-0W; Wed, 29 Mar 2023 11:00:35 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phSTq-00HN3B-1c for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 09:52:37 +0000 Received: by mail-wr1-x42e.google.com with SMTP id e18so15005262wra.9 for ; Wed, 29 Mar 2023 02:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680083552; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=QP7I05xe70jVSB1QevUo3ItTmkkaasYyLn2NTliYSvU=; b=atzVxpI8GEB8gm5g11uJpDSamSw7m5l2Jb2gktKhjqSnEPTUXyuwdcj6bcJswvcEjd 3P1nGdyMbGaRALyVgM5Zz/Ue4OSaFoaqZySP/4Tnar/fvfNQ2CUM+CmDjvrxHX1wakZN a9Q1ERG6XbGyjH+JTsnxw3OM5F7Y5RCqYm0evl/aYa9oBBxdw9MzZmRsO/2At7tSzY7H XtRMQ17E+z17D/gkUqMBBkfaxZKGitD4FdaCmAJ1guLBqPi+ez9dIBMbg1B5IzhOJSr4 rtm9MpcV90RBhILrJBPsoJyB0RySuQpAzzGQeztVJGst4Vk7DG+3n5Y06/cDWwF8egDP MEaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680083552; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QP7I05xe70jVSB1QevUo3ItTmkkaasYyLn2NTliYSvU=; b=sk8VK/KnhPaH6ikDTD5voDytFb/SzmiLcv4CeAbEVDiDsnA9pvg+F9QaZwjmvKmXlQ kkeotcqHPZOcplMnfkTBhX0NA8f7MnGkBA40e4DR8W313fYzPI2gn4C5DNaf5kIwzwB9 qORAhgpiJky+jeqYXU1O7Wy9nHW1G/UkNwJK7r/QVts7NSH3by3P4iP46fXdMsEU0gJr nlhlqGTwnELkes9C2v1lpzYemyWK0DG5osHu7WfssE+pjjybty9VS0iTbeTYGb1hAs9p vMfUkiqePiunA/xkBeZhWIFJ2/dwmmUKMiGJuppMjw1eVEKkewbNYPcWgShAZ41CVzn2 OuvA== X-Gm-Message-State: AAQBX9ehf9aOk+CYsOSI8ND6jZHaSeSAzqaDCcTZ0uPjPyUJ46fGh+U7 O9PUYxwzC51878PdySUT4oZsrQ== X-Google-Smtp-Source: AKy350aZi5UrBH5UKgpATnAonVuE25oSWIchhuM9c6JzusQ6e1+Pj0BrguFi+K5Xz7HKNthrYD7Hkw== X-Received: by 2002:adf:eb8c:0:b0:2ce:a8e9:bb3a with SMTP id t12-20020adfeb8c000000b002cea8e9bb3amr13364022wrn.4.1680083552457; Wed, 29 Mar 2023 02:52:32 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id a18-20020a5d4d52000000b002d1e49cff35sm29667158wru.40.2023.03.29.02.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:52:32 -0700 (PDT) From: Alexandre Mergnat Subject: [PATCH RESEND 0/6] Add IOMMU support to MT8365 SoC Date: Wed, 29 Mar 2023 11:52:19 +0200 Message-Id: <20230207-iommu-support-v1-0-4a902f9aa412@baylibre.com> MIME-Version: 1.0 To: Yong Wu , Krzysztof Kozlowski , Rob Herring , Matthias Brugger , AngeloGioacchino Del Regno , Krzysztof Kozlowski Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1483; i=amergnat@baylibre.com; h=from:subject:message-id; bh=+MCjkFE0VqVcHeHS1WtIefZoTsrmPvOHx7BnXXT/Qlw=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkJApfr1/SHi7OubRQWiKNxuTB5I62tKyq/5VwOY+P NJX4OBaJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZCQKXwAKCRArRkmdfjHURU+TD/ 0dO7RC76+8JTfMGKJn7IIdqFMzrDsSdcN/Ws/JLku31n4A+eUHnI3JYToxEbccpwDAXTz9/B3SkqrM b6hoJmjCM7vHpb9ApN7Nh6VSpFi7CS0NCafl5keEWCAmJRbWLrRIOvVHY0tWOPNnvxwJ25o/gLeEfL 6UBBrHIXqi8w7v2lX6cIcQxJVbbndFs7dQcSgdwJPVzApZ5IQx0JS4HdVWr6yS6OUHvjlbNRhwE6RK 3zQdBFBd+Vkxy+Qft1xYAjzNJgbcIFsgghU5A3QnO6eNyOegPjANhxo2j9XpjGnpORWPMi0pxTkIjb oDX/OZ3R7DC/RLziyHxFi1dKpYRwbiQikHShSn7j7PE/adoSLD5d0A+T2ut01SDCT2fbz9xFxgM/kG QPd3WZ//kzqkhUZKzyY3UjghUF44SCkROZeUPr8reKMG2n6lbFzqrdtNj+WwtTynUTt89m69anqrbc 4c45UsY2Ti29nRvrM4jr3mz6CP+Nvlx/lQqvypfG4Ecp2XcmHo9ctqTS8lI65NQSCBP1vRS6gsz+ys brVOVq5y89wmlKdrGVtuyXvXt0nA5XS7nagPFT6HWmzYrQwqX6dWkob4Ictfg8Y1PjOrQts3mUQqT4 W6jhAxFX4AxZM9Fvc7rPlNwGtHsghUPMWC5D8seLDSdvM0beFfGGZ9G31fzQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_025234_541503_66A3FE09 X-CRM114-Status: GOOD ( 10.50 ) 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 commits are based on the Fabien Parent work. The purpose of this series is to add the following HWs / IPs support for the MT8365 SoC: - System Power Manager - MultiMedia Memory Management Unit "M4U" (IOMMU) - Smart Multimedia Interface "SMI" - Local arbiter "LARB" This series depends to two others which add power support for MT8365 SoC [1] [2]. Regards, Alex [1]: https://lore.kernel.org/all/20230203-evk-board-support-v2-0-6ec7cdb10ccf@baylibre.com/ [2]: https://lore.kernel.org/lkml/20230105170735.1637416-1-msp@baylibre.com/ Signed-off-by: Alexandre Mergnat --- Alexandre Mergnat (6): dt-bindings: memory-controllers: mediatek,smi-common: add mt8365 dt-bindings: memory-controllers: mediatek,smi-larb: add mt8365 arm64: dts: mediatek: add power domain support for mt8365 SoC arm64: dts: mediatek: add smi support for mt8365 SoC arm64: dts: mediatek: add larb support for mt8365 SoC arm64: dts: mediatek: add iommu support for mt8365 SoC .../memory-controllers/mediatek,smi-common.yaml | 4 + .../memory-controllers/mediatek,smi-larb.yaml | 4 + arch/arm64/boot/dts/mediatek/mt8365.dtsi | 211 +++++++++++++++++++++ 3 files changed, 219 insertions(+) --- base-commit: 1db7fc94e6e116f43f7bf3adb33407f21bc29fd9 change-id: 20230207-iommu-support-5e620926e42e Best regards,