Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 15:33:36 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 687d5fb11f06 - stable/13 - arm64: rockchip: rk3328: Add watchdog clock
Message-ID:  <202205161533.24GFXaRJ020200@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=687d5fb11f061ced258135fbf44106d90aa3bce0

commit 687d5fb11f061ced258135fbf44106d90aa3bce0
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-15 17:09:56 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-16 15:27:24 +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
    
    (cherry picked from commit 548a706608d7291a72ed37e6c400654ee1ceadef)
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205161533.24GFXaRJ020200>