From: linlzhan The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM (GPIOs). These resources are controlled by the driver via SCMI power and performance protocols. The SCMI power protocol is used to enable and disable platform resources, including clocks, interconnect paths, and TLMM, by mapping resource state transitions to the runtime PM framework’s resume/suspend callbacks. In this design, the ICE driver acts as an SCMI client, with clocks and power domains abstracted and controlled by the SCMI server in firmware. This implementation depends on pm_runtime_resume_and_get() and pm_runtime_put_sync(), which are available in the OPP tree’s linux-next branch. v2: -- rebase the patchset -- update to/cc lists -- Link to v1: https://lore.kernel.org/all/20260430032136.3058773-1-linlin.zhang@oss.qualcomm.com/ -- To Linux Community v6: - Protect calling clock API with fw_managed flag in ICE runtime OPS callbacks. - Link to v5: http://shc-kerarch-hyd:8080/kernel_archive/20260324095703.1306437-1-linlin.zhang@oss.qualcomm.com/T/#t v5: - Align the continued argument line under the first argument after left parenthesis. - Modify the return value in probe function. - Link to v4: http://shc-kerarch-hyd:8080/kernel_archive/20260318170626.3654744-1-linlin.zhang@oss.qualcomm.com/T/ v4: - Commit and signed-off by OSS mail id - Enable runtime PM for ICE dirver - Add driver data to diffrenciate the clock managed by the firmware or not - Link to v3: http://shc-kerarch-hyd:8080/kernel_archive/20251107091315.476074-1-quic_linlzhan@quicinc.com/ v3: - Update the subject of patch 2. - Update returned type of remvoe function and firmware flag in ICE diver. - Link to v2: http://shc-kerarch-hyd:8080/kernel_archive/20251104104935.2752144-1-quic_linlzhan@quicinc.com/T/#t v2: - Addresssed comments from Badgey - Make Document binding of ice pass for binding checking. - Link to v1: http://shc-kerarch-hyd:8080/kernel_archive/20251024050921.3573402-1-quic_linlzhan@quicinc.com/T/#t Initial version: - Add fw managed resource abstraction support in ICE driver. - Add respective compatible and document it's bindings. Linlin Zhang (3): dt-bindings: crypto: qcom,ice: Add sa8255p support soc: qcom: ice: Enable PM runtime for ICE driver soc: qcom: ice: Add SCMI support for sa8255p based targets .../crypto/qcom,inline-crypto-engine.yaml | 27 ++++- drivers/soc/qcom/ice.c | 108 +++++++++++++++--- 2 files changed, 115 insertions(+), 20 deletions(-) -- 2.34.1