Skip to content
Commit 9d1e8275 authored by Nathan Rossi's avatar Nathan Rossi Committed by Shawn Guo
Browse files

soc: imx8m: Enable OCOTP clock for imx8mm before reading registers



Commit 836fb309 ("soc: imx8m: Enable OCOTP clock before reading the
register") added configuration to enable the OCOTP clock before
attempting to read from the associated registers.

This same kexec issue is present with the imx8m SoCs that use the
imx8mm_soc_uid function (e.g. imx8mp). This requires the imx8mm_soc_uid
function to configure the OCOTP clock before accessing the associated
registers. This change implements the same clock enable functionality
that is present in the imx8mq_soc_revision function for the
imx8mm_soc_uid function.

Signed-off-by: default avatarNathan Rossi <nathan.rossi@digi.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Fixes: 836fb309 ("soc: imx8m: Enable OCOTP clock before reading the register")
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 161af16c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment