* [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
@ 2024-08-18 17:30 Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
Cc: 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 <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
index bd4cefbb1244..30252c95700c 100644
--- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
+++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
@@ -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
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
@ 2024-08-18 17:30 ` Krzysztof Kozlowski
2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
` (6 subsequent siblings)
7 siblings, 2 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
Cc: 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 <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/clock/cirrus,lochnagar.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
index 59de125647ec..ccff74eda9fb 100644
--- a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
+++ b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
@@ -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
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
@ 2024-08-18 17:30 ` Krzysztof Kozlowski
2024-08-19 17:09 ` Conor Dooley
2024-08-23 11:33 ` Geert Uytterhoeven
2024-08-18 17:30 ` [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks Krzysztof Kozlowski
` (5 subsequent siblings)
7 siblings, 2 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
Cc: 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 <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/clock/renesas,cpg-clocks.yaml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml b/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml
index 9185d101737e..a0e09b7002f0 100644
--- a/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml
+++ b/Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml
@@ -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
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
@ 2024-08-18 17:30 ` Krzysztof Kozlowski
2024-08-19 17:09 ` Conor Dooley
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
` (4 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
Cc: Krzysztof Kozlowski
assigned-clocks property is redundant, because core dtschema allows them
if clocks are provided.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/clock/rockchip,rk3588-cru.yaml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
index 74cd3f3f229a..4ff175c4992b 100644
--- a/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
+++ b/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
@@ -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: >
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
` (2 preceding siblings ...)
2024-08-18 17:30 ` [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks Krzysztof Kozlowski
@ 2024-08-18 17:30 ` Krzysztof Kozlowski
2024-08-19 17:08 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-19 11:36 ` [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: " Serge Semin
` (3 subsequent siblings)
7 siblings, 2 replies; 16+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:30 UTC (permalink / raw)
To: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
Cc: 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 <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/clock/st,stm32mp1-rcc.yaml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
index 5194be0b410e..9b3aaae546cb 100644
--- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
+++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
@@ -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
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
` (3 preceding siblings ...)
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
@ 2024-08-19 11:36 ` Serge Semin
2024-08-19 17:10 ` Conor Dooley
` (2 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Serge Semin @ 2024-08-19 11:36 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Charles Keepax, Richard Fitzgerald,
Geert Uytterhoeven, Heiko Stuebner, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, patches, Elaine Zhang,
Gabriel Fernandez, linux-mips, linux-clk, devicetree,
linux-kernel, linux-renesas-soc, linux-arm-kernel, linux-rockchip,
linux-stm32
On Sun, Aug 18, 2024 at 07:30:10PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
-Serge(y)
> ---
> .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> index bd4cefbb1244..30252c95700c 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> @@ -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
>
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
@ 2024-08-19 17:08 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
1 sibling, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2024-08-19 17:08 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
On Sun, Aug 18, 2024 at 07:30:14PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks
2024-08-18 17:30 ` [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks Krzysztof Kozlowski
@ 2024-08-19 17:09 ` Conor Dooley
0 siblings, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2024-08-19 17:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]
On Sun, Aug 18, 2024 at 07:30:13PM +0200, Krzysztof Kozlowski wrote:
> assigned-clocks property is redundant, because core dtschema allows them
> if clocks are provided.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> .../devicetree/bindings/clock/rockchip,rk3588-cru.yaml | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
> index 74cd3f3f229a..4ff175c4992b 100644
> --- a/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
> +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml
> @@ -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: >
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
@ 2024-08-19 17:09 ` Conor Dooley
2024-08-23 11:33 ` Geert Uytterhoeven
1 sibling, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2024-08-19 17:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
On Sun, Aug 18, 2024 at 07:30:12PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
@ 2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
1 sibling, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2024-08-19 17:10 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
On Sun, Aug 18, 2024 at 07:30:11PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> .../devicetree/bindings/clock/cirrus,lochnagar.yaml | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
> index 59de125647ec..ccff74eda9fb 100644
> --- a/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
> +++ b/Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
> @@ -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
>
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
` (4 preceding siblings ...)
2024-08-19 11:36 ` [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: " Serge Semin
@ 2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-29 9:36 ` (subset) " Heiko Stuebner
7 siblings, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2024-08-19 17:10 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Geert Uytterhoeven, Heiko Stuebner,
Maxime Coquelin, Alexandre Torgue, Magnus Damm, patches,
Elaine Zhang, Gabriel Fernandez, linux-mips, linux-clk,
devicetree, linux-kernel, linux-renesas-soc, linux-arm-kernel,
linux-rockchip, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]
On Sun, Aug 18, 2024 at 07:30:10PM +0200, Krzysztof Kozlowski wrote:
> 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 <krzysztof.kozlowski@linaro.org>
I really wish you'd sent cover letters so I don't "have" to send 5
different acks where one would do.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> index bd4cefbb1244..30252c95700c 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> @@ -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
>
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: add top-level constraints
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
2024-08-19 17:09 ` Conor Dooley
@ 2024-08-23 11:33 ` Geert Uytterhoeven
1 sibling, 0 replies; 16+ messages in thread
From: Geert Uytterhoeven @ 2024-08-23 11:33 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Serge Semin, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Charles Keepax,
Richard Fitzgerald, Heiko Stuebner, Maxime Coquelin,
Alexandre Torgue, Magnus Damm, patches, Elaine Zhang,
Gabriel Fernandez, linux-mips, linux-clk, devicetree,
linux-kernel, linux-renesas-soc, linux-arm-kernel, linux-rockchip,
linux-stm32
On Sun, Aug 18, 2024 at 7:30 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> 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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk for v6.12.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
` (5 preceding siblings ...)
2024-08-19 17:10 ` Conor Dooley
@ 2024-08-28 17:00 ` Stephen Boyd
2024-08-29 9:36 ` (subset) " Heiko Stuebner
7 siblings, 0 replies; 16+ messages in thread
From: Stephen Boyd @ 2024-08-28 17:00 UTC (permalink / raw)
To: Alexandre Torgue, Charles Keepax, Conor Dooley, Elaine Zhang,
Gabriel Fernandez, Geert Uytterhoeven, Heiko Stuebner,
Krzysztof Kozlowski, Krzysztof Kozlowski, Magnus Damm,
Maxime Coquelin, Michael Turquette, Richard Fitzgerald,
Rob Herring, Serge Semin, devicetree, linux-arm-kernel, linux-clk,
linux-kernel, linux-mips, linux-renesas-soc, linux-rockchip,
linux-stm32, patches
Cc: Krzysztof Kozlowski
Quoting Krzysztof Kozlowski (2024-08-18 10:30:10)
> 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 <krzysztof.kozlowski@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: add top-level constraints
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
2024-08-19 17:10 ` Conor Dooley
@ 2024-08-28 17:00 ` Stephen Boyd
1 sibling, 0 replies; 16+ messages in thread
From: Stephen Boyd @ 2024-08-28 17:00 UTC (permalink / raw)
To: Alexandre Torgue, Charles Keepax, Conor Dooley, Elaine Zhang,
Gabriel Fernandez, Geert Uytterhoeven, Heiko Stuebner,
Krzysztof Kozlowski, Krzysztof Kozlowski, Magnus Damm,
Maxime Coquelin, Michael Turquette, Richard Fitzgerald,
Rob Herring, Serge Semin, devicetree, linux-arm-kernel, linux-clk,
linux-kernel, linux-mips, linux-renesas-soc, linux-rockchip,
linux-stm32, patches
Cc: Krzysztof Kozlowski
Quoting Krzysztof Kozlowski (2024-08-18 10:30:11)
> 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 <krzysztof.kozlowski@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
2024-08-19 17:08 ` Conor Dooley
@ 2024-08-28 17:00 ` Stephen Boyd
1 sibling, 0 replies; 16+ messages in thread
From: Stephen Boyd @ 2024-08-28 17:00 UTC (permalink / raw)
To: Alexandre Torgue, Charles Keepax, Conor Dooley, Elaine Zhang,
Gabriel Fernandez, Geert Uytterhoeven, Heiko Stuebner,
Krzysztof Kozlowski, Krzysztof Kozlowski, Magnus Damm,
Maxime Coquelin, Michael Turquette, Richard Fitzgerald,
Rob Herring, Serge Semin, devicetree, linux-arm-kernel, linux-clk,
linux-kernel, linux-mips, linux-renesas-soc, linux-rockchip,
linux-stm32, patches
Cc: Krzysztof Kozlowski
Quoting Krzysztof Kozlowski (2024-08-18 10:30:14)
> 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 <krzysztof.kozlowski@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: (subset) [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
` (6 preceding siblings ...)
2024-08-28 17:00 ` Stephen Boyd
@ 2024-08-29 9:36 ` Heiko Stuebner
7 siblings, 0 replies; 16+ messages in thread
From: Heiko Stuebner @ 2024-08-29 9:36 UTC (permalink / raw)
To: Elaine Zhang, devicetree, linux-mips, Magnus Damm,
Krzysztof Kozlowski, Richard Fitzgerald, patches,
Krzysztof Kozlowski, Geert Uytterhoeven, linux-stm32, Serge Semin,
Rob Herring, Stephen Boyd, Charles Keepax, linux-kernel,
Gabriel Fernandez, linux-renesas-soc, linux-clk, linux-arm-kernel,
Michael Turquette, Maxime Coquelin, Alexandre Torgue,
linux-rockchip, Conor Dooley
Cc: Heiko Stuebner
On Sun, 18 Aug 2024 19:30:10 +0200, Krzysztof Kozlowski wrote:
> 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,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2024-08-29 9:42 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18 17:30 [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints Krzysztof Kozlowski
2024-08-18 17:30 ` [PATCH 2/5] dt-bindings: clock: cirrus,lochnagar: " Krzysztof Kozlowski
2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-18 17:30 ` [PATCH 3/5] dt-bindings: clock: renesas,cpg-clocks: " Krzysztof Kozlowski
2024-08-19 17:09 ` Conor Dooley
2024-08-23 11:33 ` Geert Uytterhoeven
2024-08-18 17:30 ` [PATCH 4/5] dt-bindings: clock: rockchip,rk3588-cru: drop unneeded assigned-clocks Krzysztof Kozlowski
2024-08-19 17:09 ` Conor Dooley
2024-08-18 17:30 ` [PATCH 5/5] dt-bindings: clock: st,stm32mp1-rcc: add top-level constraints Krzysztof Kozlowski
2024-08-19 17:08 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-19 11:36 ` [PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: " Serge Semin
2024-08-19 17:10 ` Conor Dooley
2024-08-28 17:00 ` Stephen Boyd
2024-08-29 9:36 ` (subset) " Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).