WSL2-Linux-Kernel/drivers/soc/imx
Xiaolei Wang 19feb6cf41 soc: imx8m: Enable OCOTP clock before reading the register
[ Upstream commit 836fb30949 ]

Commit 7d981405d0 ("soc: imx8m: change to use platform driver") ever
removed the dependency on bootloader for enabling OCOTP clock.  It
helped to fix a kexec kernel hang issue.  But unfortunately it caused
a regression on CAAM driver and got reverted.

This is the second try to enable the OCOTP clock by directly calling
clock API instead of indirectly enabling the clock via nvmem API.

Fixes: ac34de14ac ("Revert "soc: imx8m: change to use platform driver"")
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-26 09:24:39 +01:00
..
Kconfig ARM: imx: fix imx8m dependencies 2021-01-11 09:36:11 +08:00
Makefile firmware: imx: Move i.MX SCU soc driver into imx firmware folder 2020-07-13 10:02:00 +08:00
gpc.c soc: imx: gpc: fix power up sequencing 2020-03-16 11:39:02 +08:00
gpcv2.c soc: imx: gpcv2: Assert reset before ungating clock 2022-09-15 11:30:03 +02:00
soc-imx.c soc: imx: Register SoC device only on i.MX boards 2021-12-22 09:32:39 +01:00
soc-imx8m.c soc: imx8m: Enable OCOTP clock before reading the register 2022-11-26 09:24:39 +01:00