
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 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 (5): mx6: crm_regs: Add bit definitions for anadig registers mx6: clock: Add api to enable pll3 mx6: thermal: Add i.MX6 CPU thermal sensor support mx6: thermal: Check cpu temperature via thermal sensor mx6: thermal: Enable thermal sensor for mx6 sabre boards.
arch/arm/cpu/armv7/mx6/clock.c | 25 ++ arch/arm/imx-common/cpu.c | 6 + arch/arm/include/asm/arch-mx6/clock.h | 1 + arch/arm/include/asm/arch-mx6/crm_regs.h | 541 ++++++++++++++++++++++++++++++ drivers/Makefile | 1 + drivers/thermal/Makefile | 8 + drivers/thermal/imx_thermal.c | 137 ++++++++ include/configs/mx6sabre_common.h | 3 +- include/imx_thermal.h | 15 + 9 files changed, 736 insertions(+), 1 deletion(-) create mode 100644 drivers/thermal/Makefile create mode 100644 drivers/thermal/imx_thermal.c create mode 100644 include/imx_thermal.h