
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 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 temperature support -adds the mx6 temperature 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 | 8 +- arch/arm/include/asm/arch-mx6/clock.h | 1 + arch/arm/include/asm/arch-mx6/crm_regs.h | 543 +++++++++++++++++++++++++++++- 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, 738 insertions(+), 3 deletions(-) create mode 100644 drivers/thermal/Makefile create mode 100644 drivers/thermal/imx_thermal.c create mode 100644 include/imx_thermal.h