Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp102387pxt; Thu, 5 Aug 2021 19:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfTMtIGDRkevSwI+Og046cukljAlZyD3y82WYbv4vnXIIZvvtfE8JjXlo/jShhGuuhTaKw X-Received: by 2002:a02:7348:: with SMTP id a8mr7580685jae.116.1628217012678; Thu, 05 Aug 2021 19:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628217012; cv=none; d=google.com; s=arc-20160816; b=0Awmq6fUEn7/hyE4gnLEAoPmHLfkgHYIbNN5F90dfRdXUIpi2LciOHZfSluu29Lh3A /XQwe4QT09QNo0Rnz6O4maDBEV5K3Zt2jLACWzV2ovDbbDYMx8ngyaTHmM7uUdFedkx2 Y/Tz5imYEaQ9jPLScMR2KY6Wh8BSpX6TCdaeAkRKtMgGVHUjBAsHbJn2M7Ru+5D09MsT DbUMQUG6EEKzOAqHvlCPpfp61o4lCJ++53fvUK4FBEEvHwynfCkMEU6T8nKd9aA5YoL0 GKBN2knFwarBbGDM3U+X2kpC3n9fnH0n1hgCA9Koqk/yU5K4wrc4hWPM91rHuhk73Nsy zT4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LvXvxc4FpfdQsNTQ2uP7M38rxQUNtPKsYk8dUCbk8vw=; b=z9Q7NFYLN9CUk0kYanM5JcoiCNg+CKtsJ0XIAqn0ajDayjE86M/x29nCsJraYbJ53A HmWt4VA2EkAUizyBsJ9gOY4uSzjx0Z0iWJ0IYzpYznNDPrGyc1ST26v6/H7Q638ZwRwA ZjLcTezclFLUJSs1xnWycTo36lrOcjtnwt6HC6QwqGUKGKkg/XmUxzNyDPQpALLsS5eK T5PFDiG5DoKXXNJAErPPz7LkFSh3ov+7UdLoXY+O/pDhlAJW2aDbMRNBM2cSRrqMNDI2 VrjgMYcR2bJDoMnDI4hgx0v8mGJnT5ztCkoP3ezu8rlgE0sBce4Mm7mIEUD+2wXlP7Q8 9nCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="RFz/Y/Fn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si2707330ila.141.2021.08.05.19.30.00; Thu, 05 Aug 2021 19:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="RFz/Y/Fn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242558AbhHEXvp (ORCPT + 99 others); Thu, 5 Aug 2021 19:51:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242554AbhHEXvo (ORCPT ); Thu, 5 Aug 2021 19:51:44 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A1DEC0613D5 for ; Thu, 5 Aug 2021 16:51:29 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id cl16-20020a17090af690b02901782c35c4ccso9816610pjb.5 for ; Thu, 05 Aug 2021 16:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LvXvxc4FpfdQsNTQ2uP7M38rxQUNtPKsYk8dUCbk8vw=; b=RFz/Y/FntKBu086yBh8DOvEcoTbXW+UBSqeBcOSLniuR8fpBhTS4XE4KGiQqVWqTlT IByvUcFYRGdsnr80Wh7XaXMnHzQ/L0RXnuUg/7TP6zKxhc5pojD8RsY3/yOiXPcoPY7I Pk327FGZesE/IJlh1S2JpNE024prgZBIy+WLM= 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; bh=LvXvxc4FpfdQsNTQ2uP7M38rxQUNtPKsYk8dUCbk8vw=; b=lHdm8NnWMvKR9wJTbttBGsErCuNNiRW5QqGaZ0hl7ouYFlMcLhCKWyLtPrs/zkqFlY XfqhfMnhvCE7idbZONxkKdHKcGotdaL2QeGUDcf1gJEABbbrkiXJcMCNL5onVpku0Y0a hHf48Rvjnqn5VW/XMwEYYfZDEvzkSFMVvXG/tRFzbOwhsvbkVrju3DUeznqDD5vhDTJm TSsbkivNmD3Whe4BQ8qmSCh+nFVUnHUo0EJJNetHksc7LiEWf39Ul9rCHJA4cLgUiWf2 nDMKGencCl28pAo8WCTpzViQsWhbap37saMPDb6N5LgmEjA0qRZXdjLB4s8rpBXBUq37 nc2Q== X-Gm-Message-State: AOAM530EEub7wluK++nhhZgFRNyu+jlOCMk8Xk4tslCZLgFsrwnEYD/K ggpNOeXudqqaTs+bvkwi/HdFZA== X-Received: by 2002:a17:90a:9511:: with SMTP id t17mr17926916pjo.194.1628207488974; Thu, 05 Aug 2021 16:51:28 -0700 (PDT) Received: from localhost ([2620:15c:202:201:8944:bd:9484:29e]) by smtp.gmail.com with UTF8SMTPSA id t22sm9144685pgv.35.2021.08.05.16.51.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Aug 2021 16:51:28 -0700 (PDT) Date: Thu, 5 Aug 2021 16:51:27 -0700 From: Matthias Kaehlcke To: Alex Elder Cc: bjorn.andersson@linaro.org, agross@kernel.org, robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] arm64: dts: qcom: sc7280: add IPA information Message-ID: References: <20210804210214.1891755-1-elder@linaro.org> <20210804210214.1891755-2-elder@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210804210214.1891755-2-elder@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04, 2021 at 04:02:11PM -0500, Alex Elder wrote: > Add IPA-related nodes and definitions to "sc7280.dtsi", including > the reserved memory area used for AP-based IPA firmware loading. > > Signed-off-by: Alex Elder > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 42 ++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 029723a75edef..5764c5b5cae17 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -69,6 +69,11 @@ cpucp_mem: memory@80b00000 { > no-map; > reg = <0x0 0x80b00000 0x0 0x100000>; > }; > + > + ipa_fw_mem: memory@8b700000 { > + reg = <0 0x8b700000 0 0x10000>; > + no-map; > + }; > }; > > cpus { > @@ -568,6 +573,43 @@ mmss_noc: interconnect@1740000 { > qcom,bcm-voters = <&apps_bcm_voter>; > }; > > + ipa: ipa@1e40000 { > + compatible = "qcom,sc7280-ipa"; > + > + iommus = <&apps_smmu 0x480 0x0>, > + <&apps_smmu 0x482 0x0>; > + reg = <0 0x1e40000 0 0x8000>, > + <0 0x1e50000 0 0x4ad0>, > + <0 0x1e04000 0 0x23000>; > + reg-names = "ipa-reg", > + "ipa-shared", > + "gsi"; > + > + interrupts-extended = <&intc 0 654 IRQ_TYPE_EDGE_RISING>, > + <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>, nit: use GIC_SPI for the interrupt type > + <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, > + <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; > + interrupt-names = "ipa", > + "gsi", > + "ipa-clock-query", > + "ipa-setup-ready"; > + > + clocks = <&rpmhcc RPMH_IPA_CLK>; > + clock-names = "core"; > + > + interconnects = <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>, > + <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_IPA_CFG 0>; > + interconnect-names = "memory", > + "config"; > + > + qcom,smem-states = <&ipa_smp2p_out 0>, > + <&ipa_smp2p_out 1>; > + qcom,smem-state-names = "ipa-clock-enabled-valid", > + "ipa-clock-enabled"; > + > + status = "disabled"; > + }; > + I know little about IPA, but besides the nit this looks sane to me. Reviewed-by: Matthias Kaehlcke