Commits

Han Xu committed 6d294afee5f
MLK-17120: arm64: dts: assign the clock rate for GPMI NAND in DT Assign the clock rate for GPMI NAND on i.MX8QXP ARM2 device tree. To keep the same clock rate after system suspend/resume, we need to set assign a clock rate for GPMI NAND, otherwise the timing register won't match with the clock setting. The code change also a workaround for SCU clock rate setting. NAND use a very low clock freq (22Mhz) and safe timing to identify which chips were connected. This low freq divide from high freq parent clock(1Ghz) caused the SCU clock divider go beyond the limit (31) SCU need to implement the clk_round_rate to found this issue and return error value to upper layer. Right now assign 50Mhz for GPMI initial clock as a workaround. Signed-off-by: Han Xu <han.xu@nxp.com>