From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40E99C4338F for ; Tue, 17 Aug 2021 21:46:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0530560F11 for ; Tue, 17 Aug 2021 21:46:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0530560F11 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7hkQsIexuGBBelMGgtJCn7POpCs8ZrJrc1NaF51ZOxY=; b=N5MT3OnUFvMPw6 Jbff+cGfLXUUG8GUPj103EttEceL9/DnS62KaXqa2UwhmOEApnBFbm+yJnt113KejNTWokqx4ATYd 2TfH6FUo852SIfcrSEVUfoaNrhAKb1S5+C2FAaUcS/jwgWxqaBXMKFqpJ/V+OsYhArR0bow94JV9x QPVqcBmvy7p4MrsF6u+524tHLlvyRjwwlkz66A7WFX8fTEfcKGABECXaziWb+1clPYSrPfPB1iCSo jYylq8IwDOd9CvavmdjTumuPjwboK9wqtCUxPNwefOScCWtHnVt1Rl2eSfXf+ccCSFZMapknC/57b cljsRagzC24lr3I/VvLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mG6tH-003Zqb-Mn; Tue, 17 Aug 2021 21:44:59 +0000 Received: from mail-oo1-f42.google.com ([209.85.161.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mG6tE-003Zpt-BP; Tue, 17 Aug 2021 21:44:57 +0000 Received: by mail-oo1-f42.google.com with SMTP id w2-20020a4a9e420000b02902859adadf0fso88819ook.1; Tue, 17 Aug 2021 14:44:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=tJbXJaO1S8CDBHolXnG0pNdqRsTOC5L9HS9uoBlFyko=; b=gEBHQ59yZ3kqZS4Y4+15qyxA96Hn4Ho9ooG9I4BJoD6t6cQgWib5LB2fYNWGeoOF6m SDAfIdk0C9oZiuBFbOrbKuY4FLtOu+g0LjTrhgdhjzCpxqhOiYZxGbFMFyUQ384EqsFr Xiekz4eBH7IuPlQBr2l6bGrgRpCOmEGs5JqHL6ajslFuRMZvziccvW8UDL38T6sZI/79 44CXTkWX9R5UmJPXIlLKopRrOcGZUvjHNg1MPTJnVXC2F74jrZebY8lsi6cVgrVHTeAx JRYPaG5B7/APdD6X06IYY3093OJTDK+YQkTCDs7eAd+kDAgfWJvulGG1Qb8Vr5lBPSk8 k5eA== X-Gm-Message-State: AOAM532nMtc2YJIOwDNm/rV2W9XenefYGtucbUVQVdDqvFzPtVFWJq5w 35+Dn3bN46NFk9gA3bo9uw== X-Google-Smtp-Source: ABdhPJwR5dd5wQ/YDvk31PYwnhKCj+LV9fYj+okbAgVw5jhjaeHzx9gGBJxGwPQRMUTxP3PjUVi0XQ== X-Received: by 2002:a05:6820:61b:: with SMTP id e27mr4117053oow.68.1629236695061; Tue, 17 Aug 2021 14:44:55 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k16sm668797oor.16.2021.08.17.14.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 14:44:54 -0700 (PDT) Received: (nullmailer pid 894487 invoked by uid 1000); Tue, 17 Aug 2021 21:44:53 -0000 Date: Tue, 17 Aug 2021 16:44:53 -0500 From: Rob Herring To: Yong Wu Cc: anan.sun@mediatek.com, Matthias Brugger , Nicolas Boichat , linux-arm-kernel@lists.infradead.org, chao.hao@mediatek.com, Krzysztof Kozlowski , Evan Green , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, youlin.pei@mediatek.com, srv_heupstream@mediatek.com, Rob Herring , Robin Murphy , devicetree@vger.kernel.org, Will Deacon , linux-mediatek@lists.infradead.org, Joerg Roedel , Tomasz Figa , Tomasz Figa Subject: Re: [PATCH v2 02/29] dt-bindings: mediatek: mt8195: Add binding for infra IOMMU Message-ID: References: <20210813065324.29220-1-yong.wu@mediatek.com> <20210813065324.29220-3-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210813065324.29220-3-yong.wu@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210817_144456_434641_E0436BE8 X-CRM114-Status: GOOD ( 16.65 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 13 Aug 2021 14:52:57 +0800, Yong Wu wrote: > In mt8195, we have a new IOMMU that is for INFRA IOMMU. its masters > mainly are PCIe and USB. Different with MM IOMMU, all these masters > connect with IOMMU directly, there is no mediatek,larbs property for > infra IOMMU. > > Another thing is about PCIe ports. currently the function > "of_iommu_configure_dev_id" only support the id number is 1, But our > PCIe have two ports, one is for reading and the other is for writing. > see more about the PCIe patch in this patchset. Thus, I only list > the reading id here and add the other id in our driver. > > Signed-off-by: Yong Wu > Acked-by: Krzysztof Kozlowski > --- > Change note: use "contains" commented from Rob. > --- > .../bindings/iommu/mediatek,iommu.yaml | 13 ++++++++++++- > .../dt-bindings/memory/mt8195-memory-port.h | 18 ++++++++++++++++++ > include/dt-bindings/memory/mtk-memory-port.h | 2 ++ > 3 files changed, 32 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel