Skip to content
Snippets Groups Projects
  1. Sep 13, 2015
  2. Jul 10, 2015
    • Tim Harvey's avatar
      thermal: imx_thermal: fix busywait if IMX6 temp <0C · 42564025
      Tim Harvey authored
      
      The temperature calculation must be typecasted to keep the compiler
      from sign extending a negative value prior to division.
      
      This fixes an issue where if the CPU temperature is <0C it will get stuck
      in the busywait loop until the CPU heats up to 0C.
      
      Cc: Ye Li <b37916@freescale.com>
      Cc: Jason Liu <r64343@freescale.com>
      Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
      42564025
    • Tim Harvey's avatar
      thermal:imx_thermal: enter busywait cooling loop when over max CPU temp · 3b7ad216
      Tim Harvey authored
      
      Remove the check for temperature being within the min/max range and enter the
      busywait cooling loop whenever the CPU temperature is over the critical temp.
      This fixes the issue where if a board was booted at a temp greater than
      the CPU temperature max, it would skip the loop and never indicate or try
      to address the overtemp issue.
      
      Cc: Ye Li <b37916@freescale.com>
      Cc: Jason Liu <r64343@freescale.com>
      Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
      3b7ad216
  3. May 26, 2015
    • Tim Harvey's avatar
      thermal: imx_thermal: increase critical temperature threshold · be56de6f
      Tim Harvey authored
      
      The CPU temperature grade from OTP is now used to define the critical
      threshold at which point we busyloop until we are below, however this
      threshold is still too low.
      
      Instead of 20C below the max CPU temperature, change it to 5C defined now
      by TEMPERATURE_HOT_DETLA for clarity. Rename 'passive' to 'critical'
      as that better defines our use case here. Additionally change the output
      of the busyloop message to show the max CPU temperature as well as current.
      
      Before:
      CPU Temperature is 101 C, too hot to boot, waiting...
      CPU Temperature is 101 C, too hot to boot, waiting...
      
      After:
      CPU Temperature (101C) too close to max (105C) waiting...
      CPU Temperature (101C) too close to max (105C) waiting...
      
      Cc: Stefan Roese <sr@denx.de>
      Cc: Eric Nelson <eric.nelson@boundarydevices.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Jon Nettleton <jon.nettleton@gmail.com>
      Cc: Jason Liu <r64343@freescale.com>
      Cc: Ye Li <b37916@freescale.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
      Cc: Markus Niebel <Markus.Niebel@tq-group.com>
      Cc: Peng Fan <b51431@freescale.com>
      Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
      be56de6f
  4. May 19, 2015
  5. Dec 01, 2014
  6. Nov 21, 2014
Loading