[PATCH v2 0/3] soc: qcom: ocmem: let the driver work again
From: Dmitry Baryshkov
Date: Mon Mar 23 2026 - 19:07:48 EST
Commit d6edc31f3a68 ("clk: qcom: smd-rpm: Separate out interconnect bus
clocks") moved control over several RPM resources from the clk-smd-rpm
driver to the icc-rpm.c interconnect helpers. However it was unnoticed
that the OCMEM device also uses that clock. The clock is not required as
all OCMEM users (currently only the GPU) will vote on the OCMEM NOC,
bringing up the clock. Make it optional (and also apply several other
small fixes).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Switched to dev_err_ptr_probe() (Konrad)
- Link to v1: https://lore.kernel.org/r/20260323-ocmem-v1-0-ad9bcae44763@xxxxxxxxxxxxxxxx
---
Dmitry Baryshkov (3):
soc: qcom: ocmem: make the core clock optional
soc: qcom: ocmem: register reasons for probe deferrals
soc: qcom: ocmem: return -EPROBE_DEFER is ocmem is not available
drivers/soc/qcom/ocmem.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
base-commit: 8e5a478b6d6a5bb0a3d52147862b15e4d826af19
change-id: 20260323-ocmem-dfe2d207d0e9
Best regards,
--
With best wishes
Dmitry