Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1263211lfc; Wed, 1 Jun 2022 13:29:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0rHsL4PvQfU61ex3QgSGi1fdyH+4f6g+4yU0vNLNLtW3e+LkGsvyuoahGVjHoGWmLbFyY X-Received: by 2002:a17:90b:4a10:b0:1e0:44e4:5355 with SMTP id kk16-20020a17090b4a1000b001e044e45355mr35886693pjb.149.1654115361112; Wed, 01 Jun 2022 13:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654115361; cv=none; d=google.com; s=arc-20160816; b=c9SncbxDGnTOU8fCCrTFreM1Z8roaiI6Xq/usWaAXrFho5gVP5EAab54TQ3Pzp3lNZ 7r8LTr+Fu1lTQd+0+UgisAEyTSPdeuIHKld1MoyMTjOgtsWiOHG9/QwwD8jB4J7y0BUZ 59ADweToIFddLh9/H2J/RflPpXR6kErOwups0hgA9sD/+XyJhK8+DGwT4DDvMunBe1i5 iGuXz05c3E9d/2N2F5KMUVkwv/iMunuwmBcwDmXQc7278eXMUFL34m9E1JgSzlkDJA8m 5i8FWu/ZRpjM6bquvSBTz7z2PM6jZW2IDlrp+5C7pV0nYNvadXSyZmir+atBHIO4UVqT zobA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=YFLEtEfJwVwTmuU4ZQo8bO+hP20DSVDYCu69bNyBjfo=; b=cnm4DOuzsaae4yVqL2MXiteg6/ov/AtVa4I+558TisdF7bFqGqAsha77p1An3qjyrP ko9atGAMyMI8iHTbGoCi3At5CWYCMxNDdyZ8Hea/gnsOGuL2kj5RAPBfJH7G+vSgSaAv 9Ywj1FyUg0Yi95eL4UvHes2xd13yE34C57URbiKIgG+blUD+sxzDT07RLcUMfE/YxoYG g64gh6MAnE4najHS2xzt0btlsDdMO5B0Dk4wC4msJRWnSQBWUsx3HlGqOEuUDiqSlAMT NFooO9Nkuro6X7x4obZn5/w8irXMMEI8gQh5FDLwTtBklNtgfowHaWhTGNNP/wwyes97 +ypg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="OmBnZ/Xa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y8-20020a1709029b8800b0015d1f1c9235si3274840plp.561.2022.06.01.13.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="OmBnZ/Xa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5DD026129A; Wed, 1 Jun 2022 12:41:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352312AbiFAKpy (ORCPT + 99 others); Wed, 1 Jun 2022 06:45:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352264AbiFAKpn (ORCPT ); Wed, 1 Jun 2022 06:45:43 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E7F87E1F6; Wed, 1 Jun 2022 03:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654080341; x=1685616341; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=YFLEtEfJwVwTmuU4ZQo8bO+hP20DSVDYCu69bNyBjfo=; b=OmBnZ/XaoQkdgQtR7bXn5DrkaJBA0KiFEKj4GWQWBCOAj1kFBh2DI96x WnREuWxkBjG/U+22xcJYFJ/0kuhQOTQPqndQ8EindPhBr2mDzm1tBwgIN URAL5X2opVMroof8dUek1gcIMXr1Rq7PhyK4Snkhduvj1D/pwvz6mUVkZ E=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 01 Jun 2022 03:45:41 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 01 Jun 2022 03:45:39 -0700 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg01-blr.qualcomm.com with ESMTP; 01 Jun 2022 16:15:22 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 789C73FDB; Wed, 1 Jun 2022 16:15:21 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, manivannan.sadhasivam@linaro.org, Rohit Agarwal Subject: [PATCH 06/11] ARM: dts: qcom: sdx65: Add Modem remoteproc node Date: Wed, 1 Jun 2022 16:15:07 +0530 Message-Id: <1654080312-5408-7-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> References: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add modem support to SDX65 using the PAS remoteproc driver. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index ec08ae1..5e4687d 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -305,6 +305,39 @@ #hwlock-cells = <1>; }; + 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 SDX65_CX>, + <&rpmhpd SDX65_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>; + }; + }; + sdhc_1: sdhci@8804000 { compatible = "qcom,sdx65-sdhci", "qcom,sdhci-msm-v5"; reg = <0x08804000 0x1000>; -- 2.7.4