Thread (12 messages) 12 messages, 4 authors, 2021-03-13

Re: [PATCH v3 4/4] clk: rockchip: add clock controller for rk3568

From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-03-13 22:27:23
Also in: linux-clk, linux-devicetree, linux-rockchip, lkml

Quoting Elaine Zhang (2021-02-28 22:47:49)
quoted hunk ↗ jump to hunk
Add the clock tree definition for the new rk3568 SoC.

Signed-off-by: Elaine Zhang <redacted>
---
 drivers/clk/rockchip/Kconfig      |    7 +
 drivers/clk/rockchip/Makefile     |    1 +
 drivers/clk/rockchip/clk-rk3568.c | 1726 +++++++++++++++++++++++++++++
 drivers/clk/rockchip/clk.h        |   30 +-
 4 files changed, 1763 insertions(+), 1 deletion(-)
 create mode 100644 drivers/clk/rockchip/clk-rk3568.c
diff --git a/drivers/clk/rockchip/Kconfig b/drivers/clk/rockchip/Kconfig
index effd05032e85..2e31901f4213 100644
--- a/drivers/clk/rockchip/Kconfig
+++ b/drivers/clk/rockchip/Kconfig
@@ -85,4 +85,11 @@ config CLK_RK3399
        default y
        help
          Build the driver for RK3399 Clock Driver.
+
+config CLK_RK3568
+       tristate "Rockchip RK3568 clock controller support"
+       depends on (ARM64 || COMPILE_TEST)
Drop parenthesis please.
quoted hunk ↗ jump to hunk
+       default y
+       help
+         Build the driver for RK3568 Clock Driver.
 endif
diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c
new file mode 100644
index 000000000000..60913aa91897
--- /dev/null
+++ b/drivers/clk/rockchip/clk-rk3568.c
@@ -0,0 +1,1726 @@
[...]
+};
+builtin_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe);
+
+MODULE_DESCRIPTION("Rockchip RK3568 Clock Driver");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:clk-rk3568");
I think module alias does nothing?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help