Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933416AbcJTUDM (ORCPT ); Thu, 20 Oct 2016 16:03:12 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:34052 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754183AbcJTUDJ (ORCPT ); Thu, 20 Oct 2016 16:03:09 -0400 Date: Thu, 20 Oct 2016 13:03:04 -0700 From: Bjorn Andersson To: Sarangdhar Joshi Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stephen Boyd , Trilok Soni Subject: Re: [PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes Message-ID: <20161020200304.GP7509@tuxbot> References: <1476989765-7524-1-git-send-email-spjoshi@codeaurora.org> <1476989765-7524-4-git-send-email-spjoshi@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1476989765-7524-4-git-send-email-spjoshi@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1975 Lines: 78 On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > Add SMP2P and APCS DT nodes required for Qualcomm ADSP > Peripheral Image Loader. > Nice, two (very) small nits below. But other than that Acked-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Sarangdhar Joshi > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > index 0a810f5..3edb56b 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > @@ -169,6 +169,31 @@ > method = "smc"; > }; > > + smp2p-adsp { Sorry for bikeshedding, but on msm8916 I named these {subsystem}-smp2p, so I would prefer this was naemd adsp-smp2p... > + compatible = "qcom,smp2p"; > + qcom,smem = <443>, <429>; > + > + interrupt-parent = <&intc>; I believe this node inherit intc as interrupt-parent from the root already, is there are reason why you need to specify it. > + interrupts = <0 158 IRQ_TYPE_EDGE_RISING>; > + > + qcom,ipc = <&apcs 16 10>; > + > + qcom,local-pid = <0>; > + qcom,remote-pid = <2>; > + > + adsp_smp2p_out: master-kernel { > + qcom,entry-name = "master-kernel"; > + #qcom,state-cells = <1>; > + }; > + > + adsp_smp2p_in: slave-kernel { > + qcom,entry-name = "slave-kernel"; > + > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + }; > + > smem { > compatible = "qcom,smem"; > > @@ -205,6 +230,11 @@ > interrupts = ; > }; > > + apcs: syscon@9820000 { > + compatible = "syscon"; > + reg = <0x9820000 0x1000>; > + }; > + > gcc: clock-controller@300000 { > compatible = "qcom,gcc-msm8996"; > #clock-cells = <1>; > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >