mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] clk: i.MX8MQ: Add missing IMX8MQ_CLK_TMU_ROOT clock
@ 2018-09-19 22:25 Andrey Smirnov
  2018-09-19 22:25 ` [PATCH 2/3] aiodev: Port Linux driver for i.MX8MQ CPU thermal sensor Andrey Smirnov
  2018-09-19 22:25 ` [PATCH 3/3] ARM: i.MX8MQ: Add node for " Andrey Smirnov
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Smirnov @ 2018-09-19 22:25 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Add missing IMX8MQ_CLK_TMU_ROOT clock needed for CPU thermal sensor.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 drivers/clk/imx/clk-imx8mq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c
index 782bbc256..0431f61f0 100644
--- a/drivers/clk/imx/clk-imx8mq.c
+++ b/drivers/clk/imx/clk-imx8mq.c
@@ -572,6 +572,7 @@ static void __init imx8mq_clocks_init(struct device_node *ccm_node)
 	clks[IMX8MQ_CLK_WDOG1_ROOT] = imx_clk_gate4("wdog1_root_clk", "wdog_div", base + 0x4530, 0);
 	clks[IMX8MQ_CLK_WDOG2_ROOT] = imx_clk_gate4("wdog2_root_clk", "wdog_div", base + 0x4540, 0);
 	clks[IMX8MQ_CLK_WDOG3_ROOT] = imx_clk_gate4("wdog3_root_clk", "wdog_div", base + 0x4550, 0);
+	clks[IMX8MQ_CLK_TMU_ROOT] = imx_clk_gate4("tmu_root_clk", "ipg_root", base + 0x4620, 0);
 
 	clks[IMX8MQ_GPT_3M_CLK] = imx_clk_fixed_factor("gpt_3m", "osc_25m", 1, 8);
 	clks[IMX8MQ_CLK_DRAM_ALT_ROOT] = imx_clk_fixed_factor("dram_alt_root", "dram_alt_div", 1, 4);
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-21  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19 22:25 [PATCH 1/3] clk: i.MX8MQ: Add missing IMX8MQ_CLK_TMU_ROOT clock Andrey Smirnov
2018-09-19 22:25 ` [PATCH 2/3] aiodev: Port Linux driver for i.MX8MQ CPU thermal sensor Andrey Smirnov
2018-09-19 22:25 ` [PATCH 3/3] ARM: i.MX8MQ: Add node for " Andrey Smirnov
2018-09-21  1:06   ` Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox