Skip to content
Commit ae621557 authored by Leonard Crestez's avatar Leonard Crestez Committed by Zhang Rui
Browse files

thermal: imx: Add support for reading OCOTP through nvmem



On newer imx SOCs accessing OCOTP directly is wrong because the ocotp
clock needs to be enabled first. Add support for reading those same
values through the nvmem API instead.

The older path is preserved for compatibility with older dts and because
it works correctly on imx6qdl chips.

Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 4633f7a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment