soc: qcom: ocmem: make iface clock optional
authorLuca Weiss <luca@z3ntu.xyz>
Wed, 14 Jun 2023 16:35:49 +0000 (18:35 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 03:54:39 +0000 (20:54 -0700)
commita7e12e7bda08c367460eed0e4aea5c3694959df1
treec774d5eb8361a0668b8523692ff2ab2786824900
parent7a2fcba1f4031fa472f069fcd856f19d367b5808
soc: qcom: ocmem: make iface clock optional

Some platforms such as msm8226 do not have an iface clk. Since clk_bulk
APIs don't offer to a way to treat some clocks as optional simply add
core_clk and iface_clk members to our drvdata.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230506-msm8226-ocmem-v3-3-79da95a2581f@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ocmem.c