From patchwork Sat Mar 25 13:51:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 74915 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp421171vqo; Sat, 25 Mar 2023 06:54:44 -0700 (PDT) X-Google-Smtp-Source: AKy350b0lBQMTmLHuzSVdH+R9o7GV19fAvYm+/PtzAUiHLF489E6trdiW64TQWSOnVECe6Kd233y X-Received: by 2002:a17:907:2d29:b0:8fa:b2b:9de with SMTP id gs41-20020a1709072d2900b008fa0b2b09demr8326429ejc.25.1679752484538; Sat, 25 Mar 2023 06:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679752484; cv=none; d=google.com; s=arc-20160816; b=V3bB1WQ411FWcXWOyrN+yKu3JGaFTCndzqhquvRn18AddSRAtZkqeKHGEe2/ElTrYW 2bxPRPQj31ZIVuIYxLeRA0bj2ahDORK9cU3UxUoQZKHEKAnRj/2esTh7MuKAJmMmkf9u iAC9vl93aSWFjeufW0GsG9dJVCl5PlPE24eLo3AGavMTvZwuSnOPhk/KDSoh9LaBh/7w m6Ad0gXmROO0Y4FGnTHJ7qlTywuSGKC5EmIZs+DxKyzAiAKJNssG2eI4HAbqEwcAumiX 7j5woP3W9UEBszJULn7PcDMg0QVl8p0/CR/HuqhebKkn8JtjLah+SOXY2q3HSD2kJmyi ViTg== 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=pr1/1z33qnRwWK5m0kR+1VEHi8G6I0PDALrO54s/mn8=; b=Uu5i4yPjYBUsKvq0EP9SZroXkjAM3nNOAqUQZfZgcksXe4sNFuNKRHTW3t2fjT2dRK Blc4rAiXEf9KmXjeLWlMQx3xlXs8g29Xj5YL0NoHbMIxyv2GCyvOT8IC1WH+K76qWGLR /lXf8ZNXab3SVsjrQjhlKOi8QG3StLXtt/40y8w068lKOQPIv+nvnjMtZsy/g3sAwp6S Wjp8VYOez5U/WK7U/4NUWfALycfXk6W0jlHgBHDL5Dzx8BrGnkr90zLTv1zLFaCzoMMa uZZu//uCwKWeeJGNqTiRGjQx10yVcTjPqXLmcr3uFCh5ncv/jSuV9UDzxNK+NoN8/bkc vQyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=JQlVfkYr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk17-20020a170906b0d100b008e7916f1952si23144144ejb.822.2023.03.25.06.54.21; Sat, 25 Mar 2023 06:54:44 -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=@dylanvanassche.be header.s=MBO0001 header.b=JQlVfkYr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231801AbjCYNvl (ORCPT + 99 others); Sat, 25 Mar 2023 09:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231575AbjCYNvj (ORCPT ); Sat, 25 Mar 2023 09:51:39 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46A0C126D9; Sat, 25 Mar 2023 06:51:34 -0700 (PDT) Received: from smtp102.mailbox.org (unknown [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PkL8f4gFjz9sWy; Sat, 25 Mar 2023 14:51:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679752290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pr1/1z33qnRwWK5m0kR+1VEHi8G6I0PDALrO54s/mn8=; b=JQlVfkYr6FDQbUON/fiTfPb+Tvd5QHukkpZIDbTqxnI65kQrjxSje6rjN5YkRxyKXAOV4O Kqu+RXF+FcjQRozGGvZGmFE9JYb/EhH2UcxwFRh9jqJ324SDIrgyBSI6ikLMeBaIJTefwq kfOiU6TRM2gxBnP4MnIU4bKWOKacKYNiglnATQHcO5EUcqHerl4JCXQn7MFDMjefvRsCb1 GNMV4Mmo83v3HtPuJQU2s/hwg7Ht7heKKZLwhs0z6yaMfJScfdEyagIvY0vDoBLPjlW/Cz 01mfVIYaU0uxNifaYlzJQqlcBu3aSqDCVxRB3vcCqg3S+aB5SOqNBUGZG1uMsQ== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH 1/4] dts: arm64: qcom: sdm845: add SLPI remoteproc Date: Sat, 25 Mar 2023 14:51:11 +0100 Message-Id: <20230325135114.21688-2-me@dylanvanassche.be> In-Reply-To: <20230325135114.21688-1-me@dylanvanassche.be> References: <20230325135114.21688-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1761348141502425043?= X-GMAIL-MSGID: =?utf-8?q?1761348141502425043?= Add the SLPI remoteproc to the SDM845 Qualcomm SoC which is responsible for exposing the sensors connected to the SoC. The SLPI communicates over GLink edge 'dsps' and is similar to other DSPs e.g. ADSP or CDSP. This patch allows the SLPI to boot and expose itself over QRTR as service 400. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2f32179c7d1b..8dcfe6293762 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3311,6 +3311,43 @@ glink-edge { }; }; + slpi_pas: remoteproc@5c00000 { + compatible = "qcom,sdm845-slpi-pas"; + reg = <0 0x5c00000 0 0x4000>; + + interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>, + <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + qcom,qmp = <&aoss_qmp>; + + power-domains = <&rpmhpd SDM845_CX>, + <&rpmhpd SDM845_MX>; + power-domain-names = "lcx", "lmx"; + + memory-region = <&slpi_mem>; + + qcom,smem-states = <&slpi_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + label = "dsps"; + qcom,remote-pid = <3>; + mboxes = <&apss_shared 24>; + }; + }; + + gpucc: clock-controller@5090000 { compatible = "qcom,sdm845-gpucc"; reg = <0 0x05090000 0 0x9000>; From patchwork Sat Mar 25 13:51:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 74917 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp422936vqo; Sat, 25 Mar 2023 06:58:54 -0700 (PDT) X-Google-Smtp-Source: AKy350Ztsq7t+AuG9Ut6/lnS3AEwzwynS65WauS/kfGiujbyqAz7gfbkOkRjI1XO/SFXWiw7VdRp X-Received: by 2002:a17:906:3118:b0:930:e495:b1cb with SMTP id 24-20020a170906311800b00930e495b1cbmr6537131ejx.75.1679752733994; Sat, 25 Mar 2023 06:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679752733; cv=none; d=google.com; s=arc-20160816; b=s77fo3b2I33pVWtUWaSqKN1qAo92NBk/aUOGRfctZ8D1ypbOxfgbuhMsAFo8+oOgB5 87FD2jyA44iEG1BPslFb0PbkHUiyp+5bkjMpuvWkG6M5HpQ6zLh8tL6bR4HHf1M702tQ A7Lmvu6j5Uf9Z8IE+dj7JOYfBA0GBpv/AnUnanWw7ohog7vrPt/v15/VFv/j875YWnBG RPCeEuBnexgIvj9aw1HgxuWl98TrTBr62aDU5VCGN9FJAaejPPcRT9+mpI27KmMXqsNT Gfr1yp6kwlhg/DqqwSs+N3Z9g/9/2eh3Oj2LuFuVoRWEmx7Bt9pGaBY2PTAKVTCCbe1A WSHg== 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=/+cKn6+YIl/VFTeFPbxQYnCYTH6+Xg1WFAyiARcVV7g=; b=SoCBCQapMxnUxbJKDA2s0aSKJeCv6UMNF7CVL8FBDEVpPLz+RtU9UMyfc4VRDsw+NO X87lSW56Sq091eftwUTjKsLh869XLz7CM2AA2O85cPWbBoTQGhzMuV/c4DxWZLFUzhtP MOMxKBSMi2KncKMcoKpqc4KMgjy9ktdvDnIyIRBehgU5IJXQy6LD+g594tUInm8GPdTe wkqktytOptJ691qtwY8oSuM32DfEw2M1GlyAQdzV0nf13N83FMAYI4DewUpS/v1wla0P x0RFIq5FSNzsAEeAwVD9lhdPsS8nFJGVICxPkhGXwoyXoEUQ8IkNCI0XrdPXQUiOBTZk 2/vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=fdm4iIXt; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709062daa00b00930c6deca48si22042344eji.675.2023.03.25.06.58.30; Sat, 25 Mar 2023 06:58:53 -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=@dylanvanassche.be header.s=MBO0001 header.b=fdm4iIXt; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231932AbjCYNvp (ORCPT + 99 others); Sat, 25 Mar 2023 09:51:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjCYNvj (ORCPT ); Sat, 25 Mar 2023 09:51:39 -0400 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E48C4113C9; Sat, 25 Mar 2023 06:51:38 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4PkL8l41mLz9sZ1; Sat, 25 Mar 2023 14:51:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679752295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/+cKn6+YIl/VFTeFPbxQYnCYTH6+Xg1WFAyiARcVV7g=; b=fdm4iIXtmCk+9spVcjN1TRpdNJWV1pWQRnaaapo9/HBcfpNviWSMA3JRMqCpzIWOgpcZ9R zpG/psAxzEcjmVIh/SThqTo2ZMnIT6ahH4/8RDSQhOLHkcLobVkdSEiFwgELfnnEp8zmnd bzmQlr1H57T+S262K9Q6HELviZOSQlUZdZvUEOHw+VUN3vxZ0GUC1DtW7r/wmwXybphYSk sIaBjWiu6RDFX/gthG+jNVppV8mniYXkTw2+gIVUk7ksMfNZqTF/2hi+0ORBXQiz9Ol6zx mpYy/IC8KgBwfjLD5+uprJQSDVaje9UXeV4XjLgtjGFKKFJwTqGOdA9N1TRfEg== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH 2/4] dts: arm64: qcom: sdm845: add SLPI FastRPC support Date: Sat, 25 Mar 2023 14:51:12 +0100 Message-Id: <20230325135114.21688-3-me@dylanvanassche.be> In-Reply-To: <20230325135114.21688-1-me@dylanvanassche.be> References: <20230325135114.21688-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4PkL8l41mLz9sZ1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1761348402880367695?= X-GMAIL-MSGID: =?utf-8?q?1761348402880367695?= Qualcomm SDM845 SoC features a SLPI DSP which uses FastRPC through an allocated memory region to load files from the host filesystem such as sensor configuration files. Add a FastRPC node at /dev/fastrpc-sdsp and a DMA region, similar to downstream, to allow userspace to communicate with the SLPI via the FastRPC interface for initializing the sensors on the SLPI. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 8dcfe6293762..5a6c7d00719b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -878,6 +878,14 @@ mdata_mem: mpss-metadata { size = <0 0x4000>; no-map; }; + + fastrpc_mem: fastrpc { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0 0x00000000 0 0xffffffff>; + alignment = <0 0x400000>; + size = <0 0x1000000>; + }; }; adsp_pas: remoteproc-adsp { @@ -3344,6 +3352,22 @@ glink-edge { label = "dsps"; qcom,remote-pid = <3>; mboxes = <&apss_shared 24>; + + fastrpc { + compatible = "qcom,fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "sdsp"; + qcom,non-secure-domain; + qcom,vmids = <0x3 0xF 0x5 0x6>; + memory-region = <&fastrpc_mem>; + qcom,assign-all-mem; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb { + compatible = "qcom,fastrpc-compute-cb"; + }; + } }; }; From patchwork Sat Mar 25 13:51:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 74918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp423114vqo; Sat, 25 Mar 2023 06:59:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aDuc3/ROlH/6M/TW+r7AGI7OVgqzWXx34wr7d6It+Y4LwdDg9v+Jt7s0zC9I6iy+lmA881 X-Received: by 2002:a05:6402:712:b0:502:20f0:3ee1 with SMTP id w18-20020a056402071200b0050220f03ee1mr5819534edx.31.1679752757167; Sat, 25 Mar 2023 06:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679752757; cv=none; d=google.com; s=arc-20160816; b=b1RLzlnmNWv31YPgJXgWPVtYS2Sr9GWKYIXkqPTY6boX0yNSpg0a6vi/zMGkWjbdds kpfcdwbZZ2CRk5g63M7WnNpCd7JULGLntydoJ/IrKZT9G/5Ur3eR9votpdDdYmTGiFAk PqX8e4+Y7KR2Dxk21j6TRFMSzviWn4TTVxg5T9c6j6Ij/v1k1a1MTen4CRCm12gCy/aR 0p+HZMKhSgQ0uOMWtZ9Q/o+/pOxMLhGWjYbHMmN9kUOdOBLAZgf3uJsPjp/K2/2D4jt8 o5vbPXQqdhcHgVEpI/M85c+lvAiCnXyQPywzQr+rmq9OovUOLXqfZUMSdujEqVKSanc6 BBrQ== 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=3TgYxIYBsgJ3DUHbxhjvEZTBfEJtBTwhr68FKDRs1wM=; b=WkjCAzrBLMJNHDGSwEMeGTerzASRcw41Z6YGfHhk4o9k7VjXIi+p/VhzExPLJ5Y3UD IvWSml6d8zdP0WwziGc0habNXFJkpptE+iZxXz9801WYMyxM0DiQ250H5GBJGL9z6hdc XxlPSnKw2RA+JYHaweAUHLpWWC4h09DKcwiVgjRZU1x8edy5RrvvHihRRYmties9TAdo /ZfjMHQKYKYi8u437w/0Cs6qFck4kpECBWCnM17BQC8mxevWBpD3yirdnOikIZBloVIM aBm3GvqbLEQVY8arWdIa8709nkkmpUYdHXe53KHqn/F0+ANcAsGgG7NNYK+TRJqGKcbc o8jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=vSqDH8Zn; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a50fa8c000000b004ff081c3880si25056791edr.475.2023.03.25.06.58.54; Sat, 25 Mar 2023 06:59:17 -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=@dylanvanassche.be header.s=MBO0001 header.b=vSqDH8Zn; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231985AbjCYNvw (ORCPT + 99 others); Sat, 25 Mar 2023 09:51:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231925AbjCYNvo (ORCPT ); Sat, 25 Mar 2023 09:51:44 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9125C11EA7; Sat, 25 Mar 2023 06:51:42 -0700 (PDT) Received: from smtp102.mailbox.org (unknown [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PkL8q1x9Sz9sWQ; Sat, 25 Mar 2023 14:51:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679752299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3TgYxIYBsgJ3DUHbxhjvEZTBfEJtBTwhr68FKDRs1wM=; b=vSqDH8ZnQUz8euuYmZwMrCoGtq7wg4GG8T6cOsHUKTy1cnf2nKrHtMBjchfR+MaNm9Ggz9 sYHQAh+/xvk9GHTLAn0AifBXhoMLoWVW5yNmcok24yda9Pe6sZXf/JHu22XGDkK+SKOptT rfj8iZeUzcC51b7uqvCdTWoBFfnKohnRIkkRz+2BMgBjZ08PP1y5KArb86tgs7xhpt7Nnz hSyNRebNKy2YLkGaGkQcu+UF+84Lt1coy4SSUQyPfR6C5RY490DsxbfaPih1Qu90yPNmVA GNCwAKj95d9OyR51TZkwWZJOuE/a54se0+3CjzJZDFf/YceJVE6f43LxsAfE7g== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH 3/4] dts: arm64: qcom: sdm845-oneplus: enable SLPI Date: Sat, 25 Mar 2023 14:51:13 +0100 Message-Id: <20230325135114.21688-4-me@dylanvanassche.be> In-Reply-To: <20230325135114.21688-1-me@dylanvanassche.be> References: <20230325135114.21688-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1761348426747148885?= X-GMAIL-MSGID: =?utf-8?q?1761348426747148885?= Enable the SLPI DSP on the Oneplus 6 phone with a Qualcomm SDM845 SoC. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index b01542d79ae2..a14e6021c934 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -450,6 +450,11 @@ &ipa { status = "okay"; }; +&slpi_pas { + status = "okay"; + firmware-name = "qcom/sdm845/oneplus6/slpi.mbn"; +}; + &mdss { status = "okay"; }; From patchwork Sat Mar 25 13:51:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 74916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp421935vqo; Sat, 25 Mar 2023 06:56:23 -0700 (PDT) X-Google-Smtp-Source: AKy350b8XnQ03DkZ6YGnTZ8f7uCUxRKFajmhFD/FdKxSL1tNtgGNPWH7P2t20TtY3g1et+nfpjhZ X-Received: by 2002:a17:907:d508:b0:93e:24f6:d7a1 with SMTP id wb8-20020a170907d50800b0093e24f6d7a1mr5432225ejc.61.1679752583688; Sat, 25 Mar 2023 06:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679752583; cv=none; d=google.com; s=arc-20160816; b=GS93nQsRzUggKYlhO/2m5ZdTBJxExA9CULbaUSmv9YA643TKbBSgUQAbqUJxoAlJUZ ANV5KbzDkDwC7fkahhOiZfR2/F//x3eGcyPNpAa6IzTTmx/KQ2HVlXQdE+zn/JAV0eXF WlmPvnA9O/9R2YyI6ZRIoZ07A8qUxSOeidL3hjLDLkElvJA8rEe4XJsxUP95S0p9bNlz lchrpwP+B1xGl0CBdxN9TIfwfUmgmshePgD7JvpdULyZIcrnsw5WFgc2y3Aaoa/PWFWY gXDnSproCpCBs89VmzjlxkezRSlAp1kqg7TQWddVW6VhNnpVMtmbUtgzTHF40xbdQJyi 2VOA== 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=mJrkeajSbPmUTlnQcK+oYCWNNZwdbEPrtpC9LjWx5tc=; b=DSM+5x0U0KVza0ODu0l1uUtH0EcajmtZL7lrE8/K7mJP6NYka4MVNA7Z4RIiewiNUD 0Qby/bt2IlWHLO1EnWufUFZyIkY/W4n73flAwj4Cson1V2ZcRoN5H5o0Uh8m2q7vChXd akLJ211xZgKNyKLkpA0oYfm4ggCapWSi/adAOOlpkyHS+aLpAj/hpsxBumS1Fx7LdRxl W1/J19J1k0ZGUiFNol1l0r+d6gpcm6J6kyWi+yzJ6GPVGfmen7JsDmrMutwIjqOE3jBn RTFyxIHLzYIsnpuZTAaN3Z758uuZnTJeRJHZs83mFpmMiTSYtvo+dyRm/oktu6Yy9sMg JSww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=1G64lqDz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a1709064c4700b009332cc3b334si18524018ejw.59.2023.03.25.06.56.00; Sat, 25 Mar 2023 06:56:23 -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=@dylanvanassche.be header.s=MBO0001 header.b=1G64lqDz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231786AbjCYNv7 (ORCPT + 99 others); Sat, 25 Mar 2023 09:51:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231941AbjCYNvw (ORCPT ); Sat, 25 Mar 2023 09:51:52 -0400 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D89A0149AA; Sat, 25 Mar 2023 06:51:47 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4PkL8v5QV1z9sZ1; Sat, 25 Mar 2023 14:51:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679752303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mJrkeajSbPmUTlnQcK+oYCWNNZwdbEPrtpC9LjWx5tc=; b=1G64lqDzuTp8F6gZXdvDNTrBOG7skFONfDAU8GnkwSoOmsFTVB0Kq1pzke/SEUPwP9TLWS kpJRwlQWqC8PUzDd+iRxlyW04jRl2La3tGBma4m/EYcdNQvPeiJyrUyvIJv/hD4yQXbp1h 1ZecPwCKH6vVMpXkbz8szSWHNwaRFAFxJq8XXFG6FzOD6Hg96TjWjfNIP/li7/zYXbduoT lo63yTEH1zQQ6lmUJYwg8FZo68aeR4HDL9Qfqx6AnTrf2JwIVnN6R73NU1Un0MkzXBrpX2 fLJWuF8x5ywzwyuDE/BQxHi7lGhoNFXqZaCp155Vq8BrJ1hTwYCWvX+Z9Zr/1Q== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH 4/4] dts: arm64: qcom: sdm845-shift-axolotl: enable SLPI Date: Sat, 25 Mar 2023 14:51:14 +0100 Message-Id: <20230325135114.21688-5-me@dylanvanassche.be> In-Reply-To: <20230325135114.21688-1-me@dylanvanassche.be> References: <20230325135114.21688-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4PkL8v5QV1z9sZ1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1761348245131717385?= X-GMAIL-MSGID: =?utf-8?q?1761348245131717385?= Enable the SLPI DSP on the SHIFTPHONES SHIFT6mq phone with a Qualcomm SDM845 SoC. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index b54e304abf71..66d1cac6c515 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -501,6 +501,11 @@ &ipa { status = "okay"; }; +&slpi_pas { + status = "okay"; + firmware-name = "qcom/sdm845/axolotl/slpi.mbn"; +}; + &mdss { status = "okay"; };