Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1144334oof; Tue, 25 Sep 2018 08:49:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV613DvJNi2yO7fRr57kOGDA3pXuaTVo7U1FWgBgAyMWaH1Oy43koR8jW2Y+oRn2sB2LOPI7A X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr1836117plp.14.1537890581770; Tue, 25 Sep 2018 08:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537890581; cv=none; d=google.com; s=arc-20160816; b=sDbYOMtaQS7jg+865b9YxycM2W9R5Q2wlPEnDQCtiFkiHMnQKwMPDcfbjp5RIfhFQt 3Xe1KYJJRZ9yjf+/h7n3yiVf9RLJgl+3peayyCrSJWJXHuT9+o6KTP24XjXa88wKDG74 46uNsykiH9tZVPv9UP6U1rKU+wveOSbXCEXt9cfZqZDNjhHrWOnbJdw1Sl3VdCI7n/TJ 62/f1g4PK9n6E6b7Axb1ohr+bQ9FiYEIpRqAaJOQzLP8QOx5NbXBHheGzhOiWJT9DShx 1aPEbMEm0hPvu5CN4S3/lWbaKG/yFUqzpaArr1a9s6e9q9y9WLWXl6JYi/ZcgQB8YJin wiBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=DazXR1Y+IANIXdg1k4I6OUDyeRgvWTafVUJGpdKnTdM=; b=wPJf+UbFxxEV/ZmuKRBS/G/GcDB4/EL/j5SnsyXtUyUOP47fEqXfoPt9izujXssT6n qgaaw0IaqCO8lsmTqWUaJQ//idZ7U1yJpn47AxNRtLpl2SgGPKSnIteQu+WbTRJG6an/ IE37nltWgUllKIJpMf2MTipHCkYcOG9UteKoAspX5bfsu2ZYBRFSpttzvpgxLXFRgPta raVqN+lf3WqfdNKOS8Lm5/iKhq3HYLdvqL12ymnsYOzSCz4h49MsMqlV6Z/S+EJqLZfM V0J3vacUKkjtM12ldmrcEJ+BD9MJr0/7SSnSlX1ArKW9OD0m82OiCFwa0OSfaJGqnSEa OGAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EJlxS+Id; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 29-v6si2629225pgv.292.2018.09.25.08.49.26; Tue, 25 Sep 2018 08:49:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EJlxS+Id; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729846AbeIYVzV (ORCPT + 99 others); Tue, 25 Sep 2018 17:55:21 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:43694 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729438AbeIYVzV (ORCPT ); Tue, 25 Sep 2018 17:55:21 -0400 Received: by mail-pg1-f195.google.com with SMTP id q19-v6so10986892pgn.10; Tue, 25 Sep 2018 08:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DazXR1Y+IANIXdg1k4I6OUDyeRgvWTafVUJGpdKnTdM=; b=EJlxS+IdNdFSyISBPCyxnHHxJh1E++W+NARnk61kKWoeLkc1CXT4CJrupYQr6Mttok jnxdgL7Bb2CF6XT+sftEXeGBNudSGYdUFodxzQhWmLHrdD/xFAPuSUm9fBTzEg89hWBl OIqcm31CmU3K4icWuwwpk0GBbHUOdOjlp5s1m4Xv/nV3fQ/AjI4qZ8my/gze/B7n50ED 1pGJoyRg9vdQBaRX9SNzvV0vf2S0OH4O+e4PSydWgLkjOVGlSg9jFJw01oBfd02QsRc0 KX8uVBczVExa99U5HWXf1dQo14B66IyJ5O6FY2te7ZPYfjYXqUq7YcD+LbMEY9kJ0+LL NBJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=DazXR1Y+IANIXdg1k4I6OUDyeRgvWTafVUJGpdKnTdM=; b=CHltVZXNvAPMxT9FJ8jH63NadgkCmvYUyS8fY7btoNn/CkAaK5XA8iORV4rKGVhxGT B+tf6VuGVx/3fdI+xOO2DhV3UJ28GBMCwlupXWGR2h9W/2NZCMi3LQgLIbm4QGERklTh U9MK6oHPFD0CQHSw4HmKdmAlMNyc67q0bGzXF79LgdtznyTW2KkLZDB03TZOleAuskhJ fdHNNRNlc9cI3TzBeoPcvcqNgeSjkYorxf5OuxxWoFTwqTNQGOAQhZr6EMzv6D2n42Yi 16wwKuyoOfr+nWZJG9Eg5d5XRZdzyUiKBcDx+imtAsRGTmUQtYkIe7E5lDGIYWRSqjhi L7UA== X-Gm-Message-State: ABuFfoj7HREEMGgzkF3Avs9eWMe1d8Q8Nsqe4SmP9N5SMxZwtPd86xno TX1mGOxAkeugWUqJJm2GPUvbXok4 X-Received: by 2002:a17:902:7b96:: with SMTP id w22-v6mr1841479pll.24.1537890434177; Tue, 25 Sep 2018 08:47:14 -0700 (PDT) Received: from ziggy.stardust ([37.223.146.97]) by smtp.gmail.com with ESMTPSA id w2-v6sm3208097pgb.61.2018.09.25.08.47.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 08:47:13 -0700 (PDT) Subject: Re: [PATCH 3/5] arm: dts: mt7623: add iommu/smi device nodes To: Ryder Lee Cc: Sean Wang , Roy Luo , Weijie Gao , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <84011aa94dd7be9239b7a2f944dd30fc70568fbb.1536141302.git.ryder.lee@mediatek.com> <2d9d216adb779bac6f5515b39cfeaed8b4b61878.1536141302.git.ryder.lee@mediatek.com> From: Matthias Brugger Openpgp: preference=signencrypt Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEM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C5H62G059cCPAXKgsFpNMKmBAWweBkVJAisoQeX 50OP+/11ArV0cv+fOTfJj0/KwFXJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGf XM8DY1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp 3mlIFZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHc UXI+r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: Date: Tue, 25 Sep 2018 17:47:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <2d9d216adb779bac6f5515b39cfeaed8b4b61878.1536141302.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/09/2018 12:22, Ryder Lee wrote: > Add iommu/smi device nodes for MT7623. > > Signed-off-by: Ryder Lee Applied to v4.19-next/dts32 > --- > arch/arm/boot/dts/mt7623.dtsi | 59 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 59 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi > index b7ccf8b..a46987b 100644 > --- a/arch/arm/boot/dts/mt7623.dtsi > +++ b/arch/arm/boot/dts/mt7623.dtsi > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > #include > #include > > @@ -286,6 +287,17 @@ > clock-names = "system-clk", "rtc-clk"; > }; > > + smi_common: smi@1000c000 { > + compatible = "mediatek,mt7623-smi-common", > + "mediatek,mt2701-smi-common"; > + reg = <0 0x1000c000 0 0x1000>; > + clocks = <&infracfg CLK_INFRA_SMI>, > + <&mmsys CLK_MM_SMI_COMMON>, > + <&infracfg CLK_INFRA_SMI>; > + clock-names = "apb", "smi", "async"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; > + }; > + > pwrap: pwrap@1000d000 { > compatible = "mediatek,mt7623-pwrap", > "mediatek,mt2701-pwrap"; > @@ -317,6 +329,17 @@ > reg = <0 0x10200100 0 0x1c>; > }; > > + iommu: mmsys_iommu@10205000 { > + compatible = "mediatek,mt7623-m4u", > + "mediatek,mt2701-m4u"; > + reg = <0 0x10205000 0 0x1000>; > + interrupts = ; > + clocks = <&infracfg CLK_INFRA_M4U>; > + clock-names = "bclk"; > + mediatek,larbs = <&larb0 &larb1 &larb2>; > + #iommu-cells = <1>; > + }; > + > efuse: efuse@10206000 { > compatible = "mediatek,mt7623-efuse", > "mediatek,mt8173-efuse"; > @@ -709,6 +732,18 @@ > #clock-cells = <1>; > }; > > + larb0: larb@14010000 { > + compatible = "mediatek,mt7623-smi-larb", > + "mediatek,mt2701-smi-larb"; > + reg = <0 0x14010000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larb-id = <0>; > + clocks = <&mmsys CLK_MM_SMI_LARB0>, > + <&mmsys CLK_MM_SMI_LARB0>; > + clock-names = "apb", "smi"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>; > + }; > + > imgsys: syscon@15000000 { > compatible = "mediatek,mt7623-imgsys", > "mediatek,mt2701-imgsys", > @@ -717,6 +752,18 @@ > #clock-cells = <1>; > }; > > + larb2: larb@15001000 { > + compatible = "mediatek,mt7623-smi-larb", > + "mediatek,mt2701-smi-larb"; > + reg = <0 0x15001000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larb-id = <2>; > + clocks = <&imgsys CLK_IMG_SMI_COMM>, > + <&imgsys CLK_IMG_SMI_COMM>; > + clock-names = "apb", "smi"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; > + }; > + > vdecsys: syscon@16000000 { > compatible = "mediatek,mt7623-vdecsys", > "mediatek,mt2701-vdecsys", > @@ -725,6 +772,18 @@ > #clock-cells = <1>; > }; > > + larb1: larb@16010000 { > + compatible = "mediatek,mt7623-smi-larb", > + "mediatek,mt2701-smi-larb"; > + reg = <0 0x16010000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larb-id = <1>; > + clocks = <&vdecsys CLK_VDEC_CKGEN>, > + <&vdecsys CLK_VDEC_LARB>; > + clock-names = "apb", "smi"; > + power-domains = <&scpsys MT2701_POWER_DOMAIN_VDEC>; > + }; > + > hifsys: syscon@1a000000 { > compatible = "mediatek,mt7623-hifsys", > "mediatek,mt2701-hifsys", >