Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5872522ioo; Wed, 1 Jun 2022 14:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRsnfcogLzsuy2g4rEfIdCeVQ+Z3LGyi5DfsJmz3XnYtJ/lx/dvokmNIwZ3f/Y2wuKnj/q X-Received: by 2002:a17:90b:682:b0:1e3:142:a562 with SMTP id m2-20020a17090b068200b001e30142a562mr17822299pjz.91.1654119393280; Wed, 01 Jun 2022 14:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654119393; cv=none; d=google.com; s=arc-20160816; b=VPbh3gzCoPTffiHFnbv133d2lEEjBiJKz5m2/LCt+8oqzcb2TpH4NCQnhD9lx1OqNX 5EUbyVpGK1FHgHpCur4vhr0/NOasgyYCt02YhDorxv8m4MhVqbuhcQw6kZLhFKxQYRkL Q93WUfbhVki1GFELLI7n78ehSw1Z194cMMNq4MQo7pzOHZBJpoeG0AbFHXtagglChCvs hG3hMEhIEhaFw/Ot0Cf5cmo8xQQkwpsxx9tm0X+ich6xtpVU+zdgqGr2y6j9NvG5aZm9 fQY/N4OLWQxHHvrrxRvnzYHIPdlrQi3c606LLZwkksdekuLSdqxup2yOIs5GUcQrYgmC cIxA== 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=9ueWb0BKXd4uPUC6xxF9Uy98qoyVabOF9x9jemienHg=; b=DUHyk/oXw6FBKSF+m0xUcnw5cf5AA33M6pbP4wc749p2jmBYo80n++QbcwHevcxlGO mRuR7a7Vzn57dIHo3H1IHTPShOW4o8JkGPsAVh2hEpaiy18s8/NiLfYdRtozYvFs1OEY O52gyUWI1FnfdKNsqMJXDnd/2HEBgf+OBM0oX6Ax9DnGCNIhky9EuiRGiig+2jIBWv/a gSV/RPyxIynqvUIPf/1l0dXI/1L4WPCdFnmGu+Lp2ToOGzc5VGPJg57pc3Zl6QtKobMk 073QvMv0rYGgEfHcxHar+oXY/6enp4ng2vr9vr5EficZ7YCRyCP2ZI+Nk2WxJsNFr5UU 9yJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=j0uXt80Z; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id kb13-20020a17090ae7cd00b001dbdb9a350csi4156880pjb.139.2022.06.01.14.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:36:33 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=j0uXt80Z; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 B186D26ACA4; Wed, 1 Jun 2022 13:43:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349041AbiFAKqu (ORCPT + 99 others); Wed, 1 Jun 2022 06:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352307AbiFAKpu (ORCPT ); Wed, 1 Jun 2022 06:45:50 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F450813CB; Wed, 1 Jun 2022 03:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654080347; x=1685616347; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=9ueWb0BKXd4uPUC6xxF9Uy98qoyVabOF9x9jemienHg=; b=j0uXt80Z6rqjhhMiNytjIvVONw+o87bVYnQRvFtpRkgWXjuW9fid7mNW S6gNPiodxKKyCUsS5+PBkeYRqVlH8Pjq5Gw1+6wS6gI7Tak0JxVEC2LLs 4I1/eP63Cn4hececAvrmBXSazcKecbAvSy4nKa2mz9p0lIiD68UflAj97 k=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 01 Jun 2022 03:45:47 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 01 Jun 2022 03:45:45 -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:20 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id A2FB83FDB; Wed, 1 Jun 2022 16:15:19 +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 02/11] ARM: dts: qcom: sdx65: Add modem SMP2P node Date: Wed, 1 Jun 2022 16:15:03 +0530 Message-Id: <1654080312-5408-3-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 SMP2P nodes for the SDX65 platform to communicate with the modem. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index 2530c4f..669721e 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -150,6 +150,37 @@ }; }; + smp2p-mpss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + ipa_smp2p_out: ipa-ap-to-modem { + qcom,entry-name = "ipa"; + #qcom,smem-state-cells = <1>; + }; + + ipa_smp2p_in: ipa-modem-to-ap { + qcom,entry-name = "ipa"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; -- 2.7.4