linux-stable/drivers/soc
Nathan Rossi 328efccc78 soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
[ Upstream commit 9d1e8275a2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:49 +02:00
..
actions
amlogic drivers: meson: secure-pwrc: always enable DMA domain 2023-07-19 16:21:33 +02:00
apple
aspeed soc: aspeed: socinfo: Add kfree for kstrdup 2023-08-23 17:52:38 +02:00
atmel
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-05-11 23:03:12 +09:00
canaan
dove
fsl soc/fsl/qe: fix usb.c build errors 2023-07-19 16:21:25 +02:00
fujitsu
gemini
imx soc: imx8m: Enable OCOTP clock for imx8mm before reading registers 2023-10-06 14:56:49 +02:00
ixp4xx
lantiq
litex
mediatek soc: mediatek: SVS: Fix MT8192 GPU node name 2023-07-19 16:21:27 +02:00
microchip
pxa
qcom soc: qcom: qmi_encdec: Restrict string length in decode 2023-09-19 12:27:57 +02:00
renesas soc: renesas: renesas-soc: Release 'chipid' from ioremap() 2023-05-11 23:03:12 +09:00
rockchip
samsung
sifive
sunxi
tegra
ti soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe 2023-05-11 23:03:07 +09:00
ux500
versatile
xilinx driver: soc: xilinx: use _safe loop iterator to avoid a use after free 2023-07-19 16:21:17 +02:00
Kconfig
Makefile