[PATCH] soc: imx8m: Enable OCOTP clock for imx8mm before reading registers

Fabio Estevam festevam at gmail.com
Sun Sep 17 20:26:27 PDT 2023


Hi Nathan,

On Sun, Aug 13, 2023 at 10:57 PM Nathan Rossi <nathan at nathanrossi.com> wrote:
>
> From: Nathan Rossi <nathan.rossi at digi.com>
>
> Commit 836fb30949d9 ("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 at digi.com>

Thanks for the fix:

Reviewed-by: Fabio Estevam <festevam at gmail.com>

Should it also have a Fixes tag?



More information about the linux-arm-kernel mailing list