dt-bindings: clock: rockchip: Add RV1103B CRU support
Subsystems (3)
PATCH v3 1/2 dt-bindings: clock: rockchip: Add RV1103B CRU support
From: Fabio Estevam <[email protected]>
Add support for the Rockchip RV1103B Clock and Reset Unit (CRU).
The RV1103B CRU is compatible with the existing RV1126B binding. Add the compatible string to the schema and introduce the corresponding clock ID definitions.
---
Changes since v2:
- None. Only added Krzysztof's RB tag.
.../bindings/clock/rockchip,rv1126b-cru.yaml | 1 + .../dt-bindings/clock/rockchip,rv1103b-cru.h | 220 ++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 include/dt-bindings/clock/rockchip,rv1103b-cru.h
Documentation/devicetree/bindings/clock/rockchip,rv1126b-cru.yaml +1 -0
@@ -17,6 +17,7 @@ description: properties: compatible: enum: + - rockchip,rv1103b-cru - rockchip,rv1126b-cru reg:
include/dt-bindings/clock/rockchip,rv1103b-cru.h new file +220 -0
220 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v3 2/2 clk: rockchip: Add clock controller for the RV1103B
From: Fabio Estevam <[email protected]>
Add the clock and reset tree definitions for the RV1103B SoC.
Based on the 5.10 Rockchip vendor kernel driver.
---
Changes since v2:
- Converted the CLK_RV1103B symbol to bool.
- Removed unneeded header files and definitions.
drivers/clk/rockchip/Kconfig | 7 + drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rv1103b.c | 658 +++++++++++++++++++++++++++++ drivers/clk/rockchip/clk.h | 49 +++ 4 files changed, 715 insertions(+) create mode 100644 drivers/clk/rockchip/clk-rv1103b.c
drivers/clk/rockchip/Kconfig +7 -0
@@ -16,6 +16,13 @@ config CLK_PX30 help Build the driver for PX30 Clock Driver. +config CLK_RV1103B + bool "Rockchip RV1103B clock controller support" + depends on ARM || COMPILE_TEST + default y + help + Build the driver for RV1103B Clock Driver. + config CLK_RV110X bool "Rockchip RV110x clock controller support" depends on ARM || COMPILE_TEST
drivers/clk/rockchip/Makefile +1 -0
@@ -18,6 +18,7 @@ clk-rockchip-y += gate-link.o clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o obj-$(CONFIG_CLK_PX30) += clk-px30.o +obj-$(CONFIG_CLK_RV1103B) += clk-rv1103b.o obj-$(CONFIG_CLK_RV110X) += clk-rv1108.o obj-$(CONFIG_CLK_RV1126) += clk-rv1126.o obj-$(CONFIG_CLK_RV1126B) += clk-rv1126b.o rst-rv1126b.o
drivers/clk/rockchip/clk-rv1103b.c new file +658 -0
658 lines not on this page · raw message
drivers/clk/rockchip/clk.h +49 -0
55 lines not on this page · raw message
Signature · 1 line
2.34.1
Hi Stephen,
Quoted 11 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add support for the Rockchip RV1103B Clock and Reset Unit (CRU).
The RV1103B CRU is compatible with the existing RV1126B binding. Add the compatible string to the schema and introduce the corresponding clock ID definitions.
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Quoted 8 lines
---
Changes since v2:
- None. Only added Krzysztof's RB tag..../bindings/clock/rockchip,rv1126b-cru.yaml | 1 + .../dt-bindings/clock/rockchip,rv1103b-cru.h | 220 ++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 include/dt-bindings/clock/rockchip,rv1103b-cru.h
As rockchip,rv1103b-cru.h is also used by the dts file, I think it would be better if this series could go via Heiko's tree.
Would this work for you?
Thanks
Heiko Stübner
maintainerHi Fabio,
Am Montag, 23. Februar 2026, 15:19:35 Mitteleuropäische Normalzeit schrieb Fabio Estevam:
Quoted 16 lines · Fabio Estevam
Quoted 15 lines
From: Fabio Estevam <[email protected]>
Add support for the Rockchip RV1103B Clock and Reset Unit (CRU).
The RV1103B CRU is compatible with the existing RV1126B binding. Add the compatible string to the schema and introduce the corresponding clock ID definitions.
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>---
Changes since v2:
- None. Only added Krzysztof's RB tag.
Quoted 7 lines
Quoted 4 lines
.../bindings/clock/rockchip,rv1126b-cru.yaml | 1 + .../dt-bindings/clock/rockchip,rv1103b-cru.h | 220 ++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 include/dt-bindings/clock/rockchip,rv1103b-cru.hAs rockchip,rv1103b-cru.h is also used by the dts file, I think it would be better if this series could go via Heiko's tree.
I generally pick up Rockchip clock changes anyway and then send PRs to the clock maintainers, so that'll work as always :-) .
Heiko
Hi Heiko,
Quoted 2 lines · Heiko Stübner
I generally pick up Rockchip clock changes anyway and then send PRs to the clock maintainers, so that'll work as always :-) .
Excellent! Thanks for letting me know.
Hi Heiko,
Quoted 2 lines · Heiko Stübner
I generally pick up Rockchip clock changes anyway and then send PRs to the clock maintainers, so that'll work as always :-) .
Please let me know if you are OK with the RV1103B clock and dts series.
Thanks
Heiko Stuebner
maintainerHey Fabio,
Am Montag, 2. März 2026, 12:46:25 Mitteleuropäische Normalzeit schrieb Fabio Estevam:
Quoted 6 lines · Heiko Stübner
Quoted 3 lines
I generally pick up Rockchip clock changes anyway and then send PRs to the clock maintainers, so that'll work as always :-) .
Please let me know if you are OK with the RV1103B clock and dts series.
just didn't get that in the list yet, but applied now :-)
Heiko
Quoted 8 lines · Fabio Estevam
Add support for the Rockchip RV1103B Clock and Reset Unit (CRU).
The RV1103B CRU is compatible with the existing RV1126B binding. Add the compatible string to the schema and introduce the corresponding clock ID definitions.
[...]
Applied, thanks!
[1/2] dt-bindings: clock: rockchip: Add RV1103B CRU support
commit: 75d627e5571a5ef313f6f553b7749b124c923c3d
[2/2] clk: rockchip: Add clock controller for the RV1103B
commit: 3e65e426d4575a66a82928eb41b6d83f36e5ce9cBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>