From patchwork Sat Jan 21 20:04:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 46877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp867283wrn; Sat, 21 Jan 2023 12:19:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXsKyvbeNoOFgE30M+qc9p/6prtnLl5qxFEINr2pjsYPx1lataon69GkOCi802r+2C2TiyIJ X-Received: by 2002:a17:90a:aa8a:b0:227:ca8:4ec8 with SMTP id l10-20020a17090aaa8a00b002270ca84ec8mr21325941pjq.17.1674332369017; Sat, 21 Jan 2023 12:19:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674332369; cv=none; d=google.com; s=arc-20160816; b=P6vDpfLySH/zwA07A0lElVDQiz2Ykoae+zCHDxDQsYZGitZsGb6cmuUm0XXZFyQKyi Avk4N4gOFl4oQXcWmTYbd1v407+yaVayZcqtyn7aItH0CHmyvyVSi76d6lmVKl4suRzX hGsyKNUo7Mk/U62FVkFwN/bARvMwzzpipn9aiBUJJVM+knMfIw1AEgssofUgxbQ+8ncQ zajl93ZE/djJ8wFM3ksZw49P5MFlr0PFxRrjksorR7hE53/IlNRm/T5ZC63ryqATL60z x7y39q5Fqalyax/rffEVCnurNkht3lpZO+Mj5eUVXbg4t65hC+B3bvFxSgHJxZKvXBmK oJFQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0j60d7iQ4NQWxCiQzwUehUL0a3y+Bi4urvTxeUjWvB8=; b=RNn9HtBBU1UjYTDhk/8sgxh4evHEHZUk0YRoqObCJnEKNCJG989+4NL1pIlrzfMJFt plI9Xfb3Z5G+sVvBMFRHHVP63AMIMzdIh/P3ABFslgM+mrgaLEnpka/XIBkkT+Fxomrk 7/49aGncZfxBpFN8r1HT/7GT2eyHnWzfTVMo0PO33zO6yEnCqC1mP49SNWw6v88Pu/b7 w6gQ3M6OQ4BjXcd3bdtVt3zn89+FI0FSkX3TxKwlmhnTM77SxUu5klRws8hlk30vsqqD DA5CUQNazSdprumBPq/f9JNRCjrF16FLzaZFym4G9FPZ6e17cLULqjkldpPzBhJko2re nu5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wz7V7Svw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx1-20020a17090b4b0100b002296a8ff568si7417321pjb.152.2023.01.21.12.19.17; Sat, 21 Jan 2023 12:19:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wz7V7Svw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229805AbjAUUFL (ORCPT + 99 others); Sat, 21 Jan 2023 15:05:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbjAUUFK (ORCPT ); Sat, 21 Jan 2023 15:05:10 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DA6222A01 for ; Sat, 21 Jan 2023 12:05:09 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id x24-20020a17090ab01800b00229f43b506fso7045743pjq.5 for ; Sat, 21 Jan 2023 12:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0j60d7iQ4NQWxCiQzwUehUL0a3y+Bi4urvTxeUjWvB8=; b=wz7V7Svw9SegVn7t5xdBgv0rmPDaDmHugVucHOACIk/EoelZOb1s4Jwa0vj+9nH6Pf fhjKIdyrdch+NgeMQgk8Fo6j0IKfA19sMs5FlvzBQgMlfHH4+A5CvN4VuXvZBOJHYcel zeVDIsmIvFpAtBIhavYrZIVMZh0I2vUxV/gDjk+Qf2gFHHKsvnLY6JQ4LXmq0S2+cpe1 /dBZsFvlEOwIq0BbQ8Cipc24KrYOpVLa3hShtAwkpxHT4RK8KXlxv230Iq3D4BQCxn5o B8C5b/ZWtAyBbxxugpADmTiXsODRJCDcckRCPxxsG0vj0TqZr3fvMJGENK1yelgwhsA4 wcBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0j60d7iQ4NQWxCiQzwUehUL0a3y+Bi4urvTxeUjWvB8=; b=EpzouoUwSjJZjpeXZeIqArXHkGf0WjmAUk35RncXHcPjWNPYodXuYmYZldwhdsv+Z2 I6yp3+455x9elp4tvvhQXoBD4TRbCBuat+L0s87bSMKdawmp+BJx0EZmDVQVynAuLjsa +MNHsuwNTT07lR3KpnDKgQyirrHemHZx2XJZS5RTa/37g/VrcmVZ+JiHzPJ1tWwdCt1o gasE79KbJwlZTJJauvJvIhEcsjP1p90eL0w7bE9csdCts1FbEEmnoxewRbAVlNP3KMFe RmDLGLGiHJABWWpNFzLoqYubrELLJ1UWlqTv3rheDj9XqFSu6bhbXm6VTY9uNayX6fQk 3lWQ== X-Gm-Message-State: AFqh2ko8SnQ6uY2efV63Wsqh5ATqEg7d5WdEd511nwoAjhAEgmMMaOpv yWjdJLXdDsu0lEGIZOTpJpuGyA== X-Received: by 2002:a05:6a20:d80e:b0:ac:b2a3:e39c with SMTP id iv14-20020a056a20d80e00b000acb2a3e39cmr19018212pzb.62.1674331508623; Sat, 21 Jan 2023 12:05:08 -0800 (PST) Received: from localhost.localdomain ([223.233.74.24]) by smtp.gmail.com with ESMTPSA id bg7-20020a056a02010700b004785c24ffb4sm15595269pgb.26.2023.01.21.12.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jan 2023 12:05:07 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm6115: Add smp2p nodes Date: Sun, 22 Jan 2023 01:34:54 +0530 Message-Id: <20230121200454.1423567-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755664738339193783?= X-GMAIL-MSGID: =?utf-8?q?1755664738339193783?= Add the adsp, cdsp and modem smp2p nodes to sm6115. Signed-off-by: Bhupesh Sharma Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 50cb8a82ecd5..3c66f998a81b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -345,6 +345,78 @@ rpmpd_opp_turbo_plus: opp8 { }; }; + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + + interrupts = ; + + mboxes = <&apcs_glb 10>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + + interrupts = ; + + mboxes = <&apcs_glb 30>; + + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-mpss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + + interrupts = ; + + mboxes = <&apcs_glb 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>; + }; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <1>;