Skip to content
Commit 0b421824 authored by Srinivasa Rao Mandadapu's avatar Srinivasa Rao Mandadapu Committed by Greg Kroah-Hartman
Browse files

clk: qcom: lpasscc-sc7280: Skip qdsp6ss clock registration

[ Upstream commit 4fc1c2d9 ]

The qdsp6ss memory region is being shared by ADSP remoteproc device and
lpasscc clock device, hence causing memory conflict.
To avoid this, when qdsp6ss clocks are being enabled in remoteproc driver,
skip qdsp6ss clock registration if "qcom,adsp-pil-mode" is enabled and
also assign max_register value.

Fixes: 4ab43d17

 ("clk: qcom: Add lpass clock controller driver for SC7280")
Signed-off-by: default avatarSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Signed-off-by: default avatarMohammad Rafi Shaik <quic_mohs@quicinc.com>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230407092255.119690-3-quic_mohs@quicinc.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8f7f8d06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment