Skip to content

soc: qcom: ocmem: let the driver work again

Dmitry Baryshkov linux-arm-msm lkml 2 versions New

Get series with b4
b4 am [email protected] change-id 20260323-ocmem-dfe2d207d0e9

Versions newest first

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 7 repliesApplied

Changes in v2 from the cover letter

- Switched to dev_err_ptr_probe() (Konrad)
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc: qcom: ocmem: make the core clock optionaldrivers/soc/qcom/ocmem.c+1 -10 replies
2/3soc: qcom: ocmem: register reasons for probe deferralsdrivers/soc/qcom/ocmem.c+4 -40 replies
3/3soc: qcom: ocmem: return -EPROBE_DEFER is ocmem is not availabledrivers/soc/qcom/ocmem.c+3 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKonrad DybcioBrian Masney
1/3R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] soc: qcom: ocmem: let the driver work again

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).

---
Changes in v2:
- Switched to dev_err_ptr_probe() (Konrad)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
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,

Signature · 2 lines
With best wishes
Dmitry