Skip to content
Snippets Groups Projects
Commit 94c693d7 authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

imx: i.MX8MN: 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.

Reviewed-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 70487ff3
No related branches found
No related tags found
No related merge requests found
...@@ -451,7 +451,7 @@ int arch_misc_init(void) ...@@ -451,7 +451,7 @@ int arch_misc_init(void)
void imx_tmu_arch_init(void *reg_base) void imx_tmu_arch_init(void *reg_base)
{ {
if (is_imx8mm()) { if (is_imx8mm() || is_imx8mn()) {
/* Load TCALIV and TASR from fuses */ /* Load TCALIV and TASR from fuses */
struct ocotp_regs *ocotp = struct ocotp_regs *ocotp =
(struct ocotp_regs *)OCOTP_BASE_ADDR; (struct ocotp_regs *)OCOTP_BASE_ADDR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment