Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1092535oof; Tue, 25 Sep 2018 08:10:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV63LF99jKd6mdaZnivusW73T4uGxpDxoFWQ2cGsfwERoIeXBtMK/Dc2agP/rOaIAr1svEKek X-Received: by 2002:a62:3241:: with SMTP id y62-v6mr1710077pfy.4.1537888230002; Tue, 25 Sep 2018 08:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537888229; cv=none; d=google.com; s=arc-20160816; b=iGKnDj0xr7bRXkcIDmJBXrSN0liH9kUiznEyt1hIw0WrCaBZpGyOhq2V2vvJ1svKs4 lOQfJNyhz826GX8hordU/MapkCPiqEP3JrxYeqcPiPXAAFuGeMrbjTvwCupmDa3zTbtb 8C0pzinFz0zqdzaDTEIsrdxmyNrhlkdbf3rae4sWPsSs1RFdG/J3GKqpm9SfYyqCllHh lZMvozstBNOSc950Tv7+Q9STPFxbVPRORdwzGqcwyXW1sQ0gk65sQzmBe5IbCL0YG2Cb zMaV4rHAMCEBZeFa6dr3SRLbKfam0VHmvFPFtuvGJr/u7WyGmIL0oXs3AXunMe8ISmvF L5Cg== 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=moMLlfMqNnzdLe3UkE0VUn+H/KiV5e7wEcjOdlNrZ94=; b=RBYqkUa5LCDwKsv2J5cAx0Gr6Dn+uZ/NhtMOkcWyGSG3+miPgDhbs9YQv3sUB64I2a jzzU5ZVAoWV6EQpZZkh2Ok6wMccqDz2NK5dO6GlF89pw/7stsbFypzQywkeYkxBZ+lPn vEMkNEVH9dCrP8cLmfP5y4ZuVdJEzOn0qEzBUQ38F6e60J2PeHl8TKG68yZ3mCCKCAvB E4VjpcGyz91ltjQCZJBuIAPVH7vdgV/LWKdu8jJzD4lbBhI4F1nbm9dReDOOqsrmxBdP /zIrPfFBHW/18ynF6YxScCc5mjAh/nfE9n/MzqfXJSBf14JNTXyxcnZcp2Gi6wdKpBqf ZMeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V+QYUOlO; 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 c4-v6si2313973pfa.285.2018.09.25.08.10.13; Tue, 25 Sep 2018 08:10:29 -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=V+QYUOlO; 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 S1729465AbeIYVSD (ORCPT + 99 others); Tue, 25 Sep 2018 17:18:03 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:45431 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729098AbeIYVSD (ORCPT ); Tue, 25 Sep 2018 17:18:03 -0400 Received: by mail-ed1-f67.google.com with SMTP id j2-v6so6331151edp.12; Tue, 25 Sep 2018 08:10:05 -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=moMLlfMqNnzdLe3UkE0VUn+H/KiV5e7wEcjOdlNrZ94=; b=V+QYUOlO6l+jfbEwiCtB/rImj2ACD2EEsEgNRqE1wKqkz3m4ZIu49Gg273zRMdfg38 kWR92UcfFVTaacEWKrtarWVmpb36q5NJkZAias4dFQZdd89+OKQKzhAXdiMjkjeFPfAm M4misps0ZZ1DP+WSNqiIRQiMDyGm3tNlQFnYRUFNXKac5LQbWUtbDbBJGC85DblGVhDY WaN/nwSlBuCFkxGKt8q5/HD/El+3Kofcgrvn8LPyPIi8OlYyTplZoiNsQRI4FrrMxo7v 3B8R6XFPpIc8calqqf9SQYDDVShJG3JE5U13gLwSNRPMhosxYUuo7QQXe76dWVioZbxu nr8w== 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=moMLlfMqNnzdLe3UkE0VUn+H/KiV5e7wEcjOdlNrZ94=; b=QUm8tZJgsi1LYaiV1jtoCjL63E0DHIUZJ20Y7s6w2Y3KiXFI7YYBd2eS1zaSyyfLcd pNdmlnFPz9ICn1HVzeanyiznkTNNEg3VRIuqjiAyA1NeC5uTQUZjH+Bznb7hhod91l9F EHB2ON3tXjENdaRsYQ4+3dm5JzNcpYUevug3eyUaqmqOUvtTwpP973mAgMaWiVnB4YyY HOHN25yNdsQHnqcUm8lhT3UmSaV5NnXzdyuq2b4j6G9XCWeH85mJKAVdhIis9ils2R/u ZlisDVDFWXAXBEH8xG1lXTO1OHlkmWgv6wPrhbIEuEmSru+TngkimtHqYI5f/fm+hhZ8 X6jQ== X-Gm-Message-State: ABuFfoiSy6uA+SKq5vZZ/OYixx8omyTz2TXl83lAR/SNni6bC1Gi+Gfd Y9DYUfPPbwCzoHmg8H6mheA= X-Received: by 2002:a50:af03:: with SMTP id g3-v6mr2068224edd.220.1537888204871; Tue, 25 Sep 2018 08:10:04 -0700 (PDT) Received: from ziggy.stardust ([37.223.146.97]) by smtp.gmail.com with ESMTPSA id j14-v6sm8396898eda.76.2018.09.25.08.10.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 08:10:03 -0700 (PDT) Subject: Re: [PATCH v1 1/5] arm64: dts: mt7622: add timer, CCI-400 and PMU nodes To: Ryder Lee , Rob Herring 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: <7d3ce6a89ffeb221dc3197b763521582bf300577.1534607107.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 ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogrVazuEJzx6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fJj0/KwFXJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGf XM8DY1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp 3mlIFZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHc UXI+r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <5cd2bf92-251d-7a48-5bb0-95060d6ccb51@gmail.com> Date: Tue, 25 Sep 2018 17:10:02 +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: <7d3ce6a89ffeb221dc3197b763521582bf300577.1534607107.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 Whole series pushed to v4.19-next/dts64 Thanks! On 18/08/2018 18:02, Ryder Lee wrote: > Add device tree entries for timer, ARM CCI-400 and its PMU. > Otherwise, we add a cortex-a53-pmu node to enable hw perfevents. > > Signed-off-by: Ryder Lee > --- > change since v1: > - add a pmu node. > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 55 ++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > index de2c47bd..d297100 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > @@ -79,6 +79,7 @@ > #cooling-cells = <2>; > enable-method = "psci"; > clock-frequency = <1300000000>; > + cci-control-port = <&cci_control2>; > }; > > cpu1: cpu@1 { > @@ -92,6 +93,7 @@ > #cooling-cells = <2>; > enable-method = "psci"; > clock-frequency = <1300000000>; > + cci-control-port = <&cci_control2>; > }; > }; > > @@ -113,6 +115,13 @@ > method = "smc"; > }; > > + pmu { > + compatible = "arm,cortex-a53-pmu"; > + interrupts = , > + ; > + interrupt-affinity = <&cpu0>, <&cpu1>; > + }; > + > reserved-memory { > #address-cells = <2>; > #size-cells = <2>; > @@ -218,6 +227,16 @@ > #reset-cells = <1>; > }; > > + timer: timer@10004000 { > + compatible = "mediatek,mt7622-timer", > + "mediatek,mt6577-timer"; > + reg = <0 0x10004000 0 0x80>; > + interrupts = ; > + clocks = <&infracfg CLK_INFRA_APXGPT_PD>, > + <&topckgen CLK_TOP_RTC>; > + clock-names = "system-clk", "rtc-clk"; > + }; > + > scpsys: scpsys@10006000 { > compatible = "mediatek,mt7622-scpsys", > "syscon"; > @@ -325,6 +344,42 @@ > <0 0x10360000 0 0x2000>; > }; > > + cci: cci@10390000 { > + compatible = "arm,cci-400"; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0 0x10390000 0 0x1000>; > + ranges = <0 0 0x10390000 0x10000>; > + > + cci_control0: slave-if@1000 { > + compatible = "arm,cci-400-ctrl-if"; > + interface-type = "ace-lite"; > + reg = <0x1000 0x1000>; > + }; > + > + cci_control1: slave-if@4000 { > + compatible = "arm,cci-400-ctrl-if"; > + interface-type = "ace"; > + reg = <0x4000 0x1000>; > + }; > + > + cci_control2: slave-if@5000 { > + compatible = "arm,cci-400-ctrl-if"; > + interface-type = "ace"; > + reg = <0x5000 0x1000>; > + }; > + > + pmu@9000 { > + compatible = "arm,cci-400-pmu,r1"; > + reg = <0x9000 0x5000>; > + interrupts = , > + , > + , > + , > + ; > + }; > + }; > + > auxadc: adc@11001000 { > compatible = "mediatek,mt7622-auxadc"; > reg = <0 0x11001000 0 0x1000>; >