aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2022-12-02 17:23:53 +0100
committerDaniel Lezcano <[email protected]>2022-12-14 15:25:40 +0100
commit403291648823f819f7baaccd47589fcf87187c32 (patch)
tree0770723c1bb9abebdf6d25bf94b2e0a97da1aa4b /lib/mpi/mpi-sub-ui.c
parent8848c0d7a0782c263a7827697d5acfcc09a19a5f (diff)
thermal/drivers/imx: Add support for loading calibration data from OCOTP
The TMU TASR, TCALIVn, TRIM registers must be explicitly programmed with calibration values in OCOTP. Add support for reading the OCOTP calibration data and programming those into the TMU hardware. The MX8MM/MX8MN TMUv1 uses only one OCOTP cell, while MX8MP TMUv2 uses 4, the programming differs in each case. Based on U-Boot commits: 70487ff386c ("imx8mm: Load fuse for TMU TCALIV and TASR") ebb9aab318b ("imx: load calibration parameters from fuse for i.MX8MP") Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions