Skip to content

Commit bf6aa2d

Browse files
flamingradianandersson
authored andcommitted
dt-bindings: clock: qcom,sdm845-camcc: add sdm670 compatible
The camera clocks on SDM670 and SDM845 have no significant differences that would require a change in the clock controller driver. The only difference is the clock frequency at each level of the power domains, which is not specified in the clock driver. There should still be a compatible specific to the SoC, so add the compatible for SDM670 with the SDM845 compatible as fallback. Link: https://android.googlesource.com/kernel/msm/+/d4dc50c0a9291bd99895d4844f973421c047d267/drivers/clk/qcom/camcc-sdm845.c#2048 Suggested-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Suggested-by: Konrad Dybcio <konradybcio@kernel.org> Link: https://lore.kernel.org/linux-arm-msm/7d26a62b-b898-4737-bd53-f49821e3b471@linaro.org Signed-off-by: Richard Acayan <mailingradian@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20241218231729.270137-8-mailingradian@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 672daf2 commit bf6aa2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/clock/qcom,sdm845-camcc.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ allOf:
2020

2121
properties:
2222
compatible:
23-
const: qcom,sdm845-camcc
23+
oneOf:
24+
- items:
25+
- const: qcom,sdm670-camcc
26+
- const: qcom,sdm845-camcc
27+
- const: qcom,sdm845-camcc
2428

2529
clocks:
2630
items:

0 commit comments

Comments
 (0)