git: ea5c0b7b140b - main - Add the clock for the imx8 thermal monitoring unit.

Ian Lepore ian at FreeBSD.org
Tue Sep 28 17:52:58 UTC 2021


The branch main has been updated by ian:

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

commit ea5c0b7b140b745f8a34c313dc21432d9aaed574
Author:     Ian Lepore <ian at FreeBSD.org>
AuthorDate: 2021-09-28 17:51:57 +0000
Commit:     Ian Lepore <ian at FreeBSD.org>
CommitDate: 2021-09-28 17:51:57 +0000

    Add the clock for the imx8 thermal monitoring unit.
---
 sys/arm64/freescale/imx/imx8mq_ccm.c | 2 ++
 sys/arm64/freescale/imx/imx8mq_ccm.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys/arm64/freescale/imx/imx8mq_ccm.c b/sys/arm64/freescale/imx/imx8mq_ccm.c
index 5c9751791415..9a0c8f318e39 100644
--- a/sys/arm64/freescale/imx/imx8mq_ccm.c
+++ b/sys/arm64/freescale/imx/imx8mq_ccm.c
@@ -233,6 +233,8 @@ static struct imx_clk imx_clks[] = {
 	ROOT_GATE(IMX8MQ_CLK_USDHC1_ROOT, "usdhc1_root_clk", "usdhc1", 0x4510),
 	ROOT_GATE(IMX8MQ_CLK_USDHC2_ROOT, "usdhc2_root_clk", "usdhc2", 0x4520),
 
+	ROOT_GATE(IMX8MQ_CLK_TMU_ROOT, "tmu_root_clk", "ipg_root", 0x4620),
+
 	COMPOSITE(IMX8MQ_CLK_ENET_AXI, "enet_axi", enet_axi_p, 0x8800, 0),
 	COMPOSITE(IMX8MQ_CLK_ENET_REF, "enet_ref", enet_ref_p, 0xa980, 0),
 	COMPOSITE(IMX8MQ_CLK_ENET_TIMER, "enet_timer", enet_timer_p, 0xaa00, 0),
diff --git a/sys/arm64/freescale/imx/imx8mq_ccm.h b/sys/arm64/freescale/imx/imx8mq_ccm.h
index dcd016fc729f..762090c6b3b8 100644
--- a/sys/arm64/freescale/imx/imx8mq_ccm.h
+++ b/sys/arm64/freescale/imx/imx8mq_ccm.h
@@ -143,6 +143,8 @@
 
 #define	IMX8MQ_CLK_IPG_ROOT		236
 
+#define	IMX8MQ_CLK_TMU_ROOT		246
+
 #define	IMX8MQ_CLK_GPIO1_ROOT		259
 #define	IMX8MQ_CLK_GPIO2_ROOT		260
 #define	IMX8MQ_CLK_GPIO3_ROOT		261


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