mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: imx: Make the dram_apb and dram_alt as read-only
@ 2020-10-21 12:40 Abel Vesa
  2020-10-21 12:40 ` [PATCH 1/2] clk: imx: composite-8m: Add DRAM clock registration variant Abel Vesa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Abel Vesa @ 2020-10-21 12:40 UTC (permalink / raw)
  To: Shawn Guo, Stephen Boyd, Peng Fan, Dong Aisheng, Anson Huang
  Cc: NXP Linux Team, linux-clk, linux-arm-kernel,
	Linux Kernel Mailing List, Abel Vesa

On i.MX8M platforms the dram_apb and dram_alt are controlled from EL3.
So in order to keep track of the actual clock tree in kernel, we need
to actually declare the clocks but never actually change their parents
or divider settings. We do that by marking the mux and the div as read-only
with CLK_DIVIDER_READ_ONLY and CLK_MUX_READ_ONLY flags.

Abel Vesa (2):
  clk: imx: composite-8m: Add DRAM clock registration variant
  clk: imx8m: Use dram variant registration for dram clocks

 drivers/clk/imx/clk-composite-8m.c | 7 +++++++
 drivers/clk/imx/clk-imx8mm.c       | 4 ++--
 drivers/clk/imx/clk-imx8mn.c       | 4 ++--
 drivers/clk/imx/clk-imx8mp.c       | 4 ++--
 drivers/clk/imx/clk-imx8mq.c       | 4 ++--
 drivers/clk/imx/clk.h              | 6 ++++++
 6 files changed, 21 insertions(+), 8 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-10-21 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 12:40 [PATCH 0/2] clk: imx: Make the dram_apb and dram_alt as read-only Abel Vesa
2020-10-21 12:40 ` [PATCH 1/2] clk: imx: composite-8m: Add DRAM clock registration variant Abel Vesa
2020-10-21 12:40 ` [PATCH 2/2] clk: imx8m: Use dram variant registration for dram clocks Abel Vesa
2020-10-21 14:35 ` [PATCH 0/2] clk: imx: Make the dram_apb and dram_alt as read-only Abel Vesa

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

all inboxes | Powered by JetHome®