Re: [PATCH v2 3/5] thermal: imx: Add support for reading OCOTP through nvmem

From: Srinivas Kandagatla
Date: Tue Aug 08 2017 - 07:00:49 EST




On 08/08/17 08:21, Zhang Rui wrote:
On Tue, 2017-07-25 at 16:08 +0800, Shawn Guo wrote:
On Fri, Jul 14, 2017 at 05:11:08PM +0300, Leonard Crestez wrote:

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: Leonard Crestez <leonard.crestez@xxxxxxx>
Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx>

I'm okay with the thermal change.
We still need ACK for the nvmem changes in this patch series.
NVMEM changes are already sent to Greg K H with other patches (https://lkml.org/lkml/2017/7/26/164), should appear in next.



thanks,
rui