Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558454

Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node
Date Fri, 13 Jan 2017 16:10:02 +0100
Message-ID <sZbEm-2pl-17@gated-at.bofh.it> (permalink)
References <sZ5Sh-79g-9@gated-at.bofh.it> <sZ5Si-79g-31@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=yLcjaoI/Q1cvhcmkAA0/Acl+nEPMRRwm4+y6xtVN6c0=; b=HvkanCVdchX+ISl10e2I6Y1jpaFne9sM1nSOKXuQ7AmiF080h355jph8PAfSYgUJwC QoX5D+yXP6jNVGHEkeSpFAzdnm3am/d8Tbs2gU0k028Srqaq3nYs5HoRYea46GfYxTgm +1mCBDbHjCAU0vYRspPpwlNmePOGBp0iLPua+1HxVBxTx0xoZL9ORtwYM1WZFmvq7706 X7Kpkz/lsd1zyZ/mHsxNplhRncmyv9Mlcb13LftTn46pLp7OVqdn1WFoD+6mGmuLZMnj G3xAkMxWw4h57HJtGo/UC867aG6Y4z+jLgb0xxDPN+KACqXjnGTXdHYQWQJovbh+DMwj 5pJQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=yLcjaoI/Q1cvhcmkAA0/Acl+nEPMRRwm4+y6xtVN6c0=; b=XrEqGuRciqAeyroCD5ZhKvi8DNu1TGIt0jMXaa3wU5dcT/B1ZtKZtbxr4eKY9N6KtG VZd/ycZ93cNmp41W5xESbfWFufG8UTv5ss/xey8Z9uPmF5jRNzEndIJMQqwxvcO2hqF+ 6X7UmVVOWTtSpqJp062Ayb7K/s6E6bW7WF1kT6Qhv6CiW9g4fmB05t0+OeFNj4CokztF eGwtoAp/C0r0RQr+MgPjmgfHsDjOtYg7IopfpaT7Rlh3gkLgTTf+fmgsVCLAffefrC88 gJXbC7iCcgb0P2TQ3iHomw+tn6y64QhXx+pklZY0S3XRYwIp5SDB7xqcJOYMK92ou4a5 Rk0Q==
X-Gm-Message-State AIkVDXIKt1HOK1vi8DHLhkMwcFW0TgL0YqFdKdoObecIcY28O6wUn5RvbYS/bupkG6CQuA==
X-Received by 10.25.157.146 with SMTP id g140mr7928255lfe.123.1484319903757; Fri, 13 Jan 2017 07:05:03 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 121
Organization linux.* mail to news gateway
X-Original-Cc srv_heupstream@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Honghui Zhang <honghui.zhang@mediatek.com>
X-Original-Date Fri, 13 Jan 2017 16:05:01 +0100
X-Original-Message-ID <02062506-f917-0140-4934-31d7d3317b80@gmail.com>
X-Original-References <1484296978-18572-1-git-send-email-erin.lo@mediatek.com> <1484296978-18572-3-git-send-email-erin.lo@mediatek.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1558454

Show key headers only | View raw


Hi Erin,

I just took the patch from Honghui he send in june.
Please see my comment inline.

On 13/01/17 09:42, Erin Lo wrote:
> From: Honghui Zhang <honghui.zhang@mediatek.com>
>
> Add the device node of iommu and smi for MT2701.
>
> Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
> Signed-off-by: Erin Lo <erin.lo@mediatek.com>
> ---
>  arch/arm/boot/dts/mt2701.dtsi | 54 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 54 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index eb4c6fd..87be52c 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -17,6 +17,7 @@
>  #include <dt-bindings/interrupt-controller/irq.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/reset/mt2701-resets.h>
> +#include <dt-bindings/memory/mt2701-larb-port.h>
>  #include "skeleton64.dtsi"
>  #include "mt2701-pinfunc.h"
>
> @@ -161,6 +162,16 @@
>  		clock-names = "system-clk", "rtc-clk";
>  	};
>
> +	smi_common: smi@1000c000 {
> +		compatible = "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>;
> +	};
> +
>  	sysirq: interrupt-controller@10200100 {
>  		compatible = "mediatek,mt2701-sysirq",
>  			     "mediatek,mt6577-sysirq";
> @@ -170,6 +181,16 @@
>  		reg = <0 0x10200100 0 0x1c>;
>  	};
>
> +	iommu: mmsys_iommu@10205000 {
> +		compatible = "mediatek,mt2701-m4u";
> +		reg = <0 0x10205000 0 0x1000>;
> +		interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_LOW>;
> +		clocks = <&infracfg CLK_INFRA_M4U>;
> +		clock-names = "bclk";
> +		mediatek,larbs = <&larb0 &larb1 &larb2>;
> +		#iommu-cells = <1>;
> +	};
> +
>  	apmixedsys: syscon@10209000 {
>  		compatible = "mediatek,mt2701-apmixedsys", "syscon";
>  		reg = <0 0x10209000 0 0x1000>;
> @@ -272,18 +293,51 @@
>  		#clock-cells = <1>;
>  	};
>
> +	larb0: larb@14010000 {
> +		compatible = "mediatek,mt2701-smi-larb";
> +		reg = <0 0x14010000 0 0x1000>;
> +		mediatek,smi = <&smi_common>;
> +		mediatek,larbidx = <0>;

Did I miss something? 'mediatek,larbidx' does not sound familiar to me.

Regards,
Matthias

> +		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,mt2701-imgsys", "syscon";
>  		reg = <0 0x15000000 0 0x1000>;
>  		#clock-cells = <1>;
>  	};
>
> +	larb2: larb@15001000 {
> +		compatible = "mediatek,mt2701-smi-larb";
> +		reg = <0 0x15001000 0 0x1000>;
> +		mediatek,smi = <&smi_common>;
> +		mediatek,larbidx = <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,mt2701-vdecsys", "syscon";
>  		reg = <0 0x16000000 0 0x1000>;
>  		#clock-cells = <1>;
>  	};
>
> +	larb1: larb@16010000 {
> +		compatible = "mediatek,mt2701-smi-larb";
> +		reg = <0 0x16010000 0 0x1000>;
> +		mediatek,smi = <&smi_common>;
> +		mediatek,larbidx = <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,mt2701-hifsys", "syscon";
>  		reg = <0 0x1a000000 0 0x1000>;
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/6] Add some DT nodes for Mediatek MT2701  Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
  [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
      Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Dawei Chien <dawei.chien@mediatek.com> - 2017-01-16 04:50 +0100
        Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node. Dawei Chien <dawei.chien@mediatek.com> - 2017-01-16 04:50 +0100
  [PATCH v2 1/6] arm: dts: mt2701: Add spi device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 1/6] arm: dts: mt2701: Add spi device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
  [PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node. Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
  [PATCH v2 3/6] arm: dts: mt2701: Add nand device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 3/6] arm: dts: mt2701: Add nand device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:30 +0100
  [PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. John Crispin <john@phrozen.org> - 2017-01-14 11:40 +0100
      Re: [PATCH v2 5/6] arm: dts: mt2701: Add ethernet device node. Sean Wang <sean.wang@mediatek.com> - 2017-01-14 17:20 +0100
  [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Erin Lo <erin.lo@mediatek.com> - 2017-01-13 10:00 +0100
    Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Matthias Brugger <matthias.bgg@gmail.com> - 2017-01-13 16:10 +0100
      Re: [PATCH v2 2/6] arm: dts: mt2701: Add iommu/smi device node Honghui Zhang <honghui.zhang@mediatek.com> - 2017-01-16 04:00 +0100

csiph-web