From patchwork Sun May 3 14:19:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 244901 List-Id: U-Boot discussion From: peng.fan at nxp.com (Peng Fan) Date: Sun, 3 May 2020 22:19:44 +0800 Subject: [PATCH 00/13] imx: tmu support and scu thermal update Message-ID: <20200503141957.14635-1-peng.fan@nxp.com> This patchset is to support TMU in i.MX8M family, including i.MX8QM SCU thermal update. Peng Fan (8): thermal: Add thermal driver for i.MX8M thermal: imx_tmu: Add support for thermal sensor on iMX8MM thermal: imx_tmu: support TMU arch level initialization thermal: imx_tmu: Fix for temperature out of range thermal: imx_tmu: Check the TEMP range for iMX8MM thermal: imx_tmu: support i.MX8MP imx: regs: add more fuse bank structure imx: cpu: support tmu Ye Li (5): thermal: imx_scu_thermal: Update driver for i.MX8QM thermal sensor imx8mm: Load fuse for TMU TCALIV and TASR imx: i.MX8MN: Enable loading TASR and TCALIV from fuse imx: load calibration parameters from fuse for i.MX8MP imx8mp: Set default SNSR25C for TMU probe1 arch/arm/include/asm/arch-imx8m/imx-regs.h | 41 ++- arch/arm/mach-imx/cpu.c | 4 +- arch/arm/mach-imx/imx8m/soc.c | 75 ++++- drivers/thermal/Kconfig | 9 + drivers/thermal/Makefile | 1 + drivers/thermal/imx_scu_thermal.c | 8 + drivers/thermal/imx_tmu.c | 467 +++++++++++++++++++++++++++++ 7 files changed, 595 insertions(+), 10 deletions(-) create mode 100644 drivers/thermal/imx_tmu.c