From patchwork Wed Aug 4 21:02:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 156C4C432BE for ; Wed, 4 Aug 2021 21:02:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF2A060F43 for ; Wed, 4 Aug 2021 21:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238897AbhHDVCg (ORCPT ); Wed, 4 Aug 2021 17:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238923AbhHDVCe (ORCPT ); Wed, 4 Aug 2021 17:02:34 -0400 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2771C061799 for ; Wed, 4 Aug 2021 14:02:19 -0700 (PDT) Received: by mail-il1-x12d.google.com with SMTP id i9so2928894ilk.9 for ; Wed, 04 Aug 2021 14:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=stsCAhb9KyNn9NActCypTJWHTXz4zjhM13MZVyTCBnA=; b=Urz7X5a+h1M5TrRqe4vxlM0lYfjjuDUEhvxjXMe38+AjpA2RJRhPkAAufCreOGnmYk bRtGhkyCZeaxgbUCPM57CUBWJ6I2nZomrGnX88XAqom9y5De2lI4UIFbbgMh218QRqke s71weIRu0oW/Ba78xA4hN71KNLH0wSZJ9ha71MHQnlkf0YdbXmV7SuEC/NG/3Es4ol8y R3+1Ta5LfChZZaDLiJnYNc2jLakgg1IV2NJxz4jfJzdckad2a2hKngSLGZY3hXygQ+K2 u5YgbT3vEcKGup6sM6XjWbrqnjj+PAOQTywIN81kwwPyrezOpR9oGy/+VDB7EXK0oWKZ +GNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=stsCAhb9KyNn9NActCypTJWHTXz4zjhM13MZVyTCBnA=; b=JYa+ZYqCTeKz52cP6Mj89O3l8BDikEMDy8njpcXKPJBPBXOLEbUWV+SjsUyrSRw4H9 +RyOCWRMOq1pMFDAqbKXIXIY6H21rjkiCONND0au6U7QAVgFIOR5UD7uCptsBaIgh21i 42x+c3nPWHxgkIzA/haGNmwVpBxxIavxfm3wchlN281n6hXU5yo1B42K8xMBEkw5fOJy yAG+EOB1V1Tj5ZpF/DiyIrF9qFIhMcu3vGqxS0BUerX2uYRwXppaHSXZR/1knSiuw0oN BXv+sgojRTyd8ulOso7NnU3ULDPfPvqEadIJcX80kPzcPVjnAU0ZQOzIDGWeit++WZIX 8OSQ== X-Gm-Message-State: AOAM532S3lXNl7CYQKQRH60js3ulpwLtBRK2ct+ho3zFbljpLm9GGyTZ Rk+DeCfDLnGbb4AOu0Kd/e6I9w== X-Google-Smtp-Source: ABdhPJySSRd5XcaUWfwDcgu6AKbzKExu52CNfJGfTR0DYT8gGkJkbsFR6aADf4U1iB+GRvDkqt22lQ== X-Received: by 2002:a92:da86:: with SMTP id u6mr213363iln.265.1628110939397; Wed, 04 Aug 2021 14:02:19 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id d18sm1687396ile.32.2021.08.04.14.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 14:02:19 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: qcom: sc7280: add IPA information Date: Wed, 4 Aug 2021 16:02:11 -0500 Message-Id: <20210804210214.1891755-2-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210804210214.1891755-1-elder@linaro.org> References: <20210804210214.1891755-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Reviewed-by: Matthias Kaehlcke --- 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>, + <&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"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex", "syscon"; reg = <0 0x01f40000 0 0x40000>; From patchwork Wed Aug 4 21:02:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491690 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1991563jap; Wed, 4 Aug 2021 14:02:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNe14z0reFJjYEtX8fR/k7aFO9WRpk7dTL3bKBjawXXLBAPbMok8N7BiV4pD1+aE3nyp0s X-Received: by 2002:a6b:780c:: with SMTP id j12mr63038iom.97.1628110959385; Wed, 04 Aug 2021 14:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628110959; cv=none; d=google.com; s=arc-20160816; b=bV55PL1ZmrLiUOcIqfoJ3VRHDaDmOhdCwdQYm0jWoCnvYcNyoyEdWyt/wCn/E172R7 4jlo5WdEKvobeBUftIjFz0xC0e5gdMD4fn40XnHO9IBRU4DNSTwtqqA/Nl18Z1dr6uGB KnuCmegmCanrVpRDAnpR4bZW0gmJ4bGrjqe9YiFY0QUtP4LD87N7DBUZc8sePh5ZT5XD I9VLrjqC5uiEddluxbK59r9vW9HpeLEsl+H6rotgDdSM4XWMw7tGL4JfxrEwdeEdscqc fPt9yFHbxsn6eC981gEOR8X1KsHsQtz7lX4Kdr+87IPO8AKaGVYZbPzU7ob7eG9LdyWv Cbyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=47+5nNS7AYyM9CTmDnvMFct9hls4ocxJYMxZvhUV6xc=; b=lBKN5XYcCv1fiEMZbrTbrwTwndGOUDXUilBtuqmb39KCpkTPaznQB0Pb/m8h6f+1mr 65zzqsrflwjanGzx0KmDkQEtsG5pOr+DCQz9q9+FKZuFNb1+T7dxwfZ/46B5REqynAS1 ZlVx9zbf6MXmwOU/R96r0mufuH8wnRJzX3UNi9h8Mw96dOUps4GKqLCOZMWtB4QBlo3B Ie6axFPRziCcz/oz9Vb6NVnU/iXHISeiqibjxKDe51RpPrFWYSIdM8TgKXcU8PZ5peR0 66igJBWw7Vugseeitc1cXiyhAOyKXM9jslxWuRojDTsCbBmjcxRSPIutV1TIg1gzksRi IyGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nBZTHCEt; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si3634126ils.29.2021.08.04.14.02.34; Wed, 04 Aug 2021 14:02:39 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=nBZTHCEt; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238969AbhHDVCe (ORCPT + 7 others); Wed, 4 Aug 2021 17:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238899AbhHDVCd (ORCPT ); Wed, 4 Aug 2021 17:02:33 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FD0C06179B for ; Wed, 4 Aug 2021 14:02:20 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id d10so2924632ils.7 for ; Wed, 04 Aug 2021 14:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=47+5nNS7AYyM9CTmDnvMFct9hls4ocxJYMxZvhUV6xc=; b=nBZTHCEtheFnzyarQzDlACUotxlyIl+VVTUsv+qM7R4/O61xFCPEn5pm5Rs797Ubm6 Jn9wq+9pusOAC9yQRcV5MLxQ61bzji1QQntoKIzkHOOHSVSY+yWgJ+KX61Vszjpkqa/I T9LSNn6Fi2Wz8EG+d60R6GT0K+E62eMK0qf5Wrw0pPPZF3zM1r3UJ8Mb1W31KnhDSARc HqhEv4jnQ85l+p/7VM2VOU+Yn4Y3vLMAOyixd0hOIMsxRUEyRukcnZKmkW8at8QY/9Kl sRD+39WqPqhlIs/MUrDZsd3McNlsnNk9wFgFC1dM4LAE4fo6NXqNjIoBMBI9cLVeML2x bQTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=47+5nNS7AYyM9CTmDnvMFct9hls4ocxJYMxZvhUV6xc=; b=oDYysbi3Y10JfpyapNNBBP0Yak0LETjMq67Afgn+9OXBjTQdFtdnkFO2i52S3sFysa zLR2oBrUnAR3z2PgSyfJCfW2eCf/L46AE28F1g8yRTsBSQd7GPluiUF2mPTp/cohvcKc U2aJ6aFXFGEJZPom6oau/RX7n+RYCzePlCAf7lH9hQGPFKG1fR2HBQf3II9xHy5Vx360 Afl1Gwt9GFd3nysjiVpiMoNb13LYCtYAMtaMNepKqUjx/SmcYiKrmnBCcmnc4ZxbNDlR tauLI25WqUYluxwGRDTeR6A7fAqe4qJ1HQQNMFFyl1Es2SQze1e7XETdxmg1Qnsk4DVZ 5hFw== X-Gm-Message-State: AOAM533gA14O6+YDPsDFlOhRp5XjsA870PIPePU4N6M6hge4N90rxMho XtfYGyMO/t3PhvyjY48MR4+5eg== X-Received: by 2002:a05:6e02:156b:: with SMTP id k11mr98925ilu.51.1628110940241; Wed, 04 Aug 2021 14:02:20 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id d18sm1687396ile.32.2021.08.04.14.02.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 14:02:19 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: qcom: sc7280: enable IPA for sc7280-idp Date: Wed, 4 Aug 2021 16:02:12 -0500 Message-Id: <20210804210214.1891755-3-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210804210214.1891755-1-elder@linaro.org> References: <20210804210214.1891755-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable IPA for the SC7280 IDP, with the modem performing early initialization. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sc7280-idp.dts | 5 +++++ 1 file changed, 5 insertions(+) -- 2.27.0 Reviewed-by: Matthias Kaehlcke diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts index 73225e3c2f86f..66640ce959124 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts @@ -243,6 +243,11 @@ vreg_l6e_0p8: ldo6 { }; }; +&ipa { + status = "okay"; + modem-init; +}; + &pmk8350_vadc { pm8350_die_temp { reg = ; From patchwork Wed Aug 4 21:02:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491692 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1992020jap; Wed, 4 Aug 2021 14:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8yX2U4WhOprf+ntn4rZJVWROJH+gTbZNZsStuvm9lM8/XSHihT3M3sP1P4Z00w4cUuXqr X-Received: by 2002:a05:6e02:218c:: with SMTP id j12mr560455ila.32.1628110994004; Wed, 04 Aug 2021 14:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628110993; cv=none; d=google.com; s=arc-20160816; b=qubECVvhyEwFdAweJBdI+TzYnRsY5+yanKVmtRxlEudQUNsbbSnfxGkueSwejcyp+b x5DeDtGTMz/vM3SfDKM1qmk+SObiuT6LCTX+8oF/lcsRLqhhncpWZ8zfxMbd2MA9aiLg zIY70igp8ehw3jrv/TCuCza0+EFbmCkG3yHehBxygyrvtaU7mCK5MuZ3qmMKBXyfTOFF 9TlN7O5fuCUUG1cLdpcP771ly5HNbDORO2+rSn4TSK4g23csuFgHuDyM/t0fHvzZ0k9f expchGKWJtDz+iXYJsNVZyn6rpPQ15wZd5nbZQw9zQT5UObeAQ93LEUErsIBScv0QRg/ OXmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NjqtwhIzT69tLKAymSZ18OrAY8s/2mcd8Zh8B0GqWaw=; b=rGID1eqo/V8V4AQY1vmWzaAejNSIVcZVcBNgLsxemMMFJUnzBRqyYKAuQRM35KP+dI sLr/plWUVtgLcFkyYgCGx9x5rJStXVtVwiGAMFnw8C2gdW33nTcfFWEKW6P8eKXjpO4J 3iuzrzlMc6CXoMqZCCq5Bqj0NjlSjOeh1Em3tZ6ICEVse0J7MpXvhV+ZBXyoBOFf2tlw I2pSPT+yPmEJT+hXQT7rxWO5e1qmUJ2smxsojbhZAG4kbosE2lY+QbxgUX6xfrJNNwuf M0IqX93YD8qamtYcpbT56VD1P3lcYoccdsU/gxC7oyIzfC0Mfmd013GNzVYwxCrvaq8w NDOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZhFrylSi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si3634126ils.29.2021.08.04.14.03.09; Wed, 04 Aug 2021 14:03:13 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=ZhFrylSi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239975AbhHDVCi (ORCPT + 7 others); Wed, 4 Aug 2021 17:02:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239838AbhHDVCe (ORCPT ); Wed, 4 Aug 2021 17:02:34 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A13AAC0613D5 for ; Wed, 4 Aug 2021 14:02:21 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id h18so2929064ilc.5 for ; Wed, 04 Aug 2021 14:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NjqtwhIzT69tLKAymSZ18OrAY8s/2mcd8Zh8B0GqWaw=; b=ZhFrylSiWwzX9cnU058+e5dsOIR6iLTTokF7dtxFN1BV6e98QEkjFz0Oo5Sdj2XBug CaWko/QaCAWL850lY9cdQR7hhBPUnMGoTMQgDouFPAhNZ9mEjIaso8ASs7ce5ruOPpRc +c6huaIMOANZuU0VeQcSeXXQCxpvJfMetrMjczRJcTCSaZOMNl1/JaVOQv3ozgez+Q8/ iulQeSwCvPdbRqeO78LegWoE1tnssxWfQOGSNR6MwuK1GhezDHH8+UC8/xlO0+F9FEdE Lx95fQt7ZDB+6is+DVAdfyNN9IQa/IFZJP8m4p4K17FYVG75vPPGcoxyCVLvlxnTNZ5m U2Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NjqtwhIzT69tLKAymSZ18OrAY8s/2mcd8Zh8B0GqWaw=; b=phNlOsSipraMapIe0ylq/dPBcHLUbUziHZvqQPayfkqQInVvtSJLV1c1mptuQz19Er W0SP3QxEgTpKj83ZOWHmsHwRoa9r/oaQoDGYYLANp124cEtZamxW+EPCwhM/ZGtbisn1 teDAz54knCzQGBl24iBLlBMEYqUFaOK/5QMGgGoffc+WbfCbKPyab+bN7TGnbJBZZ2oc josYFnRkvo7EyjDgC2DXle44MzopMs8xCdPtCrk87iFtHpZl3FCSUfYs/gsVCFpY0PIV YxEw6lfII9AiuLJV/AoAweD2RUjF1QQ1CIeAgz4KSbICB9GuwMihFLFtYOXbMoPne3kQ EMyg== X-Gm-Message-State: AOAM531twWgjVm+FIAOQLF1BY4gZLWPsXJ1h2watT3YQW9iFkKe8cwnd +QkDXhOjRgLuRELhfS1ciixAz01P8Q/eJQ== X-Received: by 2002:a92:c8ce:: with SMTP id c14mr924242ilq.1.1628110941103; Wed, 04 Aug 2021 14:02:21 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id d18sm1687396ile.32.2021.08.04.14.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 14:02:20 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: qcom: sc7180: define ipa_fw_mem node Date: Wed, 4 Aug 2021 16:02:13 -0500 Message-Id: <20210804210214.1891755-4-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210804210214.1891755-1-elder@linaro.org> References: <20210804210214.1891755-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Define the reserved memory space used for IPA firmware for the Qualcomm SC7180 SoC. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.27.0 Reviewed-by: Matthias Kaehlcke diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 9b65896d62dc1..5b10eb4be2b1d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -110,6 +110,11 @@ tz_mem: memory@80b00000 { no-map; }; + ipa_fw_mem: memory@8b700000 { + reg = <0 0x8b700000 0 0x10000>; + no-map; + }; + rmtfs_mem: memory@94600000 { compatible = "qcom,rmtfs-mem"; reg = <0x0 0x94600000 0x0 0x200000>; From patchwork Wed Aug 4 21:02:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491693 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1992119jap; Wed, 4 Aug 2021 14:03:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ0pCQnSTvnZJ8uwH5cMhrVjkQ7shqmCaVYTC9WwlxV5CUQVN9LzhyDUiFgHWXzOD/OArs X-Received: by 2002:a6b:f416:: with SMTP id i22mr1062478iog.162.1628111001670; Wed, 04 Aug 2021 14:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628111001; cv=none; d=google.com; s=arc-20160816; b=Nct/qy96BzMi+eBdvAZpmN/pJbOTGo5nZDb2G0M04qdQLUnQq8xd+DKKBJmlEqI3Wd Gj8ud1oHGfGx5neIsMsTe10N1h8Vhkzm6mfm2mqnBkPP3P/UNuNk12aKt87P2qbDCN+O W16QeHlNXuO8UR2ZWKzuOpqYcZOvOwTcsvBCYNMpGKm+i0zS2ZSS7ZkbThT/j2TyqNWX Wjtn3GrVB4xVDYZr568Frmfw8xuG3Oi5ox/Yp788WV+FwleIzbdOk8VPrmbKZEiAWjJG SF09YjAVOc8Uw692PnKSJuRYd/9QmW18UiyrH1qyKg0xT8tcY+ydO9p54z71+c/oLEAZ TYSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GAu8p3tjcesj9ZyybBwKeN/jK2mgfz8zSdEerPn6tnU=; b=KX/GqtiPaiccGuP+K68LMpQ+6b1JXWVwp67D+mIlR9QmL3BvfDho8g59GmaHYc67NG 5BQ401NGH/aIsolALM49APlqlba27AHDSqlaMfbNh+i+wKRzR+Hx0sp/e5JKmlBM1qk3 ylc9s1DbEGQM+DBU9xfzqs6Kx7lqfuB4pG1X/r75N6GpDWQ/snznld+wrMIaYZwceszJ pNojLFtOrvZOcZQ6UJMV4pUuVewVPxmjaRgvteQ/gsI0n7p5F3TQvU4u+0kSjNCU00J6 zy/3muyRl8VoiJAANUduEHDjUShhvgz+O+xJtb6CiswdezsPdmzmZ/BGKe+o0ug1fzpu p33w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z1zArIZF; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si3634126ils.29.2021.08.04.14.03.15; Wed, 04 Aug 2021 14:03:21 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=z1zArIZF; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240005AbhHDVCj (ORCPT + 7 others); Wed, 4 Aug 2021 17:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239948AbhHDVCi (ORCPT ); Wed, 4 Aug 2021 17:02:38 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 600B0C06179C for ; Wed, 4 Aug 2021 14:02:22 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id y4so2975589ilp.0 for ; Wed, 04 Aug 2021 14:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GAu8p3tjcesj9ZyybBwKeN/jK2mgfz8zSdEerPn6tnU=; b=z1zArIZFGyTmlE8814DCuSz/67i54nj56oZbf8w0ApKZEXhoFwSJv6Pk1HeNsH8d4o vvPlYadKMU/zjR/obYqS69yRuc6HJn9He4NY3m06vVmcVW6C1yzcYwN5a8Pl5+pjSJh0 PstfNXx/2IXxcd3JlfGk1yHcl3eailMZaybSZgCw8BahzHAZPiXBm19pDCAleYrXrSb6 WNKQimFgV6vcY7p56MrygixapbJO7/aub86P4ldYU3vcxxATo8HaLWb5oE5KZCiD+QFk pX9BH6yiS675HpRSqRmu2nlStBUuv15Q5OFnq6JKf08hu94I99Ftzn+LHyWeNa3iWaXv jtrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GAu8p3tjcesj9ZyybBwKeN/jK2mgfz8zSdEerPn6tnU=; b=ddOgilvlTpKzDNtYEDJsz2+8OLjvxX7+J//IW4LWZYwQxGKTw+Rovohev9d1XPtWxo WuFu0/solhh+koIDoef9kduck4372EnPENGoV5Yu9oiFEBZEXnkkMj5UHYrGatB0nf7D pLX86gYbAGHZeYmZFlIq/6YH6084uKwLpLYDj+2aL3WMVQ9kKdMLeIOAcCaic/MrXtVD 7ntoD87mq4PMlwyI5Ue2yzu6xpUaP7y2xex0MHyMwFKLpPUo6ZcekurFy8hfLxtVENxl TU9UrIWt0XRMoHBDwXlpiTEgv9kmFc2VEI4urr9Radva2R/QM0GXQKSMNVtPeMywurq0 UkdQ== X-Gm-Message-State: AOAM532g2d9ktAVdSku+l7EYhzyDT/v8IA7I6a3wbSTck85FVnahisvK mYek0SMPsxzXzpiWqgvCPKKCXA== X-Received: by 2002:a92:6909:: with SMTP id e9mr748365ilc.231.1628110941870; Wed, 04 Aug 2021 14:02:21 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id d18sm1687396ile.32.2021.08.04.14.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 14:02:21 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: qcom: sm8350: fix IPA interconnects Date: Wed, 4 Aug 2021 16:02:14 -0500 Message-Id: <20210804210214.1891755-5-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210804210214.1891755-1-elder@linaro.org> References: <20210804210214.1891755-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There should only be two interconnects defined for IPA on the QUalcomm SM8350 SoC. The names should also match those specified by the IPA Device Tree binding. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.27.0 Acked-by: Georgi Djakov diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index a631d58166b1c..01f60a3bd1c14 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -666,12 +666,10 @@ ipa: ipa@1e40000 { clocks = <&rpmhcc RPMH_IPA_CLK>; clock-names = "core"; - interconnects = <&aggre2_noc MASTER_IPA &gem_noc SLAVE_LLCC>, - <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>, + interconnects = <&aggre2_noc MASTER_IPA &mc_virt SLAVE_EBI1>, <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_IPA_CFG>; - interconnect-names = "ipa_to_llcc", - "llcc_to_ebi1", - "appss_to_ipa"; + interconnect-names = "memory", + "config"; qcom,smem-states = <&ipa_smp2p_out 0>, <&ipa_smp2p_out 1>;