Skip to content

clk: imx: Make the dram_apb and dram_alt as read-only

Abel Vesa linux-arm-kernel linux-clk lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: imx: composite-8m: Add DRAM clock registration variantdrivers/clk/imx/clk-composite-8m.c drivers/clk/imx/clk.h+13 -00 replies
2/2clk: imx8m: Use dram variant registration for dram clocksdrivers/clk/imx/clk-imx8mm.c drivers/clk/imx/clk-imx8mn.c drivers/clk/imx/clk-imx8mp.c +1 more+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] clk: imx: Make the dram_apb and dram_alt as read-only

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(-)
Signature · 1 line
2.7.4