Commit 005e994bb358d8bf68d1688563ce4f2df4fd7b2c
1 parent
c59e779f71
Exists in
smarc_8mm-imx_v2019.04_4.19.35_1.1.0
and in
1 other branch
MLK-22425 TMU: iMX8MN: Enable loading TASR and TCALIV from fuse
Like iMX8MM, iMX8MN also needs SW to load TMU TASR and TCALIV registers value from fuse before enabling TMU calibration. Otherwise the calibration is not exact. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com> (cherry picked from commit 9fb7f904ff6a03e2951a770daba12a522373c8ae)
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/arm/mach-imx/imx8m/soc.c
... | ... | @@ -884,7 +884,7 @@ |
884 | 884 | |
885 | 885 | void nxp_tmu_arch_init(void *reg_base) |
886 | 886 | { |
887 | - if (is_imx8mm()) { | |
887 | + if (is_imx8mm() || is_imx8mn()) { | |
888 | 888 | /* Load TCALIV and TASR from fuses */ |
889 | 889 | struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; |
890 | 890 | struct fuse_bank *bank = &ocotp->bank[3]; |