Re: [PATCH V3 2/2] thermal: imx: add i.MX7 thermal sensor support
From: Rob Herring <hidden>
Date: 2018-02-08 20:21:40
Also in:
linux-arm-kernel, linux-pm, lkml
From: Rob Herring <hidden>
Date: 2018-02-08 20:21:40
Also in:
linux-arm-kernel, linux-pm, lkml
On Mon, Feb 05, 2018 at 04:12:27PM +0800, Anson Huang wrote:
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: Anson Huang <redacted> Signed-off-by: Bai Ping <redacted> --- changes since V2: Add bindind doc changes in this patch according to review comments. .../devicetree/bindings/thermal/imx-thermal.txt | 9 +-
Reviewed-by: Rob Herring <redacted>
drivers/thermal/imx_thermal.c | 314 ++++++++++++++++----- 2 files changed, 254 insertions(+), 69 deletions(-)
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html