summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_thermal.c
AgeCommit message (Collapse)Author
2012-07-25ARM: tegra: thermal: fix inform edp governor bugDaniel Fu
Fixed bug using Tj temp to update thermal zone, It should use EDP temp to update it. bug 1007726 Change-Id: Ibcf2520a4bad7dc977add0b5c855681d2667a7c2 Signed-off-by: Daniel Fu <danifu@nvidia.com> Reviewed-on: http://git-master/r/117250 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-07-17ARM: tegra: thermal: Call pm register only onceJoshua Primero
Fixed bug where pm register was being called multiple times. Change-Id: I32f7b10547275e0a9bdad1073f9842589180c0f8 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/116203 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-07-11ARM: tegra: thermal: fixed some skin thermal bugsJoshua Primero
Fixed bug where skin cooling device is being bound to nct device instead of skin thermal device. bug 1007726 Change-Id: Ia6316735da8895fd4f4c20c0a76cd6796dafdf9b Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/113563 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-09ARM: tegra: thermal framework notifierBitan Biswas
Tegra thermal framework notifier is used to bypass driver callbacks after suspend is initiated. bug 999175 Signed-off-by: Linqiang Pu <dpu@nvidia.com> Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> (cherry picked from commit de6b3b3e4b05edf05ceeda820a8aac548a83d410) Change-Id: I93bee5d6a4e2738db0d4db821035900b64a850be Reviewed-on: http://git-master/r/108924 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2012-07-03drivers: skin: Skin prediction algorithmJoshua Primero
Added skin prediction algorithm. bug 1007726 Change-Id: Ia76f73cb818aa02e608e1fc69ab4d8277a5825eb Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/104814 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-07-02ARM: tegra: Object based balanced throttlingJoshua Primero
Implemented an object based balanced throttling in preparation for multiple balanced throttling objects. bug 1007726 Change-Id: Ib58fafaf696af0ae58e78bd9fd417d3a822d0571 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/105238 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-05-21arm: thermal: Removed nonTEGRA_THERMAL_SYSFS logicJoshua Primero
All throttling must go through the Linux thermal sysfs framework now. Change-Id: Ia871e0b06e548d5d82211a65979bea52a6c28fb0 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/103183 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-19arm: tegra: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: I875f8688a272c415ebf345b8f30e4afdf7551b29 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/91523 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-12-22arm: tegra: thermal: Low temp to therm algorithmJoshua Primero
Instead of using 0C as default low temp in thermal algorithm, query the thermal device driver for lowest supported temperature. Change-Id: Id1f70380ba476dec80e36ce79b42ab6f24a5d5ba Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70935 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-12-22arm: tegra: thermal: Added thermal debugfs nodesJoshua Primero
Added nodes which can set/get tc1, tc2, passive delay, shutdown temp, and throttle temp. Change-Id: I433bb09f9bf42cdbc7112fc98fa4ae88ca7e1de8 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70930 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-12-22arm: tegra: thermal: Added name per therm deviceJoshua Primero
Added name paramater per therm device so that is easy to tell which therm device is being used from sysfs Change-Id: I58488b4c50ac6dc58dc00e270b613458f61a9fd6 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70929 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-12-21arm: tegra: thermal: Lower limit during throttleJoshua Primero
Added a lower limit while in throttling to the thermal layer. Needed this for tsensor to work. Change-Id: Ib4cc038b9a287a799ae19ca565798b06c26af02c Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/69562 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2011-12-08arm: tegra: thermal: Thermal cleanupJoshua Primero
Added tc1, tc2, and passive delay to thermal framework parameters. Made thermal offsets more explicit and clean. In throttling code, instead of using one 10 second 640000 entry, split this into five 2 second entries. This will give better temperature stability. bug 877359 Change-Id: Idc463ab18bdabb7a0472f4f6572195bf76067bd4 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/68029 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-12-08arm: tegra: power: Tegra Thermal refactoringJoshua Primero
Refactored Thermal module so that thermal device drivers themselves are agnostic of the thermal framework. Also separated throttle limit constraints from EDP table. Reviewed-on: http://git-master/r/57990 Reviewed-on: http://git-master/r/63338 Cherry-picked from 8d0610bdd03c3490b718f11bc2108f45cd868533. Change-Id: I4f87889c9cdc88daac1e6173043bab1f2e7cebfd Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/66551 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-12-08arm: tegra: power: Device agnostic thermal driverJoshua Primero
Added a thermal driver which is agonistic to the device driver which will make it easier to port thermal devices to android tegra. Reviewed-on: http://git-master/r/55883 Reviewed-on: http://git-master/r/59471 (cherry picked from commit b89dbb5a64bcb3124794f644e71658de83a4ab71) Change-Id: Ib3c7100144ea0a98ac7c15e404d4d9e7737018e5 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/66548 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>