[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1603269094-29367-2-git-send-email-peng.fan@nxp.com>
Date: Wed, 21 Oct 2020 16:31:30 +0800
From: peng.fan@....com
To: sboyd@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
festevam@...il.com, abel.vesa@....com
Cc: kernel@...gutronix.de, linux-imx@....com, Anson.Huang@....com,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, aisheng.dong@....com,
Peng Fan <peng.fan@....com>
Subject: [PATCH 1/5] clk: imx: add imx8m_clk_hw_composite_bus_critical
From: Peng Fan <peng.fan@....com>
Add imx8m_clk_hw_composite_bus_critical for bus critical clock usage.
Signed-off-by: Peng Fan <peng.fan@....com>
---
drivers/clk/imx/clk.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 3b796b3da249..1d7be0c86538 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -549,6 +549,11 @@ struct clk_hw *imx8m_clk_hw_composite_flags(const char *name,
IMX_COMPOSITE_BUS, \
CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE)
+#define imx8m_clk_hw_composite_bus_critical(name, parent_names, reg) \
+ imx8m_clk_hw_composite_flags(name, parent_names, ARRAY_SIZE(parent_names), reg, \
+ IMX_COMPOSITE_BUS, \
+ CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE | CLK_IS_CRITICAL)
+
#define imx8m_clk_hw_composite_core(name, parent_names, reg) \
imx8m_clk_hw_composite_flags(name, parent_names, \
ARRAY_SIZE(parent_names), reg, \
--
2.28.0
Powered by blists - more mailing lists