[PATCH 2/2] dt-bindings: clock: qcom,sm8450-camcc: Add minItems property

From: Jagadeesh Kona
Date: Tue Jun 17 2025 - 15:09:20 EST


Add minItems as 1 for power-domains and required-opps properties
to allow this binding to be compatible with both single and multiple
power domains.

This fixes:

arch/arm64/boot/dts/qcom/sm8450-hdk.dtb: clock-controller@ade0000
(qcom,sm8450-camcc): power-domains: [[106, 6]] is too short

arch/arm64/boot/dts/qcom/sm8450-hdk.dtb: clock-controller@ade0000
(qcom,sm8450-camcc): required-opps: [[55]] is too short

Fixes: a02a8f8cb7f6 ("dt-bindings: clock: qcom,sm8450-camcc: Allow to specify two power domains")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202506151907.LcLf1RIB-lkp@xxxxxxxxx/
Signed-off-by: Jagadeesh Kona <quic_jkona@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
index c1e06f39431e68a3cd2f6c2dba84be2a3c143bb1..6a530270e5533977ac11863703156122b93690cd 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
@@ -35,6 +35,7 @@ properties:
- description: Sleep clock source

power-domains:
+ minItems: 1
description:
Power domains required for the clock controller to operate
items:
@@ -42,6 +43,7 @@ properties:
- description: MXC power domain

required-opps:
+ minItems: 1
description:
OPP nodes that describe required performance points on power domains
items:

--
2.34.1