]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: ocmem: make the core clock optional
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 23 Mar 2026 01:20:57 +0000 (03:20 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 24 Mar 2026 02:18:20 +0000 (21:18 -0500)
commite8a61c51417c679d1a599fb36695e9d3b8d95514
treedecc228b88b8d4a9a06f9b84393c185422abfa89
parente031e7ceac4ee04973bd77362c363734e79dd08c
soc: qcom: ocmem: make the core clock optional

OCMEM's core clock (aka RPM bus 2 clock) is being handled internally by
the interconnect driver. Corresponding clock has been dropped from the
SMD RPM clock driver. The users of the ocmem will vote on the ocmemnoc
interconnect paths, making sure that ocmem is on. Make the clock
optional, keeping it for compatibility with older DT.

Fixes: d6edc31f3a68 ("clk: qcom: smd-rpm: Separate out interconnect bus clocks")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260323-ocmem-v1-1-ad9bcae44763@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ocmem.c