From 88db55b054768238ac48170d684303123733d709 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 2 Dec 2023 02:48:00 +0100 Subject: [PATCH] ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates The new MX8M DDR tool 3.31 now generates a programming file which uses data rate 3734 instead of 3733 or 3732 . Handle another rounding option . Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam --- drivers/ddr/imx/phy/ddrphy_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ddr/imx/phy/ddrphy_utils.c b/drivers/ddr/imx/phy/ddrphy_utils.c index fd8b4113b7..d5dac0fce9 100644 --- a/drivers/ddr/imx/phy/ddrphy_utils.c +++ b/drivers/ddr/imx/phy/ddrphy_utils.c @@ -111,6 +111,7 @@ void ddrphy_init_set_dfi_clk(unsigned int drate) dram_pll_init(MHZ(1000)); dram_disable_bypass(); break; + case 3734: case 3733: case 3732: dram_pll_init(MHZ(933)); -- 2.39.5