-
由 Anson Huang 提交于
This patch adds i.MX7 thermal sensor support, most of the i.MX7 thermal sensor functions are same with i.MX6 except the registers offset/layout, so we move those registers offset/layout definitions to soc data structure. i.MX7 uses single calibration data @25C, the calibration data is located at OCOTP offset 0x4F0, bit[17:9], the formula is as below: Tmeas = (Nmeas - n1) + 25; n1 is the fuse value for 25C. Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NBai Ping <ping.bai@nxp.com> Acked-by: NDong Aisheng <aisheng.dong@nxp.com> Acked-by: NShawn Guo <shawnguo@kernel.org> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
f085f672