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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 A3907FC6196 for ; Wed, 6 Nov 2019 23:40:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74C51207FA for ; Wed, 6 Nov 2019 23:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573083630; bh=aWpquujQswob80glZ0nqffhkfBSbv/6/PkoNQ+HYCnI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=UAaE1aOPh9DtNoycSsjSISrFSbiy8tW5Y9NOcCyArmqWwhsRy7y3X9w1ZSBtXDkPx pZfc6AfSaJuc/Ho3+FmZfTM20V9RlHsTn166qxoBrVAz/lI5xzCynW+cCmDqcu0Pq6 ZIazzpOFsVQoCN/e67sXwVwTlkMTOzJADN7aFx4c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732834AbfKFXk3 (ORCPT ); Wed, 6 Nov 2019 18:40:29 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46950 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727316AbfKFXk3 (ORCPT ); Wed, 6 Nov 2019 18:40:29 -0500 Received: by mail-oi1-f193.google.com with SMTP id n14so275203oie.13; Wed, 06 Nov 2019 15:40:28 -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=F9+XxF3bme0TDxNV87CvWxfYp74g7+cBn1OYi++I3PY=; b=Me42EjJ69VCvkEPHBlga6AUg2dwgkqMLgU9yIIydr9Jt7EWAGYrx4dmtuJmhw66PWN hlYt59hwphwkidieyUC+IRU2xyC4uDrjKNkwDE1544wVaTEQrW3Pf+eOta3k/rmNi+y1 WWTdmMJERqCuaXi892Cd6SDDFpXhmZWIDRo93/zOEzOTm4ZbezSAuzZJMM452Hyr5g9d DLvjenouM/1Ftt2uCczyaGpbpzJCV7cyQE2cmi1l25Rcao7Y0U+HClfZpwXRVoZnw9w8 reLTaRQ5yqTaXazFU5dR+gA4y6QYXJiUs8rkDTSaQUNPld5ru56GYxMD12MfAo4anCgU Hbbg== X-Gm-Message-State: APjAAAUhyiyq5FhAEUWP+gZG12P9ZbYFynBv9xB1GysY375IItAG45Oy Qx4u7lSwEqbokZR4g7F7DQ== X-Google-Smtp-Source: APXvYqySo4f8qKaS3Uh1xjvS4bwqGL+HLtxodI5d2sqmKN62Uk9p/GW8ZMzcEf/idpRcKBR9Z7JIMA== X-Received: by 2002:a05:6808:3b1:: with SMTP id n17mr565821oie.50.1573083627798; Wed, 06 Nov 2019 15:40:27 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u4sm140222otb.35.2019.11.06.15.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 15:40:26 -0800 (PST) Date: Wed, 6 Nov 2019 17:40:20 -0600 From: Rob Herring To: Chao Hao Cc: Joerg Roedel , Matthias Brugger , iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com, Jun Yan , Cui Zhang , Guangming Cao , Yong Wu , Anan Sun , Miles Chen , Chao Hao Subject: Re: [RESEND,PATCH 01/13] dt-bindings: mediatek: Add bindings for MT6779 Message-ID: <20191106234020.GA19463@bogus> References: <20191104115238.2394-1-chao.hao@mediatek.com> <20191104115238.2394-2-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191104115238.2394-2-chao.hao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Nov 2019 19:52:26 +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 | 217 ++++++++++++++++++ > 2 files changed, 219 insertions(+) > create mode 100644 include/dt-bindings/memory/mt6779-larb-port.h > Reviewed-by: Rob Herring 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,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 288C1FC6194 for ; Wed, 6 Nov 2019 23:40:35 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (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 E7C9C207FA for ; Wed, 6 Nov 2019 23:40:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7C9C207FA 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 mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 99424CDD; Wed, 6 Nov 2019 23:40:34 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 25A49CC8 for ; Wed, 6 Nov 2019 23:40:33 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C01AA196 for ; Wed, 6 Nov 2019 23:40:28 +0000 (UTC) Received: by mail-oi1-f194.google.com with SMTP id v138so310639oif.6 for ; Wed, 06 Nov 2019 15:40:28 -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=F9+XxF3bme0TDxNV87CvWxfYp74g7+cBn1OYi++I3PY=; b=Zc1Sv/YKr7zvIFTXGsYuhKEKQxNIHwQAQ4INSsRCLxTxc0hxPqybpNgzXnUwG+2PZO d9zI9AMo6YsCff5bhhXPWX9gDn1IdHu9sap1Y4e6+7Wnj+kRX/qeMzjiomUoQXe0Z2Ll z8XdJVV+XvAY9q7PRufCYhsAu3gzdj9NpH9NghwmucSbvVouInwtd9ywWYHQ8+KwW0zA Qj7Qnv9MDoUQGVJ4wZctEKAgIKBEGnTAAA2uUQC/5UzRwW0RR3+PGohGXEYXHqv5Eq4C 9FCvYszGF5NtCHrGac5folIavHKBa3fK8UMJfNnk7y8Xa+wjx9Hp+nhEXs4h9tKQEFhK nD2Q== X-Gm-Message-State: APjAAAXrYyXPsQrM8gZXyV6jXFH/cpe0rqkUL94StyGCnQFiL4c4c1HW yi5gAI6cCzV5QIVSFsAMdg== X-Google-Smtp-Source: APXvYqySo4f8qKaS3Uh1xjvS4bwqGL+HLtxodI5d2sqmKN62Uk9p/GW8ZMzcEf/idpRcKBR9Z7JIMA== X-Received: by 2002:a05:6808:3b1:: with SMTP id n17mr565821oie.50.1573083627798; Wed, 06 Nov 2019 15:40:27 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u4sm140222otb.35.2019.11.06.15.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 15:40:26 -0800 (PST) Date: Wed, 6 Nov 2019 17:40:20 -0600 From: Rob Herring To: Chao Hao Subject: Re: [RESEND,PATCH 01/13] dt-bindings: mediatek: Add bindings for MT6779 Message-ID: <20191106234020.GA19463@bogus> References: <20191104115238.2394-1-chao.hao@mediatek.com> <20191104115238.2394-2-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191104115238.2394-2-chao.hao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Anan Sun , devicetree@vger.kernel.org, Cui Zhang , Jun Yan , wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org, Chao Hao , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Miles Chen , Matthias Brugger , linux-arm-kernel@lists.infradead.org, Guangming Cao X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 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 Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org On Mon, 4 Nov 2019 19:52:26 +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 | 217 ++++++++++++++++++ > 2 files changed, 219 insertions(+) > create mode 100644 include/dt-bindings/memory/mt6779-larb-port.h > Reviewed-by: Rob Herring _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, 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 ABC99FC6195 for ; Wed, 6 Nov 2019 23:40:38 +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 7C432207FA for ; Wed, 6 Nov 2019 23:40:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tOflw5gX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C432207FA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=8VFAtNlj5LHuaqQcSzDEAiY59pSXM9aKvjv3mqPjmlM=; b=tOflw5gXeLeN8F OqGDUgHsYGRaCZ2HhMp80gUWTI73UsGdlwXzM7irqS2+/Nf0aE8WMmOyaEeO7gCtMdjUIPK0zOzI+ arfgml6ctHe5igoFHk6A7JZSVu/77y8sgblPS6mVbq88N2JPdu+Z6tJN0Y5bDiZk3pWxkyCPexf3a OobId9HsZ1tXbarzOYw513zHNlPL+5XEliFnWQqIb/Gn05mE0ikK14mMNZTNt0VHnod53rlqeLXIK qhEtogxjncD0lzwce7dNCPigEZZAxpxdjM7BYaC4TxE8o0+rxQfWjSP/7ZSX5DaqT3PsYx3dvwEx1 R8JoV973ng7ckFjHUEcA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSUuj-0000OS-QE; Wed, 06 Nov 2019 23:40:37 +0000 Received: from mail-oi1-f196.google.com ([209.85.167.196]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSUub-0000Fg-9s; Wed, 06 Nov 2019 23:40:30 +0000 Received: by mail-oi1-f196.google.com with SMTP id k2so280076oij.12; Wed, 06 Nov 2019 15:40:28 -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=F9+XxF3bme0TDxNV87CvWxfYp74g7+cBn1OYi++I3PY=; b=PsGBEOiHhwYSTAH3VkRKVU+NcXEpbRH6grnMYuRuvaZGOIA8sg8iJbuEneDj54S8NS wuXdB9AwL/JUsRrQcIRWOzZ6mBgqiTmve1nuo7yw+f1vB8GlHiXHx7btCwRek+9fuajD R58KQKfeqshYUaWS2Gr6lM5E5TMpKKzapjsUZB1HauF081nScsgLB0KP0BPK5mtmgONI zLbsU0r7sjXDZSZ2XVPHlzGuYGSTnuGJys+j6Ps9/tfNrLV/6qU3HdZWQn1DCD+AdUq+ PlXNFeBm4c6wuohtoziYqlpnIO2TpwvOQ04V0KmNCaERNJ36rzzijAVCburSnHlKjssg erIA== X-Gm-Message-State: APjAAAXlhRcuBdI7iZP+5hHNeMr0U8HOec5pHFMzTmEnZZ3895oiu2C0 FeupZvXG9JBphVBW5eWJ+g== X-Google-Smtp-Source: APXvYqySo4f8qKaS3Uh1xjvS4bwqGL+HLtxodI5d2sqmKN62Uk9p/GW8ZMzcEf/idpRcKBR9Z7JIMA== X-Received: by 2002:a05:6808:3b1:: with SMTP id n17mr565821oie.50.1573083627798; Wed, 06 Nov 2019 15:40:27 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u4sm140222otb.35.2019.11.06.15.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 15:40:26 -0800 (PST) Date: Wed, 6 Nov 2019 17:40:20 -0600 From: Rob Herring To: Chao Hao Subject: Re: [RESEND,PATCH 01/13] dt-bindings: mediatek: Add bindings for MT6779 Message-ID: <20191106234020.GA19463@bogus> References: <20191104115238.2394-1-chao.hao@mediatek.com> <20191104115238.2394-2-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191104115238.2394-2-chao.hao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191106_154029_343511_E8604CE0 X-CRM114-Status: GOOD ( 13.92 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anan Sun , devicetree@vger.kernel.org, Cui Zhang , Jun Yan , wsd_upstream@mediatek.com, Joerg Roedel , linux-kernel@vger.kernel.org, Chao Hao , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Yong Wu , Miles Chen , Matthias Brugger , linux-arm-kernel@lists.infradead.org, Guangming Cao Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Mon, 4 Nov 2019 19:52:26 +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 | 217 ++++++++++++++++++ > 2 files changed, 219 insertions(+) > create mode 100644 include/dt-bindings/memory/mt6779-larb-port.h > Reviewed-by: Rob Herring _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, 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 A2221FC6195 for ; Wed, 6 Nov 2019 23:40:32 +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 73051207FA for ; Wed, 6 Nov 2019 23:40:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jZw9wHQb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73051207FA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=b1YSpcGw0kfhzUXureFPdJLHinNpIoMwMk5QdxRvn68=; b=jZw9wHQbbYPdPS JNQa1krvYvDsNOwB5ZvAJ4bA1pm2DyIQnzvWSuS1t9D3xODikfbdeOV27JG+GxKm32F7ACzaiRocK DJKxZgypyk4Im/1tpPpminuWxMTGfTSjXRNa10qm3YJnne8PZQqSIPhsxyUL/36Djmho0WeDE6ZPO ObNT4kRyQSmWJlPTY8aPfiaoZZGx/yQ/2qrnA54GSCJTDlFGc0XJ9yFyknqe0V3ecw//8qgIuVkG2 ibgAtIiCiai3Piozt9qB6Fmc3zbzgvr+gHShWnQ/9XUebOy8UIevobrVNjWZ9dwXM1R6sjuHbd60G Z+kLzutdhCSyc88zsmzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSUud-0000GS-Ui; Wed, 06 Nov 2019 23:40:31 +0000 Received: from mail-oi1-f196.google.com ([209.85.167.196]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSUub-0000Fg-9s; Wed, 06 Nov 2019 23:40:30 +0000 Received: by mail-oi1-f196.google.com with SMTP id k2so280076oij.12; Wed, 06 Nov 2019 15:40:28 -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=F9+XxF3bme0TDxNV87CvWxfYp74g7+cBn1OYi++I3PY=; b=PsGBEOiHhwYSTAH3VkRKVU+NcXEpbRH6grnMYuRuvaZGOIA8sg8iJbuEneDj54S8NS wuXdB9AwL/JUsRrQcIRWOzZ6mBgqiTmve1nuo7yw+f1vB8GlHiXHx7btCwRek+9fuajD R58KQKfeqshYUaWS2Gr6lM5E5TMpKKzapjsUZB1HauF081nScsgLB0KP0BPK5mtmgONI zLbsU0r7sjXDZSZ2XVPHlzGuYGSTnuGJys+j6Ps9/tfNrLV/6qU3HdZWQn1DCD+AdUq+ PlXNFeBm4c6wuohtoziYqlpnIO2TpwvOQ04V0KmNCaERNJ36rzzijAVCburSnHlKjssg erIA== X-Gm-Message-State: APjAAAXlhRcuBdI7iZP+5hHNeMr0U8HOec5pHFMzTmEnZZ3895oiu2C0 FeupZvXG9JBphVBW5eWJ+g== X-Google-Smtp-Source: APXvYqySo4f8qKaS3Uh1xjvS4bwqGL+HLtxodI5d2sqmKN62Uk9p/GW8ZMzcEf/idpRcKBR9Z7JIMA== X-Received: by 2002:a05:6808:3b1:: with SMTP id n17mr565821oie.50.1573083627798; Wed, 06 Nov 2019 15:40:27 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u4sm140222otb.35.2019.11.06.15.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 15:40:26 -0800 (PST) Date: Wed, 6 Nov 2019 17:40:20 -0600 From: Rob Herring To: Chao Hao Subject: Re: [RESEND,PATCH 01/13] dt-bindings: mediatek: Add bindings for MT6779 Message-ID: <20191106234020.GA19463@bogus> References: <20191104115238.2394-1-chao.hao@mediatek.com> <20191104115238.2394-2-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191104115238.2394-2-chao.hao@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191106_154029_343511_E8604CE0 X-CRM114-Status: GOOD ( 13.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anan Sun , devicetree@vger.kernel.org, Cui Zhang , Jun Yan , wsd_upstream@mediatek.com, Joerg Roedel , linux-kernel@vger.kernel.org, Chao Hao , iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Yong Wu , Miles Chen , Matthias Brugger , linux-arm-kernel@lists.infradead.org, Guangming Cao Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 4 Nov 2019 19:52:26 +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 | 217 ++++++++++++++++++ > 2 files changed, 219 insertions(+) > create mode 100644 include/dt-bindings/memory/mt6779-larb-port.h > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel