From patchwork Mon Apr 3 17:36:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 78651 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2475010vqo; Mon, 3 Apr 2023 10:44:06 -0700 (PDT) X-Google-Smtp-Source: AKy350bgE9h1vLnNacNLv72fG8t4xET+WGW1Pd1yYzBvGeUYCK2k/JEEmxjLe78cdHd+lz/h2NCU X-Received: by 2002:a17:906:9442:b0:8aa:c090:a9ef with SMTP id z2-20020a170906944200b008aac090a9efmr33345747ejx.55.1680543845770; Mon, 03 Apr 2023 10:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680543845; cv=none; d=google.com; s=arc-20160816; b=Ah6SbqTCWdSteJkOrYAGyemWwVP+HUbbBTf2oEGFx+6lSwKz1MD5EtKmbfbdxPij1c Fug+SCL/Khe9rA9RS0oXEEmVRkzhQ0ofCrs46nD6C8ptFcT5O4/ey/kR5o92Yu0YZWQu b9YrnxyMYQX97aMnyhGhhSq+1QQMARkQ/fN4oec1K9+xJdgG0ZT+CYJ3cJE8BKtlfFCS VslVrWxktPFPYhPkdMS5By//ZIHXgJywlr1CUTKDghLZ29RKhhimj2afsj2OY+jYTP5O NY2Z4dTEep0vGQ//1zxtpIIC6dPTksrzGfJQpv30L1eI+JPD/0UdGuq30KaFsuALAMgW 9wZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=vmqF5uM49YwjmXrtdFGNdflHs9PzMdLYC/ZaykFH++8=; b=yuOp/MoqOslhEylnWDebb1Vfvpy7dZN2HQyUoRzQwursku9SYS9/Uhj3UYQK/0Nl1q uxhaqgCK3t4k5O/q5LvnhAUvw1uw5lTBlwTLztFJOMFJk30Zud4qjU2oCo0Tze5dNbEY 5ZuOfav8BsglY/yKNDNEZYJv4AWXGyHU6K5os+kq9lRE5os49qm80FbUGFDRGteIUZDj tha4qiAoOYjXz3zo8CIBnitSns+fc4sVRuOWB66Bd7EtmKVWRrHIai0XeCPB+MtJfnA4 i+zLmzwxDBNexaO5pPWRaJiGf5EAeMw06c05r2EgCXdJb2ljKOt/rrTgAk1oCkD58td4 zsCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aU9AScIT; 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 qt1-20020a170906ece100b0093b4e9918fdsi8346648ejb.154.2023.04.03.10.43.41; Mon, 03 Apr 2023 10:44:05 -0700 (PDT) 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=aU9AScIT; 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 S231967AbjDCRg4 (ORCPT + 99 others); Mon, 3 Apr 2023 13:36:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231643AbjDCRgk (ORCPT ); Mon, 3 Apr 2023 13:36:40 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D4C12D60 for ; Mon, 3 Apr 2023 10:36:36 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id c29so39106611lfv.3 for ; Mon, 03 Apr 2023 10:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680543394; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vmqF5uM49YwjmXrtdFGNdflHs9PzMdLYC/ZaykFH++8=; b=aU9AScITIaFsobLTZ2tfGUL6k6GuH9JuuFNA+RcQL85ghH2jBtJ4xtoZu4nPoQHdg2 Djv7uB3mfAG7cxxxCNR7wahtT6sg+zEe+viwPCWe9B1qP9Y4G1csaBrrusDa47ApgeX6 cXkxBnSFfERdLKTzUoHLINh77ns0rwJqLVRYFNj5TvygSnkejx9BAWefo1i8k7hjQsQi IxjbJ/9wWnu6tBZhy3aScsgBqI856tDnt5Hhbw6XRZCtREBvxTP0/NMv8Lc2hD0Fk11K mZ3kIaGhjXc9bAXMiHCMFExkotb3ww9IkQrkiLKpT3NrVvrBK7Wi3/Lx8J5+Iixevt51 6ZAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680543394; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vmqF5uM49YwjmXrtdFGNdflHs9PzMdLYC/ZaykFH++8=; b=ItA004A9fV8/pw3/LsGKGjEmQtN2X10AQz8BI4W33AE3GI44m4Y+VQIlVUFyqDU3SN xBIu/gNvh4LLB/JcLhoPLzrmHgOrqsjRkoitzHilY4waDEM0/HVtDSmupKmCnWht0DKV NFbD496Czya1RLkYSjl4e9YtXrG9CE+IslVkgr8iwN4WGHgvrQliSsY36hVBYlQDANpf 0WDCE2EjAERjH9YT2PoPOKq/0WcrehmvGtAdDot6lKNiqMpg2T/au9tv26uoHhZxrBEQ FBKiAJaxbKrdy4W8QgKWeWBVOikDDui4qsdls5TFEwN2pwqmPN+A4IRkfGNoDZFsBwB8 9VRQ== X-Gm-Message-State: AAQBX9eXILH9aMuPiq7lV9wenkpQNOUU3kDGh+PHv3RNPDlGpLJywDSr H44sDd9jhqHA2UaZ04xPgyMPdg== X-Received: by 2002:ac2:494e:0:b0:4eb:18d:91df with SMTP id o14-20020ac2494e000000b004eb018d91dfmr9182457lfi.27.1680543394449; Mon, 03 Apr 2023 10:36:34 -0700 (PDT) Received: from [192.168.1.101] (abxj135.neoplus.adsl.tpnet.pl. [83.9.3.135]) by smtp.gmail.com with ESMTPSA id v2-20020a056512096200b004cc5f44747dsm1871094lft.220.2023.04.03.10.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 10:36:34 -0700 (PDT) From: Konrad Dybcio Date: Mon, 03 Apr 2023 19:36:04 +0200 Subject: [PATCH 6/9] arm64: dts: qcom: qcm2290: Add SMP2P MIME-Version: 1.0 Message-Id: <20230403-topic-rb1_qcm-v1-6-ca849b62ba07@linaro.org> References: <20230403-topic-rb1_qcm-v1-0-ca849b62ba07@linaro.org> In-Reply-To: <20230403-topic-rb1_qcm-v1-0-ca849b62ba07@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Robert Marko , Das Srinagesh Cc: Bhupesh Sharma , Vladimir Zapolskiy , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680543384; l=1704; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=OGOuJIzvBxSjLJP6dlMoCklt4FuOEYlGVcFCNEeXnhc=; b=gcARjhXadoILMfjW+UfvpmFyip6l3NNYKNW/ChYwC5yC5/C2B6W1VjfBTaVwP9U8GySBnkRhpYSK GNnQMadvAZ/wJIe4ksmwJHGbHwZpGqatRmS41HoKQERgWZjzuHwV X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1762177943683048876?= X-GMAIL-MSGID: =?utf-8?q?1762177943683048876?= Add SMP2P nodes on QCM2290. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi index 1ea558bc35dc..228a1d94501b 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -287,6 +287,58 @@ 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-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>; + }; + + wlan_smp2p_in: wlan-wpss-to-ap { + qcom,entry-name = "wlan"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <2>;