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=-5.5 required=3.0 tests=MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 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 E454EC33C9E for ; Mon, 6 Jan 2020 21:57:26 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 B1F882080A for ; Mon, 6 Jan 2020 21:57:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1F882080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7613D22744; Mon, 6 Jan 2020 21:57:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zkC4eo4ul6ZZ; Mon, 6 Jan 2020 21:57:25 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 99443204C8; Mon, 6 Jan 2020 21:57:25 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7A3E8C1D84; Mon, 6 Jan 2020 21:57:25 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 785CDC0881 for ; Mon, 6 Jan 2020 21:57:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6636F22744 for ; Mon, 6 Jan 2020 21:57:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQSlQdCC8tjt for ; Mon, 6 Jan 2020 21:57:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) by silver.osuosl.org (Postfix) with ESMTPS id 942CD204E4 for ; Mon, 6 Jan 2020 21:57:22 +0000 (UTC) Received: by mail-oi1-f194.google.com with SMTP id p125so14771207oif.10 for ; Mon, 06 Jan 2020 13:57:22 -0800 (PST) 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:user-agent; bh=CGQuR1M/qYi2xyMJHlEfzvhIn09Q2tETaZrs1ID5PBc=; b=oi1yqs9uP+Nht6yPjTKk46an0lXYRuVmdWmRpkx6AYfsK6+bbujera46EbSfgG3nSW 8chOSpSTEdDLD9I+NTJlZeOjUyjMW6NMXcOiTZux7ksylCjxi9M2x737j4TkOPYtv7XP BPdhibFxgKh4fATRwJmbPsH5dHzD2aZmLWfO3XJi7URXnIoUKUk8lSAIfzHKUOeO/rfL FyD+G382tokwuTxjny1jARj1e2iCEV675pviFf43d7AP9DH8temeB7ae6XEtQ5EH0MeC VjqfWbB1yqfppoOhzedqj47fxKDk5co/SQgoknweBTXf0nfzEpqE8KJGA3wImDbhEyQ1 x8kg== X-Gm-Message-State: APjAAAW+7sPZ+tDUxUANMn8U0vEXXmzzNplvVUljD+M6PrWbtuViTk4l m1RUK/f3kZBWyz9lslCzU5VdrRg= X-Google-Smtp-Source: APXvYqyyWyaG8U3PiypD7qSHNuVmLE8x4HegqGVKklMekG+GYHSaMvJmCO0LsBrTMi1etocr0nGOhA== X-Received: by 2002:a05:6808:ab1:: with SMTP id r17mr5969659oij.141.1578347841257; Mon, 06 Jan 2020 13:57:21 -0800 (PST) Received: from rob-hp-laptop (ip-70-5-121-225.ftwttx.spcsdns.net. [70.5.121.225]) by smtp.gmail.com with ESMTPSA id d7sm18870815oic.46.2020.01.06.13.57.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 13:57:19 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 220d32 by rob-hp-laptop (DragonFly Mail Agent v0.11); Mon, 06 Jan 2020 15:57:16 -0600 Date: Mon, 6 Jan 2020 15:57:16 -0600 From: Rob Herring To: Chao Hao Subject: Re: [PATCH v2 01/19] dt-bindings: mediatek: Add bindings for MT6779 Message-ID: <20200106215716.GA31059@bogus> References: <20200105104523.31006-1-chao.hao@mediatek.com> <20200105104523.31006-2-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200105104523.31006-2-chao.hao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Anan Sun , devicetree@vger.kernel.org, Jun Yan , wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org, Chao Hao , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Matthias Brugger , Cui Zhang , linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Sun, 5 Jan 2020 18:45:05 +0800, Chao Hao wrote: > This patch adds description for MT6779 IOMMU. > > MT6779 has two iommus, they are MM_IOMMU and APU_IOMMU which > use ARM Short-Descriptor translation format. > > The MT6779 IOMMU hardware diagram is as below, it is only a brief > diagram about iommu, it don't focus on the part of smi_larb, so > I don't describe the smi_larb detailedly. > > EMI > | > -------------------------------------- > | | > MM_IOMMU APU_IOMMU > | | > SMI_COMMOM----------- APU_BUS > | | | > SMI_LARB(0~11) SMI_LARB12(FAKE) SMI_LARB13(FAKE) > | | | > | | -------------- > | | | | | > Multimedia engine CCU VPU MDLA EMDA > > All the connections are hardware fixed, software can not adjust it. > > >From the diagram above, MM_IOMMU provides mapping for multimedia engine, > but CCU is connected with smi_common directly, we can take them as larb12. > APU_IOMMU provides mapping for APU engine, we can take them larb13. > Larb12 and Larb13 are fake larbs. > > Signed-off-by: Chao Hao > --- > .../bindings/iommu/mediatek,iommu.txt | 2 + > include/dt-bindings/memory/mt6779-larb-port.h | 215 ++++++++++++++++++ > 2 files changed, 217 insertions(+) > create mode 100644 include/dt-bindings/memory/mt6779-larb-port.h > Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. If a tag was not added on purpose, please state why and what changed. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu