linux-stable/drivers/soc/imx
Nathan Rossi 9d1e8275a2 soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
Commit 836fb30949 ("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: Nathan Rossi <nathan.rossi@digi.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Fixes: 836fb30949 ("soc: imx8m: Enable OCOTP clock before reading the register")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-09-24 20:50:27 +08:00
..
Kconfig soc: imx8m: Support building imx8m soc driver as module 2023-03-14 11:36:53 +08:00
Makefile soc: imx: Move power-domain drivers to the genpd dir 2023-07-11 15:30:09 +02:00
imx93-src.c soc: imx: imx93-src: No need to set device_driver owner 2023-01-01 13:29:14 +08:00
soc-imx.c soc: imx: Remove Layerscape check 2022-01-28 17:46:08 +08:00
soc-imx8m.c soc: imx8m: Enable OCOTP clock for imx8mm before reading registers 2023-09-24 20:50:27 +08:00