svn commit: r368766 - head/sys/arm64/rockchip/clk

Emmanuel Vadot manu at FreeBSD.org
Fri Dec 18 16:55:55 UTC 2020


Author: manu
Date: Fri Dec 18 16:55:54 2020
New Revision: 368766
URL: https://svnweb.freebsd.org/changeset/base/368766

Log:
  arm64: rk3399: Export the watchdog clock
  
  This clock is used by the watchdog IP and can be controlled only
  in the secure world.

Modified:
  head/sys/arm64/rockchip/clk/rk3399_cru.c

Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c
==============================================================================
--- head/sys/arm64/rockchip/clk/rk3399_cru.c	Fri Dec 18 16:16:03 2020	(r368765)
+++ head/sys/arm64/rockchip/clk/rk3399_cru.c	Fri Dec 18 16:55:54 2020	(r368766)
@@ -1212,6 +1212,11 @@ static struct rk_clk rk3399_clks[] = {
 	FRACT(DCLK_VOP1_FRAC, "dclk_vop1_frac", "dclk_vop1_div", 0,
 	    107),
 
+	/* 
+	 * This clock is controlled in the secure world
+	 */
+	FFACT(PCLK_WDT, "pclk_wdt", "pclk_alive", 1, 1),
+
 /* Not yet implemented yet
  *	MMC(SCLK_SDMMC_DRV,     "sdmmc_drv",    "clk_sdmmc", RK3399_SDMMC_CON0, 1),
  *	MMC(SCLK_SDMMC_SAMPLE,  "sdmmc_sample", "clk_sdmmc", RK3399_SDMMC_CON1, 1),


More information about the svn-src-head mailing list