From patchwork Sat Apr 1 17:35:18 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: 78157 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1353351vqo; Sat, 1 Apr 2023 10:42:43 -0700 (PDT) X-Google-Smtp-Source: AKy350acfYsD++wM1mov3ZVmscbVRNNvDwPP20hddlhy82Mvf9ePCSpKiO3O/UeNHnVV+5r7DDMq X-Received: by 2002:a17:907:2175:b0:920:7a99:dcd4 with SMTP id rl21-20020a170907217500b009207a99dcd4mr31359637ejb.62.1680370963111; Sat, 01 Apr 2023 10:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370963; cv=none; d=google.com; s=arc-20160816; b=e98c4NW0pwOEC1ZQnvbqJbtkQdDA5y8YdiesJ9l7y++G9perUfWxZ3dVlnPfGMXzeg Khj7RX2yOksP3voTCqFCaoWQgFuML4MJIoGHBY3F2E9gsG1PelDVKXSAQwyKuNitAMi7 RD6OgANTXbdBALx0CDDS+Ps7e3CTtz9oeL8p6/ccs6i7716Pe+0nyfiea+vo8xRCLmi0 18UQBS4s5K9G6MDJMaXNpvXKwXoDeDKL3T9eoVPV+9VpMSYS4PHdR4AOgvv/A5cmmeCU 6OO5ROJxabTvJ/txDoACm4nNLp8yDtqh3hvSOg4kZmqqVCMyHxugzWATrVeGzEW2t5mJ gAVQ== 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=xqA+kJXDocnnJfMI7ArNRBbUlPcBQF5RtKhT0QIIGC4=; b=ma/wm0xVBl72gAWU3509ZTRQnV0qnoW6Y4Jt9iUow2+S+H4YIUAi1yNc5LgRTc6zQq KzopudKDHnJCu5nzptfJfaRgOVQ8Yg1Z2bxUypsBC563dCTYgESUM8QI67Q3qxdEl9qs 302A1Yd273nh2diLtxxDyhsXWVKycFZnW6SyXhmNXkPK7cmaaXFAbCcY7GVvkiXjCd24 o+lk7bI93etrS1lWdxXCKHygTYV1dniUqpgR1/1yef6bx+/VQY6E2Bh+IYwVH0n+dQR6 zrxIYtycsL1XXIC3wDcHoX0/ezMQtwr+cf+le8oQ/0fHAVLOHPgv7TCyeSeIGAYMPboW moHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=kyysQ7V6; 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 me22-20020a170906aed600b0092fcba1b0f8si1279933ejb.821.2023.04.01.10.42.17; Sat, 01 Apr 2023 10:42:43 -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=kyysQ7V6; 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 S229965AbjDARfp (ORCPT + 99 others); Sat, 1 Apr 2023 13:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbjDARfm (ORCPT ); Sat, 1 Apr 2023 13:35:42 -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 73FCAB756; Sat, 1 Apr 2023 10:35:40 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4Ppkp10gS2z9slb; Sat, 1 Apr 2023 19:35:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370537; 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=xqA+kJXDocnnJfMI7ArNRBbUlPcBQF5RtKhT0QIIGC4=; b=kyysQ7V6HBz5rWJmFl0CLG8yD5McCRW/PE5CPvoajm0R7X5kdg0LXAY62Ttqdf+hBszU48 CDuJp1ew4TczyrxsK2IrGa5XFC6YFBooSbRikhCyDvf+b9zrGMbJraSxBygCYkMyaLjA2k aY31AWP6iWPNZXt2Zc2Ck+0v1rj9foEXKbHQoPv50FdagEEmOjudw5hSSC8upPgs69jT0Q A0Pm0HuAVQIEnS86cw43+KNQ/vmumo0LtKKCubdyytD6DFG7tkVs/2P4sCAVM/ZcrERvI+ yt4Mza89mnKsZ7iQ5vMb4L6VY+NMMY+p5so5RW4Fyo3jnC+4gHZDlrdAqGiDxA== 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 v4 1/6] dts: arm64: qcom: sdm845: add SLPI remoteproc Date: Sat, 1 Apr 2023 19:35:18 +0200 Message-Id: <20230401173523.15244-2-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-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?1761996662958620127?= X-GMAIL-MSGID: =?utf-8?q?1761996662958620127?= 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 | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2f32179c7d1b..338a715d110a 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3325,6 +3325,42 @@ gpucc: clock-controller@5090000 { "gcc_gpu_gpll0_div_clk_src"; }; + 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>; + }; + }; + stm@6002000 { compatible = "arm,coresight-stm", "arm,primecell"; reg = <0 0x06002000 0 0x1000>, From patchwork Sat Apr 1 17:35:19 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: 78153 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1351170vqo; Sat, 1 Apr 2023 10:37:11 -0700 (PDT) X-Google-Smtp-Source: AKy350afAyHGreb33z9m1KY4QJSZLfTM+iAfqIYLkEpXZ/zZTXd7qHNZ3cqv0FOe5QIwshiQLsdS X-Received: by 2002:a17:907:846:b0:944:6b03:7840 with SMTP id ww6-20020a170907084600b009446b037840mr25932427ejb.70.1680370630806; Sat, 01 Apr 2023 10:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370630; cv=none; d=google.com; s=arc-20160816; b=oP5LXqHWlfJppjFEzzEF4Eh9ygLfmnvIQOkQZQueOwqiIqs1tiwUBLBHmIBopBDjnL TdhfkoMF3i1DDDmeXd9u+THrlEmNmTeOfaAIVbwO7wNVYqSGvJwRGExAsyjB6t4bi8CK whJDOj7efs+cTPW6DVYt9RHskiEsJmRLBoNV9wmLmPGB+qJDq28yWfhWgUECWHc+WMF3 bdNQTp08k4OZTO/UQCwRO67+XXReH+DedItXYMeM4PPzpS3vjDXMb2ZS1o3aCo1dDj1P CqFMJJfIS4gSqiVsbCRB8AvQEsM4qrdAJ/y2fVYt9WbiL9aFC3f8DtX2aq+1A6rqZDoc Sp1Q== 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=89+6K5+dVh1rTgHK8yIcdKeIjnxl4WNbv71lKIaqsj0=; b=cts/ZAMkk0RD223vW0BOdz97vT3ogmieTCMc7Fx7u5mEdcam12xnowVX5CFbuD4guK nbl79afKW+QhxJ0OuURqsSAOWFsfFtOQPek6hd0OBidoHKwX65H2AYA/dhnNRAnVveaI k14bxPAUYWhiImxkr/88JKj76yPx5guwPDjgqJ0MMJCqfX5EUP+7XtGhg5t51x39xzjV iiaAuvbDeqtQeCCKrXftl1LX5XvvlvRNxwWFRrQJqlYR+SdFjyCUqWkjmghf+PFqrZlA KE1ZU9aVUTZWsVRrUh6pnCyWKKD/XIeHq6reEdPnLILv19uuEOS+iupTgtESR1Iw7JIc j9UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=pEh8pqHc; 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 c13-20020a170906694d00b0093297d89d19si482274ejs.979.2023.04.01.10.36.47; Sat, 01 Apr 2023 10:37:10 -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=pEh8pqHc; 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 S230073AbjDARfs (ORCPT + 99 others); Sat, 1 Apr 2023 13:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjDARfo (ORCPT ); Sat, 1 Apr 2023 13:35: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 92C82B443; Sat, 1 Apr 2023 10:35:42 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4Ppkp32z4Dz9sdM; Sat, 1 Apr 2023 19:35:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370539; 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=89+6K5+dVh1rTgHK8yIcdKeIjnxl4WNbv71lKIaqsj0=; b=pEh8pqHcDFh18aR1HJrl4bhFuJmxk60BiaRkdRqduKqBbdoiuX01KlT44t65eEJuZE37m9 gWBLmMZDO5VjRhNRGrQJlj+djddQP7VWE0iYigKFRSPY53rF43rl8tCFo32jb58dePwWQu 3j2qQm6GKRj2l0lHFViaWtoy9KdzJeOr5fMnqjcVqmXUxsclctZoUZQRVfdAQ3La8MBUtD KBvpTi8kGISeaB2dFwcUSamwgkzq/bHTGTRriAb53u3V6NvGP+1xEOjDK1mXQnKfThB773 6l2jiWP8p38u33ivO+pnJR+zV4MHknvo15QNObjA/pOl9qwbRH3KU1wnipWluA== 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 v4 2/6] dts: arm64: qcom: sdm845: add SLPI FastRPC support Date: Sat, 1 Apr 2023 19:35:19 +0200 Message-Id: <20230401173523.15244-3-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-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?1761996314424683220?= X-GMAIL-MSGID: =?utf-8?q?1761996314424683220?= 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 338a715d110a..1f25a7f4e02b 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"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + reusable; + }; }; adsp_pas: remoteproc-adsp { @@ -3358,6 +3366,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>; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@0 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <0>; + }; + }; }; }; From patchwork Sat Apr 1 17:35:20 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: 78154 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1351186vqo; Sat, 1 Apr 2023 10:37:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZZrgqKroX49KIvmJygihJt+aG/ZK/52UEMYhT8lM52eSR0TXus23O5pje1w7l6G74fsPhe X-Received: by 2002:a05:6402:1145:b0:4fb:9b54:ccbf with SMTP id g5-20020a056402114500b004fb9b54ccbfmr29406793edw.22.1680370633109; Sat, 01 Apr 2023 10:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370633; cv=none; d=google.com; s=arc-20160816; b=rge78Q+DYF4H4KOVpj6nJBkgsvOVQHsHXcUquEu6upEWYz0AOgIP8F9Xzb0PDfd5fA /yZGH6hgEiEcQRK0ryFdReTYk2+olNNZR6G7WFQPs+m9LVz9splAM1lS9Z4kdK8vi0hC 0gURXhvy014XSPzaF3Ig2ZB+KIydeYEYUrncFPFrO099FOmuqGoxTBLcoaVvq25bcOwy 3G4cyLsLQpDWsMi/QjJYStPs+VIyrkm731uYxnyAb9dfoSpyX3ik0XohT4f+jW/ytDkS WCcUzdy8UiuAWulI7rqRdsTdmHi7f3ej/Y5mrEYIm54aNbFS++E96kQ8WmEj+llB32Mw 5c+A== 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=iZhIwR0pdPe/UTS9MWWLjnRfXYvEHH8+DAyaIYA4HTw=; b=e5AbXNifoNo+grabjkycEFf8/6As2VyU1zhnGZYXZKS8ZFIKiD/PhLzAiHf9i4Atkd 3NWoPH/+Pt0n6GWYAEY+5MBOpQWQS3e7LURu7bxJcaGN/AOVk/oD3OY8EI7oAOP7E9cb QRIU5oobZT3XtjPmJVsuYcdf6EyLEc/gFTbGX1hwTiNsf2lix4AvQLe3LHAYK5k7+1Wf HsG4b5qZ3N4uno6dkc5+6puq6kuN45dUKERE889KhQFZbFS7sgb9lBilJOR3q4e7C/gh A5tNTGfkSeJMjzkCjSHGAhB8aK2Cl1aQKP1DHNkFge0vWu/p2uRB96Vxfco+Sz9vh/Z1 aDuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=BRcZH3lb; 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 l10-20020a056402028a00b005025288e379si2875572edv.60.2023.04.01.10.36.50; Sat, 01 Apr 2023 10:37:13 -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=BRcZH3lb; 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 S230122AbjDARfv (ORCPT + 99 others); Sat, 1 Apr 2023 13:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjDARfp (ORCPT ); Sat, 1 Apr 2023 13:35:45 -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 4B18AE192; Sat, 1 Apr 2023 10:35:44 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 4Ppkp52RBnz9smY; Sat, 1 Apr 2023 19:35:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370541; 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=iZhIwR0pdPe/UTS9MWWLjnRfXYvEHH8+DAyaIYA4HTw=; b=BRcZH3lbbT9yZT4YFUG6W5dXNXkKYVbvERdY04iv80/Iz80tM+5eWd8LasyJRd5SQaT6M2 I21W/56EBu/ouMDON+nPhB+/Inbtb2LePNbzV6aOd/SP+yvB7iDBuNIa2FWHetK6QeDrNy X0hw/EPwA3gOP2v2193kHWuDzuyIKSchDGFvjAlkSFP5hi66kejE5EJb1ALtVrBFdl6Gjp 52ByT5gI9rvPSDFj6EZv6GRolILh7qRuQFWDDqjntUi64/ifbvWyTo52kOobhrv+HQ4AFo nLy6dBLBHnppQ1AO82qtDUsQpswSa/bN/36Fivb8Tdv320kP3Ys+QsjtepIeFg== 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 v4 3/6] dt-bindings: firmware: qcom: scm: add SSC_Q6 and ADSP_Q6 VMIDs Date: Sat, 1 Apr 2023 19:35:20 +0200 Message-Id: <20230401173523.15244-4-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Ppkp52RBnz9smY 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?1761996316810575485?= X-GMAIL-MSGID: =?utf-8?q?1761996316810575485?= SSC_Q6 and ADSP_Q6 are used in the FastRPC driver for accessing the secure world. Signed-off-by: Dylan Van Assche Acked-by: Krzysztof Kozlowski --- include/dt-bindings/firmware/qcom,scm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/firmware/qcom,scm.h b/include/dt-bindings/firmware/qcom,scm.h index 1a4e68fa0744..d1dc09e72923 100644 --- a/include/dt-bindings/firmware/qcom,scm.h +++ b/include/dt-bindings/firmware/qcom,scm.h @@ -8,6 +8,8 @@ #define _DT_BINDINGS_FIRMWARE_QCOM_SCM_H #define QCOM_SCM_VMID_HLOS 0x3 +#define QCOM_SCM_VMID_SSC_Q6 0x5 +#define QCOM_SCM_VMID_ADSP_Q6 0x6 #define QCOM_SCM_VMID_MSS_MSA 0xF #define QCOM_SCM_VMID_WLAN 0x18 #define QCOM_SCM_VMID_WLAN_CE 0x19 From patchwork Sat Apr 1 17:35:21 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: 78155 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1351254vqo; Sat, 1 Apr 2023 10:37:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZUaSYyYCKz8x2TU521pyWqc/e4L5R27+cBa5CiMyOgkhsbcf6AJxUrAapdml3QrXfgdocp X-Received: by 2002:a17:907:9a0d:b0:947:55ad:dd00 with SMTP id kr13-20020a1709079a0d00b0094755addd00mr8705940ejc.26.1680370642854; Sat, 01 Apr 2023 10:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370642; cv=none; d=google.com; s=arc-20160816; b=0AZ+ZJGpmOSj5eZwCZPwMjF2nLrmsMTHNok5sFqqWKqO4G7eCS3e7HRLCVbSdjOphy oWlWJgGLDvlSux2KtfsSEraWRQkSSBgd7odlfg8iq17IiHVTavY1i7czRpdRrWWgFWnC M41dCWPrp8LAT8fnIFCa/uvCgda60bLjOF6f7VHQ/HUohAcA/X84MaBbwob0iJWKttnJ VAGA2pvNMBV95fsp62ue3Y9gMVpyncBCshFGCsvPJgUKVpr2CmY+sLWIWfLHrEBjH+c2 0Y0z3U+OVujAqJW0zOHL7QYIWpSJYdBJ7UF2TFqhn0rHNYkEuIJGHULgvMTCbxGHs16I 4vAw== 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=hWiphqrZhkAwhsMq44QXsxmY4StgGMzw96DBVzGwbS4=; b=X2rVb/7yhhrE8zdiwlYIpldop7RmF1w7QizeW3zGa36eEC/wVCryTRWS20kGqhtbeK Uh2txuQQBOz0kQkZl6tuCQ8UCFJULz7uibkKqdSZsciCPOZbPK66zxObMYBK/hSinNvT nl61jPMD8allJHZFhKTeM1lGD5sJrxomHmAjnCtr8F/7dV4TuhRVgUz7qFocOzTJPMeB s9Q0MgrGMm2KRrFKaAnyvQ5gdnkgcqY8FxGa387E8YrLgZsD1aYWdn7Qt9+Ble+s+h2U D+n7fzHRl8MWMHEkpKJzCWHhkdoBQAsKWDzguC7RhOOn5To+ZhWsN+2ikwKDLrUs5y1C HLAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=ddfzjzp0; 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 gy19-20020a170906f25300b0093b854a4922si4782929ejb.486.2023.04.01.10.36.55; Sat, 01 Apr 2023 10:37:22 -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=ddfzjzp0; 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 S230146AbjDARfz (ORCPT + 99 others); Sat, 1 Apr 2023 13:35:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjDARfr (ORCPT ); Sat, 1 Apr 2023 13:35:47 -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 3BE0B1CB81; Sat, 1 Apr 2023 10:35:46 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 4Ppkp71fpzz9sln; Sat, 1 Apr 2023 19:35:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370543; 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=hWiphqrZhkAwhsMq44QXsxmY4StgGMzw96DBVzGwbS4=; b=ddfzjzp0PySIkcifLTRe7jSBbikRLVMmx/vVPhivEQJqmeoUmjHKtx/4yubxbG6eLxxkgy vrUUtoZqOWH2rmsN/1Z1I3W0OyL11mf5o5QJcXQjETb1OV3dsemq8pTNRH0DtdxIoRxFeO DeoVWdJnz6G51tUZRf472Dfmy8N2mT0ALymrIGURdEq9WKPGzWRPPTI8il3ICrL9hA9Tvo K132rYq0DSkw2ctP5ZRIIqUPihB1GmfIZ0GmG/quWveANFeJ4Oyp1b/N4Tr97cgBRn1tbM 4x3fgJxGJjtjCOLXmQ8nL372y1xuoqWYytZSQ+yjv/qrKQ3hx4jHrUESFO+pwA== 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 v4 4/6] dts: qcom: arm64: qcom: sdm845: use defines for VMIDs Date: Sat, 1 Apr 2023 19:35:21 +0200 Message-Id: <20230401173523.15244-5-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Ppkp71fpzz9sln 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?1761996327041452248?= X-GMAIL-MSGID: =?utf-8?q?1761996327041452248?= Use VMID defines for SLPI's FastRPC node in the Qualcomm SDM845 DTS instead of hardcoded magic values. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 1f25a7f4e02b..dc4b553cbe2e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -3372,7 +3373,8 @@ fastrpc { qcom,glink-channels = "fastrpcglink-apps-dsp"; label = "sdsp"; qcom,non-secure-domain; - qcom,vmids = <0x3 0xF 0x5 0x6>; + qcom,vmids = ; memory-region = <&fastrpc_mem>; #address-cells = <1>; #size-cells = <0>; From patchwork Sat Apr 1 17:35:22 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: 78156 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1351624vqo; Sat, 1 Apr 2023 10:38:17 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/xZFvUu9AmaVqqxyEL2asp7t7wBiqkpcwdZkN6qJK/ESHVUeWtmbvLgacj2Am4xTRHkte X-Received: by 2002:aa7:cb17:0:b0:502:4a8d:c71c with SMTP id s23-20020aa7cb17000000b005024a8dc71cmr15965246edt.9.1680370697696; Sat, 01 Apr 2023 10:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370697; cv=none; d=google.com; s=arc-20160816; b=txhdLUJ/SI+LFVqnK8KwerD6G3te4EQLGrcjHnAxxtM1LTCh9kVuocPCE9Xg0bZ3Ei KpFSe1Kqy0A9xxcHe7VcocatNiIuAUNwgUS5KxyiJzi/C9PMb4rc+ekktZejMckmvkqR MlX0lpHLdhVIzi0AxioDSudygOnvHsqpvw8p4iTW/5ZOkjj1iTZHeX2+dL1Kh+6jRtqy BHAiVKwbXf+6EBBZ66pS5oH4IivNFop+AJa8WWU3hLXmMYuRIl9liAXmHvxi6EGzYyx2 xlnxZ/UkDSxDhbWfoOWI+pvxoA4Aa56MMGBjbgeQ5IGl35vVLQZ8THIsYf9RRl3fb1Zt C5CQ== 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=RjQywl0qasOi8g9t9JlZMByy/hpTTSMy1fxXvskHBnU=; b=0gLOhjOq/v1MhmgBO3iQimqW3fMXWrzLRfSl8GBjXpimvR+CSkDZ0oqGQ+9LhRNpdV IcNhjeGN/NpDXCvWk+DU8VQ7A0HeXUm0Li0F4NZXQTAVhjSZet49LO+xYLfMxPYifUM+ kNfH0NLX3JQZoGspLneUblVgX2o+ELicV8YZcKRGd5onsb/4ly6MxxntYrJiC8PDA1bz zO+stUC90HZAqyzGQ7/GK/oampxBeBFU08r37L21fcKgzi2SrBAkzYVI+k1Lm2xDpT1d 0uxToFbFpz4YuW9DOuUMpdWgWlZp5XSw6JYXLhRfgqaV3cYlq7XI5fBOMyWBTsnek1f4 Tn1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=su4zcFVq; 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 g12-20020a1709067c4c00b009335b145df8si4184573ejp.363.2023.04.01.10.37.54; Sat, 01 Apr 2023 10:38: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=su4zcFVq; 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 S230213AbjDARf7 (ORCPT + 99 others); Sat, 1 Apr 2023 13:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbjDARft (ORCPT ); Sat, 1 Apr 2023 13:35:49 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B02B525477; Sat, 1 Apr 2023 10:35:48 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4Ppkp93Lknz9sk8; Sat, 1 Apr 2023 19:35:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370545; 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=RjQywl0qasOi8g9t9JlZMByy/hpTTSMy1fxXvskHBnU=; b=su4zcFVqp3GBMh9nSiDgCcxB/rSOUSjEVt/odsoSfU09XyiANA/VLO1XcRkL6Yh8vbwTr/ rab3Mqq0VhIXN9IYiadqpRbC5vc7Z+r+T5GUNUR5rVXwniL5dM/KJ/Vpi4P51a95NAb6HP bfLuIPs2abghGQlNaEpU/xm+N2VZv6xA1pnnrS3EU1wD3LEoKbtOu6S8N7FSxpdjaFDwSM mK4FQgNmFiPnj/6d9gAHABayT5IDBCnqdKcbkg6bwCt35k+TMF85pxdIgYTO1EY+swspnY c+NjMwkDznzbBFX4U6U817wT5jBDUdnYjl6XqPcYNpysnwBBdQZshKpeZP5K/g== 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 , Krzysztof Kozlowski Subject: [PATCH v4 5/6] dts: arm64: qcom: sdm845-oneplus: enable SLPI Date: Sat, 1 Apr 2023 19:35:22 +0200 Message-Id: <20230401173523.15244-6-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-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?1761996384322079808?= X-GMAIL-MSGID: =?utf-8?q?1761996384322079808?= Enable the SLPI DSP on the Oneplus 6 phone with a Qualcomm SDM845 SoC. Signed-off-by: Dylan Van Assche Reviewed-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- 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..3bd15984990c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -552,6 +552,11 @@ &qup_uart9_tx { bias-disable; }; +&slpi_pas { + firmware-name = "qcom/sdm845/oneplus6/slpi.mbn"; + status = "okay"; +}; + &sound { compatible = "qcom,sdm845-sndcard"; pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active>; From patchwork Sat Apr 1 17:35:23 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: 78158 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1353471vqo; Sat, 1 Apr 2023 10:42:57 -0700 (PDT) X-Google-Smtp-Source: AKy350ZRM+hLusf3X8iER+vJla+KGl2qgB794gZsPD/3XLcBEbc7DyOVTSZpg2uspspmH18FLVyv X-Received: by 2002:aa7:d814:0:b0:502:1c7d:deb6 with SMTP id v20-20020aa7d814000000b005021c7ddeb6mr28015754edq.29.1680370977321; Sat, 01 Apr 2023 10:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680370977; cv=none; d=google.com; s=arc-20160816; b=mU6uctGO5bOqrN/lr1z3QreFSYkTCuqxSqci+qX/e21bBKeYhS7MxIvFRUW/1bN8AM j7XXw4JASHHb/Y5kHVoQbyQTvL5vafcJFqVTC6HDJx4KVfFj/1aau7LwsppiRuN/vpsi hI24aQXW0zSXr9xx/Um3DfBy0QUjt1YxvooPVBbJjXk0pADnQrCXoC/m2AmnxoTLxWnM VveJZrnQCuzmsJ+KuNB1yk7Q6azTUzgwJhuHkJIEgGO+ptAbpuqWXdPrF5EB+Fi7PPqW nT/HzXYIGzP+reh+5tLb5YJdDEoCaEgNLK6Wa0+yER2v8j3dEoOZde6+cMevF5udECST fRMA== 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=ECZ8dJrYNeEUE2kyi4AeyJJ/4vy98zA9JMEzzgeWDeg=; b=IrlVPb1JTG972C4BboOqB0ZNifE2NWHOx7Vl9Yp6ejD9j0Nm/9BlpKp9TboRvGRZSt 7AXMaz0BOqR1hGApQOsoUfaXwuQYCSKrNEuW1FQODyNMqzv/Qop9d23da+RUYcc5zFb8 p1Azg8Q2OTSOIhrsAnahwdxcqKa6Sdfee5dizXwD5nScaWqjntVW1d5JEV3l6R9GAmuM Ht7FzpA7Z/z0OrinlqgPaG60kvk/ZVZvL27NYAfQ6to74aVh/AP7ubg8EqwNv4sopgOZ 5KMPnGi1lYe9Fw+m7x9RqpIdzEuSrmdJoxKHqm53aiAB77yp/o3GKzX+50ZDKQjIiRRx o1Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=KbcNQX5f; 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 v18-20020aa7dbd2000000b005002e6f0f60si1706898edt.576.2023.04.01.10.42.33; Sat, 01 Apr 2023 10:42:57 -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=KbcNQX5f; 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 S230071AbjDARgD (ORCPT + 99 others); Sat, 1 Apr 2023 13:36:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjDARfx (ORCPT ); Sat, 1 Apr 2023 13:35:53 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1410B1BF5D; Sat, 1 Apr 2023 10:35:50 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4PpkpC6pZvz9skf; Sat, 1 Apr 2023 19:35:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680370547; 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=ECZ8dJrYNeEUE2kyi4AeyJJ/4vy98zA9JMEzzgeWDeg=; b=KbcNQX5fuOHPIDsNrNssN8Ee6y1k6KTe4HQwH0iGokbnCL1ukneoHLryIlXOBj3eawanzz PJZ1xcu7/7vS4wjM5Opf1evma9OhYEnxjHS/jXHyoEggBC7Pht8OSbvWYIX81wocopKSMf 9EP8BCKzWsjDUsWpeDJtIDtp2/fz/1e5b8ge0MEu+qzo/lFEyBhLmbYYWO+Eo9Y2luqRfl V8hcr+rpRjbxJghcs+k4c/Enet5DQ2Qx2Yt6Y2taSJhZFmmP1hxzhxZu76nCYD4bQcXcVp xg1YztmJOaEDY0yfht2T3b/NIMjyZAgarY9Pz28saxw4e56N8hOsAYugvhzyqw== 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 , Krzysztof Kozlowski Subject: [PATCH v4 6/6] dts: arm64: qcom: sdm845-shift-axolotl: enable SLPI Date: Sat, 1 Apr 2023 19:35:23 +0200 Message-Id: <20230401173523.15244-7-me@dylanvanassche.be> In-Reply-To: <20230401173523.15244-1-me@dylanvanassche.be> References: <20230401173523.15244-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?1761996677919952849?= X-GMAIL-MSGID: =?utf-8?q?1761996677919952849?= Enable the SLPI DSP on the SHIFTPHONES SHIFT6mq phone with a Qualcomm SDM845 SoC. Signed-off-by: Dylan Van Assche Reviewed-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- 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..bd9571a258cf 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -572,6 +572,11 @@ &qupv3_id_1 { status = "okay"; }; +&slpi_pas { + firmware-name = "qcom/sdm845/axolotl/slpi.mbn"; + status = "okay"; +}; + &tlmm { gpio-reserved-ranges = <0 4>, <81 4>;