[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230327184811.499553-1-me@dylanvanassche.be>
Date: Mon, 27 Mar 2023 20:48:06 +0200
From: Dylan Van Assche <me@...anvanassche.be>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Amol Maheshwari <amahesh@....qualcomm.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Konrad Dybcio <konrad.dybcio@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
Dylan Van Assche <me@...anvanassche.be>
Subject: [PATCH v2 0/5] dts: qcom: arm64: sdm845: SLPI DSP enablement
* 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 (v2):
https://lore.kernel.org/linux-remoteproc/20230327183736.496170-1-me@dylanvanassche.be/
2. FastRPC changes to support the SLPI DSP in SDM845 (v2):
https://lore.kernel.org/linux-arm-msm/20230327184204.498032-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.
* Changelog *
Changes in v2:
- Removed double blank lines
- Enforce alphabetically order for 'slpi_pas'
- Reordered 'slpi_pas' properties
- Fixed FastRPC syntax
- Dropped qcom,assign-all-mem property as this is not necessary anymore
Kind regards,
Dylan Van Assche
Dylan Van Assche (5):
dts: arm64: qcom: sdm845: add SLPI remoteproc
dt-bindings: misc: qcom,fastrpc: allow FastRPC node without reg entry
dts: arm64: qcom: sdm845: add SLPI FastRPC support
dts: arm64: qcom: sdm845-oneplus: enable SLPI
dts: arm64: qcom: sdm845-shift-axolotl: enable SLPI
.../bindings/misc/qcom,fastrpc.yaml | 3 +-
.../boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 ++
.../boot/dts/qcom/sdm845-shift-axolotl.dts | 5 ++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 59 +++++++++++++++++++
4 files changed, 70 insertions(+), 2 deletions(-)
--
2.39.2
Powered by blists - more mailing lists