aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorAlice Guo <[email protected]>2021-01-04 17:15:44 +0800
committerShawn Guo <[email protected]>2021-01-11 10:46:09 +0800
commit7d981405d0fd3cfc0de052e4791f516235d8b858 (patch)
tree995cef93636c299d57e11c7990433b48b1832287 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
soc: imx8m: change to use platform driver
Directly reading ocotp register depends on that bootloader enables ocotp clk, which is not always effective, so change to use nvmem API. Using nvmem API requires to support driver defer probe and thus change soc-imx8m.c to use platform driver. The other reason is that directly reading ocotp register causes kexec kernel hang because the 1st kernel running will disable unused clks after kernel boots up, and then ocotp clk will be disabled even if bootloader enables it. When kexec kernel, ocotp clk needs to be enabled before reading ocotp registers, and nvmem API with platform driver supported can accomplish this. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alice Guo <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions