Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp354024rwl; Wed, 29 Mar 2023 02:52:54 -0700 (PDT) X-Google-Smtp-Source: AK7set+b4HfQX7sZeZPovmM9/HYisr5eysOc+z4rMa8X7PJIG1CEL/5PN+xX+3iZl9C4j5G6dpkF X-Received: by 2002:a05:6a20:e1e:b0:da:b92c:a949 with SMTP id ej30-20020a056a200e1e00b000dab92ca949mr15882650pzb.36.1680083574285; Wed, 29 Mar 2023 02:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680083574; cv=none; d=google.com; s=arc-20160816; b=EvOiYLtKpBNN501Ye3hcFNaF4ZIWvutCMWKAqtvP96s3DgdV48hzsfMETqU7axwlk0 RdR9PsCAeQkfnxkqj0jSBq5CIsHu4fGBs2mXC0GkM7p5X5fn3DXKr5IPxkoZ7/XLCcAe Qj5newl+9RlWe0N36XHSa7kCG58t142rjvB7DumdA7T4mBzUnge4rl2g2pXO03iJ6Vt6 4KMz54DyhFHDTchS+/W7DMVIMY8hkdLA4efIGebOQ0oNhBzR8ecGEmT6LxL85RNLhd6/ 44T9fahqon4PWTanJ0UXCt3/MlS0Wt2lReQjfdJ9JCtYibCPVH2Ve+/UAs0euvF3wBwI mR3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=QP7I05xe70jVSB1QevUo3ItTmkkaasYyLn2NTliYSvU=; b=JPujU7cRrF7ab9zD75RthoGMV9SSTHBkRE8hC2Ls1viR1huYOrYDqBdeFPgPcj299M TAXknZtmHwO0MXysPyfcE8t1W36/KhdGBbDiEQkdsZCmdyD19JRmiwpoy2bEs6l7R3zL kSylLosrVSLKVCYw/nUx2rbi8QnHpPeShTKwfLqvgKud9broxgwQh/bYIEvmOpDQZ3Q/ NTXgG5aDsmJ1cK7TZQqKbjQLlDoh7lVyHWxEKaCY381ZgYO3Q7X8o4yzKf9gJRLEDqeG zAdtjkGRzvzACCUEH6YhIxd9xDB56zhJb9o+K2DE3YE3ZXS3AATlsn7BH4Nlx2fGOhvH LDUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=atzVxpI8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n18-20020a63f812000000b0050bd14260basi30466339pgh.239.2023.03.29.02.52.42; Wed, 29 Mar 2023 02:52:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=atzVxpI8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230401AbjC2Jwh (ORCPT + 99 others); Wed, 29 Mar 2023 05:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbjC2Jwg (ORCPT ); Wed, 29 Mar 2023 05:52:36 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01F3F130 for ; Wed, 29 Mar 2023 02:52:34 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id d17so14991656wrb.11 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=mwjnw04YM8fgH1MDmMq1GdiYJForqyK14+nSECY7X2DaZLebzyM+je2lnbhRZR/CXM ZKu3SegXUQC1BuUnEGJv60UqOAxaRZQed7vDrWU/+30oBEZdE039krV9HdLmyM0/4gz6 mwsFtC4bjHOZ3TlEnJh5ygmNuiCm92TdcX11/Y2GIvutIUlvhkADp4jtVw0dHNYJZQFK g/J4/ko0wEDeI+2MhywOUR3eqSMJZlmqh719pllopDlPgwAR0nK/ViMjRlt6r0pzkvRT ZBijEaQiDrqivqgwNSbZlYVoFJLPJHiQkNSFbJeN+nA20vl1iRIb81D94n+8MmV+9+lV B/lg== X-Gm-Message-State: AAQBX9cdmu1FWUurLDdXgduRMPOl1cirDn3w/9i1JG0hcj04rqOaqg8B sYqd4dS6r67JlcEZVDKaTUqd1w== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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, -- Alexandre Mergnat