NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

GLSDK Thermal framework

From Texas Instruments Wiki
Jump to: navigation, search

GLSDK - DRA7xx Thermal Framework[edit]

TI SOC THERMAL MANAGEMENT[edit]

TI SOC DRA7XX Thermal Management system consists of Thermal Management Hardware and Linux thermal framework.

Architecture Diagram[edit]

Thermaldiagram.png

The Hardware[edit]

The HW TM consist of five thermal zones, namely MPU, GPU, IVA, IPU and DSPEVE.
Each thermal zone has a dedicated sensor and a Bandgaps controller for temperature monitoring and analog to digital conversions.

 Please refer to Figure 18-5. Thermal Management Functional Block Diagram for more details.


HW Cooling Device: A HW cooling device may an onboard fan or an external fan that can be controlled by software running on the CPU. Temperature events supported :

T_ALERT occurs when temperature has reached preset alert point, trigger an interrupt.
T_ALERT - cold event :
Cold event occurs when temperature goes below the preset value of min temperature for alerting the system.
T_ALERT - hot event :
Hot event occurs when temperature goes above the preset value of max temperature for alerting the system.
T_SHUT occurs when temperature has reached preset shutdown point so power down the corresponding CPU, triggers an interrupt.
T_SHUT - cold event :
Cold event occurs when temperature goes below the preset value of min temperature for shutting down the system.
T_SHUT - hot event :
Hot event occurs when temperature goes above the preset value of max temperature for shutting down the system.

The Software[edit]

The SW thermal management framework consists of following components:
SW cooling device: A SW cooling device may be a CPUFreq or a similar CPU frequency controller driver that can be used to reduce or increase CPU speeds as per requirement.

The thermal Driver[edit]

TI-SOC-THERMAL : The driver configures the hardware, allocates resources (such as irqs, handlers) and binds the cooling devices with thermal zones (external fan/ CPUFreq driver).

The thermal Governor[edit]

On DRA7xx we use,
STEP GOVERNOR : Thermal governor takes a decision based on current temperature event and the policy (configured preset values for alerts). For example when temperature rises beyond a preset value, the governor might take a decision to increase cooling by moving CPU frequency to one step lower. The changes in cooling state taken by STEP GOVERNOR are always one step at a time, hence the name.

The Thermal Policy[edit]

Includes trip point information and cooling devices states associated with trip points, specified in drivers/staging/ti-soc-thermal/dra752-thermal-data.c

TRIP POINTS: Below mentioned are the trip points configured for all thermal zones,

Trip point 1: Temperature for the first trip point is configured at 110 degree Celsius.
Trip point 2: Temperature for the first trip point is configured at 125 degree Celsius.

Temperature control at Trip Points:

Trip point 1 - Passive control: When the temperature reaches Trip point1, the registered CPU cooling device functions are called. On dra7xx evm it is the CPUFreq driver callback which sets the cooling state to a higher value. A higher cooling state means stepping down to a Lower OPP. DRA7xx supports three OPPs - OPP_NOM(1GHz), OPP_OD(1.2GHz) and OPP_HIGH(1.5GHz)

Cooling states - OPP mapping
Cooling State OPP
0 OPP_HIGH
1 OPP_OD
2 OPP_NOM


Trip Point 2 - Critical point when temperature reaches Trip point 2, the system is powered down, this is done using the "power off" Linux command/utility.

References[edit]

For more internals of generic thermal framework refer to http://events.linuxfoundation.org/sites/events/files/lcjpcojp13_jonghwa.pdf

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GLSDK Thermal framework here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GLSDK Thermal framework here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article GLSDK Thermal framework here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article GLSDK Thermal framework here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article GLSDK Thermal framework here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GLSDK Thermal framework here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GLSDK Thermal framework here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article GLSDK Thermal framework here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article GLSDK Thermal framework here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity