Re: [PATCH v2 1/4] dt-bindings: rng: add st,stm32mp25-rng support

From: Gatien CHEVALLIER
Date: Mon Oct 14 2024 - 05:37:04 EST




On 10/14/24 09:29, Krzysztof Kozlowski wrote:
On Fri, Oct 11, 2024 at 05:41:41PM +0200, Gatien Chevallier wrote:
clocks:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
+
+ clock-names:
+ minItems: 1
+ items:
+ - const: core
+ - const: bus
resets:
maxItems: 1
@@ -57,6 +65,26 @@ allOf:
properties:
st,rng-lock-conf: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - st,stm32-rng
+ - st,stm32mp13-rng
+ then:
+ properties:
+ clocks:
+ maxItems: 1
+ clock-names: false
+ else:
+ properties:
+ clocks:
+ minItems: 2
+ maxItems: 2

Missing clock-names constraint. They *always* go in sync with clocks.

Best regards,
Krzysztof


Done for V3,

Best regards,
Gatien