Message ID | 20230207-iommu-support-v1-1-4a902f9aa412@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp295497vqo; Wed, 29 Mar 2023 03:03:57 -0700 (PDT) X-Google-Smtp-Source: AKy350bH3RmDDTQJN44p4eoedRgw5GV4hV2Wz+CKtRrSppkOqd2yBMAkqP91NpN6wiPdgFXoSJMI X-Received: by 2002:a17:90a:18e:b0:23b:2c51:6e7 with SMTP id 14-20020a17090a018e00b0023b2c5106e7mr19836140pjc.21.1680084237097; Wed, 29 Mar 2023 03:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680084237; cv=none; d=google.com; s=arc-20160816; b=pawdn6SuleC7gi0DJGLwFzpUHbdsu7k5y+Cc+h/s7ktXCnXKQJX4gl7JTpe4iSCN49 zoLoHX0e0CDlxRIumG6zmEb2q5byVURMctoMj/F/tPtT7SCA7w0Nx9fDPS9r3JvjFjT7 hR/Ro9JLHkrNu0YMFjhEVYlOMCSS/QpTKKfVeLLq4NgNmfo//liVy+g/rcZ398Q9aTex NZQWAtAO7FNliOB+yoBzJFeupYCQlD7twvPybSIFdwv60g/PEHSDYYmaFaBh7FRMuNv+ Tt11Nx1T5RjROofDSjiwCG+2EitlznzbLVzOMCz/yshNW9xrSmO32EzRv0Jmz3pJBUCO FzIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=lRWy59m9AcnRjc2fmHsxRpHlVgHZhVLnEx85hZ46BJw=; b=zORmKWmCMWnaqIN/h7M4vvSozpZrNEcHuoDf+PMuhutc7YF2BzfGH0okGQo/xyTUK8 X6I4TKgIvg/pPtX+O0jQTuFAkN5gTIr66CqvwXhJ5BlrGRexcXAefZZuFfdyDFMk2elL 7G2SipnYOSwFAv2lHEbYapTHKqATA3qYv4mE/+cEFzA4At1n6nv0NcII09jbh41mORu/ myBOFeCQyefA7Wi/geimphLPpl/1K8wblo/Gt5JeXa4MTooD38EBNIhEhZlO5cv/IiY0 iQ4T9oWSIv9bP2CcDTgFuOQo3Kynr81sogFCEQkGQ6Qg4imcts5+5bNZ4yvt7Fna4ZfL fLPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=HGsZcS3n; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kd4-20020a17090313c400b001a1c562e6a4si25118356plb.582.2023.03.29.03.03.44; Wed, 29 Mar 2023 03:03:57 -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=HGsZcS3n; 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 S231300AbjC2Jwn (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Wed, 29 Mar 2023 05:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231142AbjC2Jwg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Mar 2023 05:52:36 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D647F2D57 for <linux-kernel@vger.kernel.org>; Wed, 29 Mar 2023 02:52:34 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id d17so14991690wrb.11 for <linux-kernel@vger.kernel.org>; Wed, 29 Mar 2023 02:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680083553; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=lRWy59m9AcnRjc2fmHsxRpHlVgHZhVLnEx85hZ46BJw=; b=HGsZcS3nbA0Q7VTarfFbDHUm3xAerDi9I5AK/zBHDyjPM1VZSCpsS2OHluTIknkQKc ZXX7P5O7JjlIZA0RDfKKT4ij4yziAhuxfAB73x9+yjznWX+iD4tmWNSpghKrxTgL+9y4 45Zz92JHQgjA9WC8DCDYSkhhBkGKV8P+UbJ+T7S7rfZayxtS7CCZx8PC50pQHwWB01j2 K9VJbuyqqtkhCGYmkFRI+UzdnZ1KDIryBrwSw9+I2wjrF5ydUqbnue6SbEhm2K/1Mmfi dv/CcCABRFtr+ZVbVP2cXEHtNoDF0B1OVI+1X0Ml7pThYTD8ApgrPpCbB3a02tsqb7Tc brng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680083553; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lRWy59m9AcnRjc2fmHsxRpHlVgHZhVLnEx85hZ46BJw=; b=pfAWd9L9Tm5sm5EEUT2WvLudmzrhTbl99PA329SPal38qE+0yC3zQ2ygveM8R1cKLC Yqo7NWiA3HcH5tIDnkJeaKSt9Rdp3A3D62aI6IuzxoBlEt5+khGa12im+4U2Dk6zxjiZ cn9/y5RA05OWdt5MmdCLS3Tn3HdjFLr16TjLt4ydPHnK5/wwR92IqByKiugwRA7Ap2rn Am+rlT6dUGjf/XKqBnqob406R77Apt4AUX7uzdW6uDMI73eLe4XmQrLJc6p4Zpc2NqRM UZI7JBc+VQlwkTEjcT4ShTSsFGkJBPND9/+dmJDsMCvaTUnqSmXRLdr8dwwdgvkGgagE zV0w== X-Gm-Message-State: AAQBX9eDsyMMmc2fWiPGQAU9FpCfFIcO0jPPtmx+gRr2dClXT5jSBVUE rjWKRhYn70dA0DEyRajBY3laCk8s11oIdI3H8kE= X-Received: by 2002:adf:ef91:0:b0:2ce:a697:75c7 with SMTP id d17-20020adfef91000000b002cea69775c7mr15074416wro.33.1680083553394; Wed, 29 Mar 2023 02:52:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:52:33 -0700 (PDT) From: Alexandre Mergnat <amergnat@baylibre.com> Date: Wed, 29 Mar 2023 11:52:20 +0200 Subject: [PATCH RESEND 1/6] dt-bindings: memory-controllers: mediatek,smi-common: add mt8365 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230207-iommu-support-v1-1-4a902f9aa412@baylibre.com> References: <20230207-iommu-support-v1-0-4a902f9aa412@baylibre.com> In-Reply-To: <20230207-iommu-support-v1-0-4a902f9aa412@baylibre.com> To: Yong Wu <yong.wu@mediatek.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Mergnat <amergnat@baylibre.com> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=913; i=amergnat@baylibre.com; h=from:subject:message-id; bh=2lmQpBSfKmkj53baZh+RDOWdyXIwY8mMHHkJ6yWng4A=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkJApf/J4/8wpCXgD5rDw3NQgdD8grhM9Af9YbqxIy yEBp/raJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZCQKXwAKCRArRkmdfjHURVC8EA CI4QEuomNhbASJLZdi5d/r5EegnsYbWHR8rkXNntq59Qwx/6Twleypy6HYlGUsG3WBFPio9aLGR8d5 qMIChp6WqHEhdHWALqAILvjPM1Zi9FsvlEJCrzbqrkVcOE8L1MGpWwnGGJ8nV9fh6gGLJYdMzKFVOR bL0I6eaA54G3qtVqefcr7FnZHypqktPUkbw6F5e5u7a+zFne1k7SF+wJ9Ytu32qTcld4lpZ0OBxOdj EFVrFNQOLNsnIXT0b/ZsHtZVdyYDMJwLJBuHKvIoc/75hZEZN1i4fRSolP5KUCbsk66cvYUD5V4t/+ i9GwcjvDR/LCi31daJLpX9watDEQuK22QfgOfh0X8lXekA2GL8FX5DAalJK0ArIXp+Vs9lQ8UNpLmJ 8fQdTiUKkK0lf+d4a8zlzIGn0iHT881mGYd/TyWbddIxGIrEezUsZ5Dy3j39OGvR7DWllONgmfeR7H 9QCIFZTfye7OXr8EmL8oZOkO9/cQC3lFpKdsH8zQ0bsPYjBvFyZFXL+5dSe4leNcc7QzlTMrHVOaYW CqN0xEsw2eY7vXsrNnCsp59zKI+o6g8vS1AXJAoYGnp1EvMiICLb8e8qp/zCKqla1PFG3Y1aWckrOU H7rUOpBDVsekJIG7DwOhuxiWb83tJQGD4iuhirFOwx9UnTpyEcW58f/amJkA== 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761696009201380464?= X-GMAIL-MSGID: =?utf-8?q?1761696009201380464?= |
Series |
Add IOMMU support to MT8365 SoC
|
|
Commit Message
Alexandre Mergnat
March 29, 2023, 9:52 a.m. UTC
Add binding description for mediatek,mt8365-smi-common
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
.../devicetree/bindings/memory-controllers/mediatek,smi-common.yaml | 4 ++++
1 file changed, 4 insertions(+)
Comments
On 3/29/23 11:52, Alexandre Mergnat wrote: > Add binding description for mediatek,mt8365-smi-common > > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> > --- > .../devicetree/bindings/memory-controllers/mediatek,smi-common.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml > index a8fda30cccbb..d599a190952f 100644 > --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml > +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml > @@ -49,6 +49,10 @@ properties: > - const: mediatek,mt7623-smi-common > - const: mediatek,mt2701-smi-common > > + - items: > + - const: mediatek,mt8365-smi-common > + - const: mediatek,mt8186-smi-common > + > reg: > maxItems: 1 > >
On Wed, 2023-03-29 at 11:52 +0200, Alexandre Mergnat wrote: > > Add binding description for mediatek,mt8365-smi-common > > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > --- > .../devicetree/bindings/memory-controllers/mediatek,smi- > common.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/memory- > controllers/mediatek,smi-common.yaml > b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi- > common.yaml > index a8fda30cccbb..d599a190952f 100644 > --- a/Documentation/devicetree/bindings/memory- > controllers/mediatek,smi-common.yaml > +++ b/Documentation/devicetree/bindings/memory- > controllers/mediatek,smi-common.yaml > @@ -49,6 +49,10 @@ properties: > - const: mediatek,mt7623-smi-common > - const: mediatek,mt2701-smi-common > > + - items: > + - const: mediatek,mt8365-smi-common > + - const: mediatek,mt8186-smi-common > + mt8365 is not same with mt8186. From the code, the bus_sel for mt8186 is: .bus_sel = F_MMU1_LARB(1) | F_MMU1_LARB(4) | F_MMU1_LARB(7), the bus_sel for mt8365 is: .bus_sel = F_MMU1_LARB(2) | F_MMU1_LARB(4), I guess we should add a independent "mediatek,mt8365-smi-common". > reg: > maxItems: 1 > > > -- > 2.25.1 >
diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml index a8fda30cccbb..d599a190952f 100644 --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml @@ -49,6 +49,10 @@ properties: - const: mediatek,mt7623-smi-common - const: mediatek,mt2701-smi-common + - items: + - const: mediatek,mt8365-smi-common + - const: mediatek,mt8186-smi-common + reg: maxItems: 1