linux/drivers/clk/imx
Peng Fan c277ca155d clk: imx8m: fix bus critical clk registration
noc/axi/ahb are bus clk, not peripheral clk.
Since peripheral clk has a limitation that for peripheral clock slice,
IP clock slices must be stopped to change the clock source.

However if the bus clk is marked as critical clk peripheral, the
assigned clock parent operation will fail.

So we added CLK_SET_PARENT_GATE flag to avoid glitch.

And add imx8m_clk_hw_composite_bus_critical for bus critical clock usage

Fixes: 936c383673 ("clk: imx: fix composite peripheral flags")
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Reported-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/1604229834-25594-1-git-send-email-peng.fan@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2020-11-04 17:13:12 -08:00
..
clk-busy.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-composite-7ulp.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-composite-8m.c clk: imx: fix composite peripheral flags 2020-09-07 11:08:50 +08:00
clk-cpu.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-divider-gate.c clk: imx: Rename the imx_clk_divider_gate to imply it's clk_hw based 2019-12-11 19:19:59 +08:00
clk-fixup-div.c clk: imx: drop redundant initialization 2020-02-17 14:32:32 +08:00
clk-fixup-mux.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-frac-pll.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-gate2.c clk: imx: gate2: Fix a few typos 2020-09-13 09:21:29 +08:00
clk-gate-exclusive.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
clk-imx1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
clk-imx5.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-imx6q.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-imx6sl.c clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31 bits 2020-08-22 12:37:18 +08:00
clk-imx6sll.c clk: imx: imx6sll: use imx_obtain_fixed_clk_hw to simplify code 2019-10-28 16:46:45 +08:00
clk-imx6sx.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-imx6ul.c clk: imx: imx6ul: change flexcan clock to support CiA bitrates 2020-04-13 22:22:33 +08:00
clk-imx7d.c clk: imx: fix i.MX7D peripheral clk mux flags 2020-09-07 11:08:50 +08:00
clk-imx7ulp.c clk: imx7ulp: make it easy to change ARM core clk 2020-04-14 21:35:58 +08:00
clk-imx8mm.c clk: imx8m: fix bus critical clk registration 2020-11-04 17:13:12 -08:00
clk-imx8mn.c clk: imx8m: fix bus critical clk registration 2020-11-04 17:13:12 -08:00
clk-imx8mp.c clk: imx8m: fix bus critical clk registration 2020-11-04 17:13:12 -08:00
clk-imx8mq.c clk: imx8m: fix bus critical clk registration 2020-11-04 17:13:12 -08:00
clk-imx8qxp-lpcg.c clk: imx8qxp: Support building i.MX8QXP clock driver as module 2020-08-22 12:38:29 +08:00
clk-imx8qxp-lpcg.h clk: imx: add imx8qxp lpcg driver 2018-12-14 13:01:14 -08:00
clk-imx8qxp.c clk: imx8qxp: Support building i.MX8QXP clock driver as module 2020-08-22 12:38:29 +08:00
clk-imx25.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
clk-imx27.c clk: imx: imx27: Remove mx27_clocks_init() 2020-09-22 14:08:16 +08:00
clk-imx31.c clk: imx: imx31: Remove mx31_clocks_init() 2020-09-22 14:08:19 +08:00
clk-imx35.c clk: imx: imx35: Remove mx35_clocks_init() 2020-09-22 14:08:22 +08:00
clk-lpcg-scu.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-pfd.c clk: imx: Fix and update kerneldoc 2020-09-07 11:08:50 +08:00
clk-pfdv2.c clk: imx: Fix and update kerneldoc 2020-09-07 11:08:50 +08:00
clk-pll14xx.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-pllv1.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-pllv2.c clk: imx: pllv2: Switch to clk_hw based API 2019-12-11 19:19:44 +08:00
clk-pllv3.c clk: imx: Fix and update kerneldoc 2020-09-07 11:08:50 +08:00
clk-pllv4.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk-scu.c clk: imx: Align imx sc clock parent msg structs to 4 2020-03-25 18:46:05 -07:00
clk-scu.h clk: imx: scu: add set parent support 2019-02-21 12:41:16 -08:00
clk-sscg-pll.c clk: imx: Support building i.MX common clock driver as module 2020-08-22 12:38:20 +08:00
clk-vf610.c clk: imx: vf610: Add CRC clock 2020-08-23 10:08:35 +08:00
clk.c clk: imx: Explicitly include bits.h 2020-08-22 20:36:57 +08:00
clk.h clk: imx8m: fix bus critical clk registration 2020-11-04 17:13:12 -08:00
Kconfig clk: imx: imx21: Remove clock driver 2020-09-22 14:09:19 +08:00
Makefile clk: imx: imx21: Remove clock driver 2020-09-22 14:09:19 +08:00