* [PATCH v2 2/6] dt-bindings: clock: replace a maintainer for rockchip,rk3399-cru.yaml
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
@ 2022-03-29 15:07 ` Johan Jonker
2022-03-29 15:07 ` [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml Johan Jonker
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Johan Jonker @ 2022-03-29 15:07 UTC (permalink / raw)
To: heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
With the rk3399 cru YAML conversion the original text author was
somehow added as a maintainer, but who's currently no longer involved
on the subject. Replace this position with the Rockchip clock maintainer
on her request.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
.../devicetree/bindings/clock/rockchip,rk3399-cru.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
index 76dd24d49..3cc8398fd 100644
--- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
+++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Rockchip RK3399 Clock and Reset Unit
maintainers:
- - Xing Zheng <zhengxing@rock-chips.com>
+ - Elaine Zhang <zhangqing@rock-chips.com>
- Heiko Stuebner <heiko@sntech.de>
description: |
--
2.20.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
2022-03-29 15:07 ` [PATCH v2 2/6] dt-bindings: clock: replace a maintainer " Johan Jonker
@ 2022-03-29 15:07 ` Johan Jonker
2022-03-29 15:29 ` [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip, rk3399-cru.yaml Krzysztof Kozlowski
2022-03-29 15:07 ` [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues Johan Jonker
` (4 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Johan Jonker @ 2022-03-29 15:07 UTC (permalink / raw)
To: heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
The node names should be generic, so fix this for the pmucru node example
in the rockchip,rk3399-cru.yaml file and rename it to "clock-controller".
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
.../devicetree/bindings/clock/rockchip,rk3399-cru.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
index 3cc8398fd..18a009311 100644
--- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
+++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
@@ -77,7 +77,7 @@ additionalProperties: false
examples:
- |
- pmucru: pmu-clock-controller@ff750000 {
+ pmucru: clock-controller@ff750000 {
compatible = "rockchip,rk3399-pmucru";
reg = <0xff750000 0x1000>;
#clock-cells = <1>;
--
2.20.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip, rk3399-cru.yaml
2022-03-29 15:07 ` [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml Johan Jonker
@ 2022-03-29 15:29 ` Krzysztof Kozlowski
0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29 15:29 UTC (permalink / raw)
To: Johan Jonker, heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
On 29/03/2022 17:07, Johan Jonker wrote:
> The node names should be generic, so fix this for the pmucru node example
> in the rockchip,rk3399-cru.yaml file and rename it to "clock-controller".
>
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
> .../devicetree/bindings/clock/rockchip,rk3399-cru.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
> index 3cc8398fd..18a009311 100644
> --- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
> +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
> @@ -77,7 +77,7 @@ additionalProperties: false
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
2022-03-29 15:07 ` [PATCH v2 2/6] dt-bindings: clock: replace a maintainer " Johan Jonker
2022-03-29 15:07 ` [PATCH v2 3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml Johan Jonker
@ 2022-03-29 15:07 ` Johan Jonker
2022-03-29 15:30 ` Krzysztof Kozlowski
2022-03-29 15:07 ` [PATCH v2 5/6] arm64: dts: rockchip: rk3399: use generic node name for pmucru Johan Jonker
` (3 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Johan Jonker @ 2022-03-29 15:07 UTC (permalink / raw)
To: heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
The current rk3399 cru DT node gives warnings like:
'clocks' is a dependency of 'assigned-clocks'.
With the YAML conversion somehow "assigned-xxx" properties where added.
If a proper clock is added to the cru node these properties are no longer
needed, so removed them. Currently only one clock will be added, so limit
the clock maxItems to 1. Add a clock name to be able to differentiate
and filter bogus entries.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
.../bindings/clock/rockchip,rk3399-cru.yaml | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
index 18a009311..54da1e31e 100644
--- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
+++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
@@ -46,19 +46,10 @@ properties:
const: 1
clocks:
- minItems: 1
-
- assigned-clocks:
- minItems: 1
- maxItems: 64
-
- assigned-clock-parents:
- minItems: 1
- maxItems: 64
+ maxItems: 1
- assigned-clock-rates:
- minItems: 1
- maxItems: 64
+ clock-names:
+ const: xin24m
rockchip,grf:
$ref: /schemas/types.yaml#/definitions/phandle
--
2.20.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues
2022-03-29 15:07 ` [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues Johan Jonker
@ 2022-03-29 15:30 ` Krzysztof Kozlowski
0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29 15:30 UTC (permalink / raw)
To: Johan Jonker, heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
On 29/03/2022 17:07, Johan Jonker wrote:
> The current rk3399 cru DT node gives warnings like:
> 'clocks' is a dependency of 'assigned-clocks'.
>
> With the YAML conversion somehow "assigned-xxx" properties where added.
> If a proper clock is added to the cru node these properties are no longer
> needed, so removed them. Currently only one clock will be added, so limit
> the clock maxItems to 1. Add a clock name to be able to differentiate
> and filter bogus entries.
>
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
> .../bindings/clock/rockchip,rk3399-cru.yaml | 15 +++------------
> 1 file changed, 3 insertions(+), 12 deletions(-)
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 5/6] arm64: dts: rockchip: rk3399: use generic node name for pmucru
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
` (2 preceding siblings ...)
2022-03-29 15:07 ` [PATCH v2 4/6] dt-bindings: clock: fix rk3399 cru clock issues Johan Jonker
@ 2022-03-29 15:07 ` Johan Jonker
2022-03-29 15:07 ` [PATCH v2 6/6] arm64: dts: rockchip: add clocks property to cru nodes rk3399 Johan Jonker
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Johan Jonker @ 2022-03-29 15:07 UTC (permalink / raw)
To: heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
The node names should be generic, so fix this for the rk3399 pmucru node
and rename it to "clock-controller".
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 88f26d89e..01c08a2aa 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1413,7 +1413,7 @@
clock-names = "apb_pclk";
};
- pmucru: pmu-clock-controller@ff750000 {
+ pmucru: clock-controller@ff750000 {
compatible = "rockchip,rk3399-pmucru";
reg = <0x0 0xff750000 0x0 0x1000>;
rockchip,grf = <&pmugrf>;
--
2.20.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH v2 6/6] arm64: dts: rockchip: add clocks property to cru nodes rk3399
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
` (3 preceding siblings ...)
2022-03-29 15:07 ` [PATCH v2 5/6] arm64: dts: rockchip: rk3399: use generic node name for pmucru Johan Jonker
@ 2022-03-29 15:07 ` Johan Jonker
2022-03-29 15:31 ` [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip, rk3399-cru.yaml Krzysztof Kozlowski
2022-04-10 17:12 ` [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Heiko Stuebner
6 siblings, 0 replies; 10+ messages in thread
From: Johan Jonker @ 2022-03-29 15:07 UTC (permalink / raw)
To: heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
Add clocks property to rk3399 cru nodes to fix warnings like:
'clocks' is a dependency of 'assigned-clocks'.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
Changed V2:
add clocks to pmucru node
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 01c08a2aa..56af1a1d6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1416,6 +1416,8 @@
pmucru: clock-controller@ff750000 {
compatible = "rockchip,rk3399-pmucru";
reg = <0x0 0xff750000 0x0 0x1000>;
+ clocks = <&xin24m>;
+ clock-names = "xin24m";
rockchip,grf = <&pmugrf>;
#clock-cells = <1>;
#reset-cells = <1>;
@@ -1426,6 +1428,8 @@
cru: clock-controller@ff760000 {
compatible = "rockchip,rk3399-cru";
reg = <0x0 0xff760000 0x0 0x1000>;
+ clocks = <&xin24m>;
+ clock-names = "xin24m";
rockchip,grf = <&grf>;
#clock-cells = <1>;
#reset-cells = <1>;
--
2.20.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip, rk3399-cru.yaml
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
` (4 preceding siblings ...)
2022-03-29 15:07 ` [PATCH v2 6/6] arm64: dts: rockchip: add clocks property to cru nodes rk3399 Johan Jonker
@ 2022-03-29 15:31 ` Krzysztof Kozlowski
2022-04-10 17:12 ` [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Heiko Stuebner
6 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29 15:31 UTC (permalink / raw)
To: Johan Jonker, heiko, zhangqing
Cc: robh+dt, krzk+dt, mturquette, sboyd, linux-clk, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
On 29/03/2022 17:07, Johan Jonker wrote:
> With the conversion of rockchip,rk3399-cru.txt a table with external clocks
> was copied. Make it a bit cleaner by aligning the columns. Also fix
> a description. Phrases start with a capital.
>
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
> .../bindings/clock/rockchip,rk3399-cru.yaml | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml
2022-03-29 15:07 [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml Johan Jonker
` (5 preceding siblings ...)
2022-03-29 15:31 ` [PATCH v2 1/6] dt-bindings: clock: fix some conversion style issues for rockchip, rk3399-cru.yaml Krzysztof Kozlowski
@ 2022-04-10 17:12 ` Heiko Stuebner
6 siblings, 0 replies; 10+ messages in thread
From: Heiko Stuebner @ 2022-04-10 17:12 UTC (permalink / raw)
To: zhangqing, Johan Jonker
Cc: Heiko Stuebner, krzk+dt, linux-arm-kernel, devicetree,
linux-rockchip, sboyd, linux-clk, robh+dt, mturquette,
linux-kernel
On Tue, 29 Mar 2022 17:07:37 +0200, Johan Jonker wrote:
> With the conversion of rockchip,rk3399-cru.txt a table with external clocks
> was copied. Make it a bit cleaner by aligning the columns. Also fix
> a description. Phrases start with a capital.
Applied, thanks!
[1/6] dt-bindings: clock: fix some conversion style issues for rockchip,rk3399-cru.yaml
commit: 04d3e427148f8ed7322f70e324731c81460671df
[2/6] dt-bindings: clock: replace a maintainer for rockchip,rk3399-cru.yaml
commit: 50cfde33494072c74bf39a0c281cfa0c3289bd57
[3/6] dt-bindings: clock: use generic node name for pmucru example in rockchip,rk3399-cru.yaml
commit: 91154f0cd889ed3772a0ac0e24ee363f93fe784c
[4/6] dt-bindings: clock: fix rk3399 cru clock issues
commit: 7adc1b98bb6e6611bc9122de77737b193b693122
[5/6] arm64: dts: rockchip: rk3399: use generic node name for pmucru
commit: e03774ff21493f4f82ec7853b33fb3ccc35e4363
[6/6] arm64: dts: rockchip: add clocks property to cru nodes rk3399
commit: 14fc86b9aa5435bf7dd75839c9a73d9a85a98396
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 10+ messages in thread