Enable the DM thermal uclass and the i.MX thermal driver on pcm058 so print_cpuinfo() can report the CPU's fused speed grade, its temperature grade, and a live die temperature reading:
Before: CPU: Freescale i.MX6Q rev1.3 at 792 MHz After: CPU: Freescale i.MX6Q rev1.3 996 MHz (running at 792 MHz) CPU: Automotive temperature grade (-40C to 125C) at 49C Signed-off-by: Primoz Fiser <[email protected]> --- configs/pcm058_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/pcm058_defconfig b/configs/pcm058_defconfig index 3524536f674b..cc48e34a72d8 100644 --- a/configs/pcm058_defconfig +++ b/configs/pcm058_defconfig @@ -92,4 +92,6 @@ CONFIG_MXC_UART=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXC_SPI=y +CONFIG_DM_THERMAL=y +CONFIG_IMX_THERMAL=y # CONFIG_SPL_WDT is not set -- 2.34.1
