dt-bindings: nvmem: rockchip,otp: add missing limits for

A patch from »RK3576 OTP support« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 10 Feb 2025 21:55:42 +0100

Commit-Message

The clocks property correctly declares minItems and maxItems for its variants, but clock-names does not. Both properties are always used together, so should declare the same limits. Suggested-by: Krzysztof Kozlowski <krzk@...> Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml | 4 ++++ 1 file changed, 4 insertions(+)

Statistics

  • 4 lines added
  • 0 lines removed

Changes

---------- Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml -----------
index a44d44b32809..3201ff8f9334 100644
@@ -62,6 +62,8 @@ allOf:
properties:
clocks:
maxItems: 3
+ clock-names:
+ maxItems: 3
resets:
maxItems: 1
reset-names:
@@ -78,6 +80,8 @@ allOf:
properties:
clocks:
minItems: 4
+ clock-names:
+ minItems: 4
resets:
minItems: 3
reset-names:
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...