All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 1/4] clk: imx: Add CLK_IS_CRITICAL flag for busy divider and busy mux
@ 2018-03-20  2:24 ` Bai Ping
  0 siblings, 0 replies; 22+ messages in thread
From: Bai Ping @ 2018-03-20  2:24 UTC (permalink / raw)
  To: sboyd, robh+dt, shawnguo, kernel
  Cc: fabio.estevam, linux-clk, linux-arm-kernel, linux-imx,
	aisheng.dong, jacky.baip

The busy divider and busy mux is actually used by the system critical clocks,
so add 'CLK_IS_CRITICAL' to clocks registered with these two type.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
---
 change from V3->v4:
 - fix a typo in commit log
 change from v4->v5:
 - optimize the commit subject
 change from v5->v6:
 - no change
---
 drivers/clk/imx/clk-busy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/imx/clk-busy.c b/drivers/clk/imx/clk-busy.c
index 6df3389..9903652 100644
--- a/drivers/clk/imx/clk-busy.c
+++ b/drivers/clk/imx/clk-busy.c
@@ -101,7 +101,7 @@ struct clk *imx_clk_busy_divider(const char *name, const char *parent_name,
 
 	init.name = name;
 	init.ops = &clk_busy_divider_ops;
-	init.flags = CLK_SET_RATE_PARENT;
+	init.flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL;
 	init.parent_names = &parent_name;
 	init.num_parents = 1;
 
@@ -175,7 +175,7 @@ struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift,
 
 	init.name = name;
 	init.ops = &clk_busy_mux_ops;
-	init.flags = 0;
+	init.flags = CLK_IS_CRITICAL;
 	init.parent_names = parent_names;
 	init.num_parents = num_parents;
 
-- 
1.9.1


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

end of thread, other threads:[~2018-04-18 13:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20  2:24 [PATCH v6 1/4] clk: imx: Add CLK_IS_CRITICAL flag for busy divider and busy mux Bai Ping
2018-03-20  2:24 ` Bai Ping
2018-03-20  2:24 ` [PATCH v6 2/4] clk: imx: add new gate/gate2 wrapper funtion Bai Ping
2018-03-20  2:24   ` Bai Ping
2018-04-06 18:33   ` Stephen Boyd
2018-04-06 18:33     ` Stephen Boyd
2018-03-20  2:24 ` [PATCH v6 3/4] dt-bindings: imx: update clock doc for imx6sll Bai Ping
2018-03-20  2:24   ` Bai Ping
2018-04-06 18:33   ` Stephen Boyd
2018-04-06 18:33     ` Stephen Boyd
2018-03-20  2:24 ` [PATCH v6 4/4] clk: imx: add clock driver " Bai Ping
2018-03-20  2:24   ` Bai Ping
2018-04-06 18:33   ` Stephen Boyd
2018-04-06 18:33     ` Stephen Boyd
2018-04-06 18:33 ` [PATCH v6 1/4] clk: imx: Add CLK_IS_CRITICAL flag for busy divider and busy mux Stephen Boyd
2018-04-06 18:33   ` Stephen Boyd
2018-04-18 11:41 ` Stefan Agner
2018-04-18 11:41   ` Stefan Agner
2018-04-18 13:03   ` Jacky Bai
2018-04-18 13:03     ` Jacky Bai
2018-04-18 13:20     ` Stefan Agner
2018-04-18 13:20       ` Stefan Agner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.