dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
Subsystems (7)
PATCH 1/5 dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
--- .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml +6 -2
@@ -134,9 +134,13 @@ properties: "#reset-cells": const: 1 - clocks: true + clocks: + minItems: 3 + maxItems: 4 - clock-names: true + clock-names: + minItems: 3 + maxItems: 4 additionalProperties: false
Signature · 1 line
2.43.0
PATCH 2/5 dt-bindings: clock: cirrus,lochnagar: add top-level constraints
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks. Drop also redundant assigned-clocks properties, because core dtschema allows them if clocks are provided.
--- .../devicetree/bindings/clock/cirrus,lochnagar.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml +3 -3
@@ -67,9 +67,9 @@ properties: minItems: 1 maxItems: 19 - clocks: true - assigned-clocks: true - assigned-clock-parents: true + clocks: + minItems: 1 + maxItems: 19 additionalProperties: false
Signature · 1 line
2.43.0
Re: [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints
Quoted 7 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks. Drop also redundant assigned-clocks properties, because core dtschema allows them if clocks are provided.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Quoted 24 lines
--- .../devicetree/bindings/clock/cirrus,lochnagar.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml +3
-3@@ -67,9 +67,9 @@ properties: minItems: 1 maxItems: 19 - clocks: true - assigned-clocks: true - assigned-clock-parents: true + clocks: + minItems: 1 + maxItems: 19 additionalProperties: falseSignature · 1 line
2.43.0
Re: [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints
In reply to Krzysztof KozlowskiQuoting Krzysztof Kozlowski (2024-08-18 10:30:11)
Quoted 8 lines
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks. Drop also redundant assigned-clocks properties, because core dtschema allows them if clocks are provided.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Applied to clk-next
PATCH 3/5 dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
In reply to Krzysztof KozlowskiProperties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-output-names.
--- .../devicetree/bindings/clock/renesas,cpg-clocks.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml +6 -2
@@ -32,12 +32,16 @@ properties: reg: maxItems: 1 - clocks: true + clocks: + minItems: 1 + maxItems: 3 '#clock-cells': const: 1 - clock-output-names: true + clock-output-names: + minItems: 3 + maxItems: 17 renesas,mode: description: Board-specific settings of the MD_CK* bits on R-Mobile A1
Signature · 1 line
2.43.0
Re: [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
Quoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-output-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Re: [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
In reply to Krzysztof KozlowskiQuoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-output-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>
i.e. will queue in renesas-clk for v6.12.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
PATCH 4/5 dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks
In reply to Krzysztof Kozlowskiassigned-clocks property is redundant, because core dtschema allows them if clocks are provided.
--- .../devicetree/bindings/clock/rockchip,rk3588-cru.yaml | 4 ---- 1 file changed, 4 deletions(-)
Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml +0 -4
@@ -42,10 +42,6 @@ properties: - const: xin24m - const: xin32k - assigned-clocks: true - - assigned-clock-rates: true - rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: >
Signature · 1 line
2.43.0
Re: [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks
Quoted 4 lines · Krzysztof Kozlowski
assigned-clocks property is redundant, because core dtschema allows them if clocks are provided.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Quoted 22 lines
--- .../devicetree/bindings/clock/rockchip,rk3588-cru.yaml | 4 ---- 1 file changed, 4 deletions(-)Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml +0
-4@@ -42,10 +42,6 @@ properties: - const: xin24m - const: xin32k - assigned-clocks: true - - assigned-clock-rates: true - rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: >Signature · 1 line
2.43.0
PATCH 5/5 dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
In reply to Krzysztof KozlowskiProperties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
--- .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml +8 -2
@@ -60,8 +60,14 @@ properties: - st,stm32mp1-rcc - st,stm32mp13-rcc - const: syscon - clocks: true - clock-names: true + + clocks: + minItems: 1 + maxItems: 5 + + clock-names: + minItems: 1 + maxItems: 5 reg: maxItems: 1
Signature · 1 line
2.43.0
Re: [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
Quoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Re: [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
In reply to Krzysztof KozlowskiQuoting Krzysztof Kozlowski (2024-08-18 10:30:14)
Quoted 7 lines
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Applied to clk-next
Quoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>
-Serge(y)
Quoted 27 lines
--- .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml +6
-2@@ -134,9 +134,13 @@ properties: "#reset-cells": const: 1 - clocks: true + clocks: + minItems: 3 + maxItems: 4 - clock-names: true + clock-names: + minItems: 3 + maxItems: 4 additionalProperties: falseSignature · 1 line
2.43.0
Quoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>
I really wish you'd sent cover letters so I don't "have" to send 5 different acks where one would do.
Quoted 27 lines
--- .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml +6
-2@@ -134,9 +134,13 @@ properties: "#reset-cells": const: 1 - clocks: true + clocks: + minItems: 3 + maxItems: 4 - clock-names: true + clock-names: + minItems: 3 + maxItems: 4 additionalProperties: falseSignature · 1 line
2.43.0
Quoting Krzysztof Kozlowski (2024-08-18 10:30:10)
Quoted 7 lines
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Applied to clk-next
Re: (subset) [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
In reply to Krzysztof KozlowskiQuoted 6 lines · Krzysztof Kozlowski
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names.
Applied, thanks!
[4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks
commit: 3529dc29fe65672ad9aeab9499fee901d0010901
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>