From patchwork Thu Apr 8 17:04:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417465 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp795012jai; Thu, 8 Apr 2021 10:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwuzb7qDTk9+9JCMAwOl+KK0mzlS2IhPUbF3LCUQWvd1Vb9PQdHWaqBYq+OaUd5fPvo+Ou X-Received: by 2002:a17:902:b494:b029:e9:6c43:8beb with SMTP id y20-20020a170902b494b02900e96c438bebmr7685243plr.70.1617901575082; Thu, 08 Apr 2021 10:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901575; cv=none; d=google.com; s=arc-20160816; b=SuPKP430pCK7YBHeajgSDG8wYk1qCnaHm5jQs9QhoAoJmU8DeNlKfdUONAESdQLNy4 uJRps3Y70sPtLvnUzFVu3cYaWn/iSm29C2g9HUK05yMpcxDz9FaUXcVnhitFKyuiOg61 n9NlcB14Ip7mZF4iUlNZzzZTRzfBKXG7/g+2CfK/FifVOdwYGUKygcz80GlSdxErbuhv 0zW8EtjhkORfSoIdPw5p4Z3KK4iH4Gcecd9HMJopPRRklBEOZEQhFs1D1B3YduaVqKIN dDFZ0fVFwsX3lKV/tAsy4DlIpauD9brgIin/9tX8FUTaH7qxaTHSedBIiNkjWGApuHEJ iClQ== 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=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=eLGCyzjx7T7amdey19Wd5Bz9VAK087+tw9eJtcLrgVSYCO2bN9exg9g1LiOGWwmkjg JtP/1vIL49k9Beulv8mHNjCpyoL7Ldo5Loh0uB4uBp97bxCoxYfK/8dYAPwbXhnrebl5 QvI63XiCZ345sOr+z0x8nV68uCBG8hVUvvOMqRPZdX3f6o3EY8LSv2D2l41MjTEgs9Ru LC1wlUwpX3v7XfhRUFBrTwE+2DbqdBwteJWtdUhW62U5Xc2EPZ9oHTUtuTnmOoHNdmoT udNR4X07hSD+b1FWt8/tpjpXJuu4ubuk+qAEoG4fWomuAgB9aAnniYEc4QpxFc0rUrxq DXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NRAy4n+M; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 t15si9887862pji.149.2021.04.08.10.06.13; Thu, 08 Apr 2021 10:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=NRAy4n+M; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S232665AbhDHRGX (ORCPT + 16 others); Thu, 8 Apr 2021 13:06:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbhDHRGA (ORCPT ); Thu, 8 Apr 2021 13:06:00 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B0A2C0613E0 for ; Thu, 8 Apr 2021 10:05:48 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id ep1-20020a17090ae641b029014d48811e37so1734695pjb.4 for ; Thu, 08 Apr 2021 10:05:48 -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=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=NRAy4n+M8JIo/MIPJ7wWmm2Nghtrk0v0IMH60Z9LkBM0OhvUOLCE2X+4n7kq8hwPMb Bj+/b314XEZAolws4BAfpOxjekvhUPwYwWK1fn6kzVkuYzSY/19802VFalFHExfnXfpE pDU8KnMPR81IQqHQLnh8mFb0dA8MW/169NPaNGf+9qhTRThFiPNX05ZbYQlZD+MOYad3 KU3YgJOUTJXnX6DXaC9MlmS93lJVc07LfhnNXMpa3/PzRKvqzCD21fhqLMgPid3njDCG 7Syam/5V3PUREw9OSiFxOjXUjK7Cwk04TmCZiCmTuiBa16BNNpYGqGFi32wO61cDE50Z VQEQ== 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=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=i1zEd9k41idTHf1/0Nwd20CFEhwdYDI5pJhicyZG5kYA23txlP4JAn30qx8y9A2F// Mu3WvtGa7swp649gAO5iooHfdYtbWNzlAW/FVWa0YihlFk6IEacUm43Aj/5iHuT9fyve 3dNGnWts4fpmZv/z5u3PK8CVU7/+7ZCTsku6yauD4tpyrSR9RA9zZEOsawkos0MwnBPj 9ax9W0WAa5vXvCACpWQ+q2eXbIjV7Q9upTytr4GWK55Le7mDw9Ivxpxh1W5BRQjgrXrL 5KYIRZxlnM+4dH73YXf/hPvc0qKm1Iac6P0RuKBAWG6yG5rZfWekANAI3qECrSxW9zzE g4EQ== X-Gm-Message-State: AOAM530OlytrBaTqMZVF2lYMrKMSr5PjWLdirGgm3E358vVAMU5oGw0E 6Gmj/E8JWrSQGKAQpY+ZkT8I X-Received: by 2002:a17:902:8bcb:b029:e6:a4a1:9d7e with SMTP id r11-20020a1709028bcbb02900e6a4a19d7emr8602380plo.25.1617901547954; Thu, 08 Apr 2021 10:05:47 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:47 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 15/15] ARM: dts: qcom: sdx55: Add Modem remoteproc node Date: Thu, 8 Apr 2021 22:34:57 +0530 Message-Id: <20210408170457.91409-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add modem support to SDX55 using the PAS remoteproc driver. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 5 +++ arch/arm/boot/dts/qcom-sdx55.dtsi | 33 +++++++++++++++++++ 2 files changed, 38 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts index 6da366ec15b3..3065f84634b8 100644 --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -255,6 +255,11 @@ nand@0 { }; }; +&remoteproc_mpss { + status = "okay"; + memory-region = <&mpss_adsp_mem>; +}; + &usb_hsphy { status = "okay"; vdda-pll-supply = <&vreg_l4e_bb_0p875>; diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index aa3edecf5810..bed83d1ddc29 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -328,6 +328,39 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + remoteproc_mpss: remoteproc@4080000 { + compatible = "qcom,sdx55-mpss-pas"; + reg = <0x04080000 0x4040>; + + interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", "handover", + "stop-ack", "shutdown-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SDX55_CX>, + <&rpmhpd SDX55_MSS>; + power-domain-names = "cx", "mss"; + + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + label = "mpss"; + qcom,remote-pid = <1>; + mboxes = <&apcs 15>; + }; + }; + usb: usb@a6f8800 { compatible = "qcom,sdx55-dwc3", "qcom,dwc3"; reg = <0x0a6f8800 0x400>;