Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: imx6sx: add mmdc1 ipg clock

i.MX6SX has MMDC1 ipg clock in CCM CCGR, add it into
clock tree for clock management.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Anson Huang and committed by
Stephen Boyd
891f30bf acc4f98d

+3 -1
+1
drivers/clk/imx/clk-imx6sx.c
··· 431 431 clks[IMX6SX_CLK_MLB] = imx_clk_gate2("mlb", "ahb", base + 0x74, 18); 432 432 clks[IMX6SX_CLK_MMDC_P0_FAST] = imx_clk_gate2_flags("mmdc_p0_fast", "mmdc_podf", base + 0x74, 20, CLK_IS_CRITICAL); 433 433 clks[IMX6SX_CLK_MMDC_P0_IPG] = imx_clk_gate2_flags("mmdc_p0_ipg", "ipg", base + 0x74, 24, CLK_IS_CRITICAL); 434 + clks[IMX6SX_CLK_MMDC_P1_IPG] = imx_clk_gate2("mmdc_p1_ipg", "ipg", base + 0x74, 26); 434 435 clks[IMX6SX_CLK_OCRAM] = imx_clk_gate2_flags("ocram", "ocram_podf", base + 0x74, 28, CLK_IS_CRITICAL); 435 436 436 437 /* CCGR4 */
+2 -1
include/dt-bindings/clock/imx6sx-clock.h
··· 279 279 #define IMX6SX_CLK_LVDS2_OUT 266 280 280 #define IMX6SX_CLK_LVDS2_IN 267 281 281 #define IMX6SX_CLK_ANACLK2 268 282 - #define IMX6SX_CLK_CLK_END 269 282 + #define IMX6SX_CLK_MMDC_P1_IPG 269 283 + #define IMX6SX_CLK_CLK_END 270 283 284 284 285 #endif /* __DT_BINDINGS_CLOCK_IMX6SX_H */