
This patch set adds i.MX6 thermal sensor driver and enables it for mx6sabre boards. Also adds various anadig bit definitions as required for upcoming drivers.
Changes in v7: -Convert the imx thermal driver to DM. -Enable DM drivers for mx6sabre boards.
Changes in v6: -Aligned imx thermal driver macro defines with kernel
Changes in v5: -Don't modify the copyright of cpu.c and crm_regs.h file
Changes in v4: -Added imx6 thermal sensor as a driver -Renamed the config define to be more meaningful -Move the clock code to clock.c -Reusing ocotp driver for reading fuse -Fix check for calibration fuse not programmed -Aligned the slope computation with kernel -Added Anadig register defines as seperate commit
Changes in v3: -adds the mx6 thermal driver support -adds the mx6 thermal support to mx6sabresd board.
Changes in v2: -run checkpatch and fix reported issues
Nitin Garg (1): mx6: clock: Add thermal clock enable function
Ye.Li (3): DM: thermal: Add imx thermal DM driver mx6: thermal: Check cpu temperature via thermal sensor mx6: mx6sabre common: Enable i.MX thermal DM driver
arch/arm/cpu/armv7/mx6/clock.c | 30 ++++++ arch/arm/cpu/armv7/mx6/soc.c | 15 +++ arch/arm/imx-common/cpu.c | 21 ++++ arch/arm/include/asm/arch-mx6/clock.h | 1 + drivers/Makefile | 1 + drivers/thermal/Makefile | 9 ++ drivers/thermal/imx_thermal.c | 177 +++++++++++++++++++++++++++++++++ drivers/thermal/thermal-uclass.c | 30 ++++++ include/configs/mx6sabre_common.h | 7 +- include/dm/uclass-id.h | 1 + include/imx_thermal.h | 17 +++ include/thermal.h | 42 ++++++++ 12 files changed, 350 insertions(+), 1 deletions(-) create mode 100644 drivers/thermal/Makefile create mode 100644 drivers/thermal/imx_thermal.c create mode 100644 drivers/thermal/thermal-uclass.c create mode 100644 include/imx_thermal.h create mode 100644 include/thermal.h