Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2020 16:55:54 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368766 - head/sys/arm64/rockchip/clk
Message-ID:  <202012181655.0BIGtscO073927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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),



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