Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp545938rwl; Sat, 25 Mar 2023 06:54:02 -0700 (PDT) X-Google-Smtp-Source: AKy350bpPBf6yAFH5Drj/UhVnWBt8KGWLAMkXyXRlT8PED5X+3NZxbVQkVvrv5IsoF5TCiDXMsFC X-Received: by 2002:aa7:c145:0:b0:500:2c4f:f17f with SMTP id r5-20020aa7c145000000b005002c4ff17fmr6986291edp.20.1679752442409; Sat, 25 Mar 2023 06:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679752442; cv=none; d=google.com; s=arc-20160816; b=DgNHKrqXD3EBgbhGtErw9BUkhgbE1a3GH1qusNScXfk8eEf/NlHGVwmY7fywQu3JlS T+ekMbxvar+wQvvgo7p24xYQo7a78D2Q6Bgu2iEYr5MHwVVzZDxktgSJ/8s9h9ALpkar XUiLc19udKC+oKkfvaf0VGRt99Kz4LHQS9k0u/+Q7Wrf8GyqhHZcDi62aa+Qx99a+wqh J9abOg7hJleQi3AeUyx8fTBichwXaepMIWrtVJwns1b85T7Jrtr4pr5aHD+DcnhtlAmn NbSXhRuUmUZ90K9ehQwqOQfxjAELZQKENa+q5FxMdEDaUUadTjBVqPJ/a6YIiobWfgAM 4Iog== 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=YMbLEoGgO0L0aWTTrGydm32RuWu6VoxcVZo86QWXzck=; b=YzF2OoJBB6mP8AihthvineWdKk7bHPitgiT93anAGOhYBqlGTHGe4HyNfaufjCP+gA g9b+igPq9cgTyjxq2pmKToEqeQMcvFkPCmqO33CbIcpF+j+w2yfS2Gs46EsA+SOc4KPa SaxskvMqlTM5fE3YwabQvGb7GUf9dkDGhrXX94nC5/BVkdHCj5NAlpVJIFc0LI4aqoG/ eY1s7A7UIzK3QJyFEk/d7uZSKNhSQWtEY1MCOPqtovIi/C65FYL+JKonnCrnsW8XpLYP hy3Los66JgcN1Z84BrOHRzdvy5FB5VgIGYCIEAEtiiNKJGL2RcVOUBGKuqbLTHlaCG4t QwRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=cP6KByAO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g17-20020aa7d1d1000000b004ad7a9f851csi24271021edp.390.2023.03.25.06.53.38; Sat, 25 Mar 2023 06:54:02 -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=cP6KByAO; 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 S231375AbjCYNvh (ORCPT + 99 others); Sat, 25 Mar 2023 09:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjCYNvf (ORCPT ); Sat, 25 Mar 2023 09:51:35 -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 C96CB11E8D; Sat, 25 Mar 2023 06:51:29 -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 4PkL8Z2Jb8z9sZ1; Sat, 25 Mar 2023 14:51:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679752286; 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; bh=YMbLEoGgO0L0aWTTrGydm32RuWu6VoxcVZo86QWXzck=; b=cP6KByAOhabnsHWqbfArLEXes96hdm4tJIlx3G7EjvcUQ7D9UX72pqG/fjH64nUWzW40Qz 0iLbD92bey1YRQJpUB2Ms5RGIzj8CHg5RubTQX10v2INiV1n04zX1lZ5wWa89mZD2xhHMt aA3gmNrPU6HjjoSL9ItFYe8tZNbrp8KZiTi7JPvJePfzwxR7iAu15dan47TX1Bvg5FYzxJ u6Lc4DSojxrfewchAEXzgQ8v++Ak6lZOCAx325JeED1u2R7gRy/7+HuJqESGrp030zv2Ff br+fO8MWzt/MpL0HEcXkhEvyVRPME4ve/70RtHuLd5/6vDi+RDiwjtLoC+SiMg== 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 0/4] Qualcomm SDM845 SLPI DSP enablement Date: Sat, 25 Mar 2023 14:51:10 +0100 Message-Id: <20230325135114.21688-1-me@dylanvanassche.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PkL8Z2Jb8z9sZ1 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 * About * The Qualcomm SDM845 SoC has a separate SLPI (Sensor Low Power Island) DSP for sensors connected to the SoC which is responsible for exposing sensors to userspace, power saving, and other features. While sensors are connected to GPIOs of the SoC, they cannot be used because the hypervisor blocks direct access to the sensors, thus the DSP must be used to access any sensor on this SoC. The SLPI DSP uses a GLink edge (dsps) to communicate with the host and has a FastRPC interface to load files from the host filesystem such as sensor configuration files. The FastRPC interface does not use regular FastRPC Compute Banks but instead uses an allocated CMA region through which communication happens. * Changes * This patchseries completes support for the SLPI in the Qualcomm SDM845 SoC by adding the SLPI to the SDM845 DTS and enable it for 2 hardware devices: - Oneplus 6 - SHIFTPHONES SHIFT6mq * Related patches * 1. Remoteproc changes to support the SLPI DSP in SDM845: https://lore.kernel.org/linux-remoteproc/20230325132117.19733-1-me@dylanvanassche.be/ 2. FastRPC changes to support the SLPI DSP in SDM845: https://lore.kernel.org/linux-arm-msm/20230325134410.21092-1-me@dylanvanassche.be/ This serie does not depend on any serie, but all of them are necessary to enable the feature in the end. Kind regards, Dylan Van Assche Dylan Van Assche (4): dts: arm64: qcom: sdm845: add SLPI remoteproc dts: arm64: qcom: sdm845: add SLPI FastRPC support dts: arm64: qcom: sdm845-oneplus: enable SLPI dts: arm64: qcom: sdm845-shift-axolotl: enable SLPI .../boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 ++ .../boot/dts/qcom/sdm845-shift-axolotl.dts | 5 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 61 +++++++++++++++++++ 3 files changed, 71 insertions(+) -- 2.39.2