SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Tegra3 Thermal Management cont.
Thermal
Sensor
CPU PMU
Get data from CPU (D+/D-)
Feedback external temperature
Monitoring if temperature is greater
than Throttle threshold
Change power control to reduce
CPU clock and low frequency
Feedback external temperature
Update DVFS table
Get data from CPU (D+/D-)
Notify to start Throttling task
Tegra3 Thermal Management cont.
Thermal
Sensor
CPU PMU
Get data from CPU (D+/D-)
Feedback external temperature
Clear DEV_ON bit to prepare to
shutdown power for CPU
Disable peripheral driver
Monitoring if temperature is greater
than Shutdown threshold
 Configure IRQ as Low-level trigger.
 HW sends interrupt according to initial threshold stored
in thermal sensor register (FW).
 Acer-specific initial value were set as follow:
 Implementation was done in file:
 nct1008.c (Driver layer configuration)
 board-acer-t30.c (NV default value for vendor customization)
 board-acer-t30-sensors.c (set into nct1008 non-violate flash)
Pin Function Threshold
TEMP_ALERT Throttling 85 ℃
AP_OVERHEAT Shutdown 90 ℃
 Verification for specific value by commands as follow,
 cat /sys/class/i2c-dev/i2c-4/device/4-004c/tempaerature_alert
 cat /sys/class/i2c-dev/i2c-4/device/4-004c/tempaerature_overheat
The ALERT output deasserts only when:
1. Temperature has fallen below the
high temperature limit.
2. Master has read the device address.
3. Cleared the status register.
Thermal Sensor
T30
Throttle
node
Monitor
DVFS
Adjust
DVFS
Cooling device N
.
.
.
Cooling device 1
Update
Update
CPU EDP Table
1400/1300/1200/1100
Switch
ALERT
Update
Bind
Monitor
Bind
UpdateUpdate Update
nct1008.c
configure_sensor ()
configure_irq ()
get_temp ()
show_temp ()
set alert ()
show alert ()
work_func ()
SW Code Flow cont.
tegra3_thermal.c
tegra_thermal_alert_unlocked ()
tegra_edp_update_thermal_zone ()
cpu_tegra.c edp.c
tegra3_throttle.c
thermal_sys.c
edp_update_limit ()
tegra_cpu_set_speed
show_throttle
tegra_system_edp
_map[]
SW Code Flow cont.
 Thermal threshold initialization
board-acer-t30.c
board-acer-t30-sensors.c
SW Code Flow cont.
 HW interrupt triggers work_func to proceed throttling task!
Master has read the
device address
Cleared the
status register
SW Code Flow cont.
 Stop charging if throttling starts.
 After finish each throttling call, update temperature to T30.
SW Code Flow cont.
 Check if temperature is over
limit stored in EDP table.
 Update index for new
temperature to mapping EDP
table.
 Update CPU rate according to
the temperature which was
reported by nct1008 work
function.
 Adjust and update DVFS
latest setting for CPU clock.
SW Code Flow cont.
 Throttle sysfs node is the “answer” for CPU to know when
throttling process ends.
 Sysfs node stores in path:
sys/devices/system/cpu/cpu0/cpufreq/throttle
SW Code Flow cont.
 tegra3_throttle.c will report the latest status of throttling process.
SW Code Flow cont.
 thermal_sys.c (cooling device) write TRUE/FALSE TO sysfs node
“throttle” to update for tegra3_throttle.c and cpu-tegra.c
SW Code Flow cont.
 CPU frequency adjustment mapping table with throttling stage.
 Interrupt will be send to notify when temperature isn’t within limit,
 45~60: 1.3GHz
 60~75: 1.3GHz
 75~85: 1.2GHz
 over 85: 1.1GHz
Stage
Core On (cpu0 to 3)
SW Code Flow cont.
 CPU frequency adjustment mapping table
 SW verification step
 HW verification step
Throttling
Shutdown

Weitere ähnliche Inhalte

Andere mochten auch

Printing Evolution for Business Transformation
Printing Evolution for Business TransformationPrinting Evolution for Business Transformation
Printing Evolution for Business TransformationIDC Italy
 
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...sankarananthcj
 
Restaurante moulin de paris lanzarote
Restaurante moulin de paris   lanzaroteRestaurante moulin de paris   lanzarote
Restaurante moulin de paris lanzaroteGONZALO CASADO
 
Application Form Booklet MC 14-15
Application Form Booklet MC 14-15Application Form Booklet MC 14-15
Application Form Booklet MC 14-15Andrada Falcoi
 
FotosintesisREAKSI GELAP DAN TERANG
FotosintesisREAKSI GELAP DAN TERANGFotosintesisREAKSI GELAP DAN TERANG
FotosintesisREAKSI GELAP DAN TERANGMerry-ta Bintang
 
Little Angel
Little AngelLittle Angel
Little AngelJay Wang
 
Advanced Mathematics Program 8
Advanced Mathematics Program 8Advanced Mathematics Program 8
Advanced Mathematics Program 8Lade Asrah Carim
 
итоговый урок в 11 классе
итоговый урок в 11 классеитоговый урок в 11 классе
итоговый урок в 11 классеkazanina-pk
 
Fractures - general view
Fractures - general view Fractures - general view
Fractures - general view Shanta Peter
 
Chủ đề 2 nhóm 11
Chủ đề 2 nhóm 11Chủ đề 2 nhóm 11
Chủ đề 2 nhóm 11Anh Truong
 

Andere mochten auch (13)

Printing Evolution for Business Transformation
Printing Evolution for Business TransformationPrinting Evolution for Business Transformation
Printing Evolution for Business Transformation
 
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...
Str 581 guide 3 87) One study found that manufacturing labor costs about ___ ...
 
Restaurante moulin de paris lanzarote
Restaurante moulin de paris   lanzaroteRestaurante moulin de paris   lanzarote
Restaurante moulin de paris lanzarote
 
Jolly bouy island
Jolly bouy islandJolly bouy island
Jolly bouy island
 
Application Form Booklet MC 14-15
Application Form Booklet MC 14-15Application Form Booklet MC 14-15
Application Form Booklet MC 14-15
 
Sap hana documentation @ TL Technologies
Sap hana documentation @ TL TechnologiesSap hana documentation @ TL Technologies
Sap hana documentation @ TL Technologies
 
FotosintesisREAKSI GELAP DAN TERANG
FotosintesisREAKSI GELAP DAN TERANGFotosintesisREAKSI GELAP DAN TERANG
FotosintesisREAKSI GELAP DAN TERANG
 
Little Angel
Little AngelLittle Angel
Little Angel
 
Advanced Mathematics Program 8
Advanced Mathematics Program 8Advanced Mathematics Program 8
Advanced Mathematics Program 8
 
итоговый урок в 11 классе
итоговый урок в 11 классеитоговый урок в 11 классе
итоговый урок в 11 классе
 
Fractures - general view
Fractures - general view Fractures - general view
Fractures - general view
 
Chủ đề 2 nhóm 11
Chủ đề 2 nhóm 11Chủ đề 2 nhóm 11
Chủ đề 2 nhóm 11
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 

Ähnlich wie Android jb thermal sw flow

Tegra Throttling Monitor
Tegra Throttling MonitorTegra Throttling Monitor
Tegra Throttling MonitorStanley Chang
 
Temperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capabilityTemperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capabilitykashyap velpuru
 
Electical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxElectical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxAldi Walai
 
C programming of an ARM microcontroller and writing UART serial communication...
C programming of an ARM microcontroller and writing UART serial communication...C programming of an ARM microcontroller and writing UART serial communication...
C programming of an ARM microcontroller and writing UART serial communication...nipunkrn
 
Manuale Instatore User Manual
Manuale Instatore User ManualManuale Instatore User Manual
Manuale Instatore User Manualconwaychris
 
Automatic temp controller
Automatic temp controllerAutomatic temp controller
Automatic temp controllersimmy89
 
TPS2492/93 – High Voltage Hotswap Controller
TPS2492/93 – High Voltage Hotswap ControllerTPS2492/93 – High Voltage Hotswap Controller
TPS2492/93 – High Voltage Hotswap ControllerPremier Farnell
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fanÇdh Suman
 
Arduino HVAC Temperature Controller
Arduino HVAC Temperature ControllerArduino HVAC Temperature Controller
Arduino HVAC Temperature ControllerMichael Clarke
 
Xbee Wireless Throttle Position Sensor And Control
Xbee Wireless Throttle Position Sensor  And ControlXbee Wireless Throttle Position Sensor  And Control
Xbee Wireless Throttle Position Sensor And Controlkians64
 
Mohamed_Awwad_ElectricHeater.pptx
Mohamed_Awwad_ElectricHeater.pptxMohamed_Awwad_ElectricHeater.pptx
Mohamed_Awwad_ElectricHeater.pptxmohammedawwad18
 
What you about_dcs_system (1)
What you about_dcs_system (1)What you about_dcs_system (1)
What you about_dcs_system (1)Ashok Kumar Barla
 

Ähnlich wie Android jb thermal sw flow (20)

04 2 new smart csu r00
04 2 new smart csu r0004 2 new smart csu r00
04 2 new smart csu r00
 
The Consultants Role
The Consultants RoleThe Consultants Role
The Consultants Role
 
Tegra Throttling Monitor
Tegra Throttling MonitorTegra Throttling Monitor
Tegra Throttling Monitor
 
Showcase
ShowcaseShowcase
Showcase
 
Temperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capabilityTemperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capability
 
Electical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptxElectical Power Subsystem _CDR.pptx
Electical Power Subsystem _CDR.pptx
 
C programming of an ARM microcontroller and writing UART serial communication...
C programming of an ARM microcontroller and writing UART serial communication...C programming of an ARM microcontroller and writing UART serial communication...
C programming of an ARM microcontroller and writing UART serial communication...
 
Manuale Instatore User Manual
Manuale Instatore User ManualManuale Instatore User Manual
Manuale Instatore User Manual
 
Automatic temp controller
Automatic temp controllerAutomatic temp controller
Automatic temp controller
 
TPS2492/93 – High Voltage Hotswap Controller
TPS2492/93 – High Voltage Hotswap ControllerTPS2492/93 – High Voltage Hotswap Controller
TPS2492/93 – High Voltage Hotswap Controller
 
Em s7 plc
Em s7 plcEm s7 plc
Em s7 plc
 
Project (K.Grigoryev)
Project  (K.Grigoryev)Project  (K.Grigoryev)
Project (K.Grigoryev)
 
06 troubleshooting maintenance
06 troubleshooting maintenance06 troubleshooting maintenance
06 troubleshooting maintenance
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
 
Heat sink
Heat sinkHeat sink
Heat sink
 
Ds1307 datasheet
Ds1307 datasheetDs1307 datasheet
Ds1307 datasheet
 
Arduino HVAC Temperature Controller
Arduino HVAC Temperature ControllerArduino HVAC Temperature Controller
Arduino HVAC Temperature Controller
 
Xbee Wireless Throttle Position Sensor And Control
Xbee Wireless Throttle Position Sensor  And ControlXbee Wireless Throttle Position Sensor  And Control
Xbee Wireless Throttle Position Sensor And Control
 
Mohamed_Awwad_ElectricHeater.pptx
Mohamed_Awwad_ElectricHeater.pptxMohamed_Awwad_ElectricHeater.pptx
Mohamed_Awwad_ElectricHeater.pptx
 
What you about_dcs_system (1)
What you about_dcs_system (1)What you about_dcs_system (1)
What you about_dcs_system (1)
 

Kürzlich hochgeladen

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 

Kürzlich hochgeladen (20)

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 

Android jb thermal sw flow

  • 1.
  • 2.
  • 3.
  • 4. Tegra3 Thermal Management cont. Thermal Sensor CPU PMU Get data from CPU (D+/D-) Feedback external temperature Monitoring if temperature is greater than Throttle threshold Change power control to reduce CPU clock and low frequency Feedback external temperature Update DVFS table Get data from CPU (D+/D-) Notify to start Throttling task
  • 5. Tegra3 Thermal Management cont. Thermal Sensor CPU PMU Get data from CPU (D+/D-) Feedback external temperature Clear DEV_ON bit to prepare to shutdown power for CPU Disable peripheral driver Monitoring if temperature is greater than Shutdown threshold
  • 6.  Configure IRQ as Low-level trigger.  HW sends interrupt according to initial threshold stored in thermal sensor register (FW).
  • 7.  Acer-specific initial value were set as follow:  Implementation was done in file:  nct1008.c (Driver layer configuration)  board-acer-t30.c (NV default value for vendor customization)  board-acer-t30-sensors.c (set into nct1008 non-violate flash) Pin Function Threshold TEMP_ALERT Throttling 85 ℃ AP_OVERHEAT Shutdown 90 ℃
  • 8.  Verification for specific value by commands as follow,  cat /sys/class/i2c-dev/i2c-4/device/4-004c/tempaerature_alert  cat /sys/class/i2c-dev/i2c-4/device/4-004c/tempaerature_overheat
  • 9. The ALERT output deasserts only when: 1. Temperature has fallen below the high temperature limit. 2. Master has read the device address. 3. Cleared the status register.
  • 10. Thermal Sensor T30 Throttle node Monitor DVFS Adjust DVFS Cooling device N . . . Cooling device 1 Update Update CPU EDP Table 1400/1300/1200/1100 Switch ALERT Update Bind Monitor Bind UpdateUpdate Update
  • 11. nct1008.c configure_sensor () configure_irq () get_temp () show_temp () set alert () show alert () work_func () SW Code Flow cont. tegra3_thermal.c tegra_thermal_alert_unlocked () tegra_edp_update_thermal_zone () cpu_tegra.c edp.c tegra3_throttle.c thermal_sys.c edp_update_limit () tegra_cpu_set_speed show_throttle tegra_system_edp _map[]
  • 12. SW Code Flow cont.  Thermal threshold initialization board-acer-t30.c board-acer-t30-sensors.c
  • 13. SW Code Flow cont.  HW interrupt triggers work_func to proceed throttling task! Master has read the device address Cleared the status register
  • 14. SW Code Flow cont.  Stop charging if throttling starts.  After finish each throttling call, update temperature to T30.
  • 15. SW Code Flow cont.  Check if temperature is over limit stored in EDP table.  Update index for new temperature to mapping EDP table.  Update CPU rate according to the temperature which was reported by nct1008 work function.  Adjust and update DVFS latest setting for CPU clock.
  • 16. SW Code Flow cont.  Throttle sysfs node is the “answer” for CPU to know when throttling process ends.  Sysfs node stores in path: sys/devices/system/cpu/cpu0/cpufreq/throttle
  • 17. SW Code Flow cont.  tegra3_throttle.c will report the latest status of throttling process.
  • 18. SW Code Flow cont.  thermal_sys.c (cooling device) write TRUE/FALSE TO sysfs node “throttle” to update for tegra3_throttle.c and cpu-tegra.c
  • 19. SW Code Flow cont.  CPU frequency adjustment mapping table with throttling stage.  Interrupt will be send to notify when temperature isn’t within limit,  45~60: 1.3GHz  60~75: 1.3GHz  75~85: 1.2GHz  over 85: 1.1GHz Stage Core On (cpu0 to 3)
  • 20. SW Code Flow cont.  CPU frequency adjustment mapping table
  • 22.  HW verification step Throttling Shutdown