git: 548a706608d7 - main - arm64: rockchip: rk3328: Add watchdog clock

Emmanuel Vadot manu at FreeBSD.org
Wed Sep 15 17:11:07 UTC 2021


The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=548a706608d7291a72ed37e6c400654ee1ceadef

commit 548a706608d7291a72ed37e6c400654ee1ceadef
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-09-15 17:09:56 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-09-15 17:09:56 +0000

    arm64: rockchip: rk3328: Add watchdog clock
    
    The watchdog clock is controlled by the secure world but we need a clock
    to sastify the driver so add a fixed clock for it.
    
    Reported by:   avg
---
 sys/arm64/rockchip/clk/rk3328_cru.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/arm64/rockchip/clk/rk3328_cru.c b/sys/arm64/rockchip/clk/rk3328_cru.c
index 344bf3bcd7aa..63c8797f6b44 100644
--- a/sys/arm64/rockchip/clk/rk3328_cru.c
+++ b/sys/arm64/rockchip/clk/rk3328_cru.c
@@ -1064,6 +1064,11 @@ static struct rk_clk rk3328_clks[] = {
 
 	/* GRF_MAC_CON2 */
 	MUXGRF(SCLK_MAC2PHY, "clk_mac2phy", mux_mac2phy_p, 0, RK3328_GRF_MAC_CON2, 10, 1),
+
+	/*
+	 * This clock is controlled in the secure world
+	 */
+	FFACT(PCLK_WDT, "pclk_wdt", "pclk_bus", 1, 1),
 };
 
 static int


More information about the dev-commits-src-main mailing list