Re: [PATCH v5 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Krzysztof Kozlowski
On Mon, Nov 23, 2020 at 05:51:08PM +0800, Alice Guo wrote: > 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 platf

[PATCH v5 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Alice Guo
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 regist