Age | Commit message (Collapse) | Author |
|
Fixed setting of DOWN threshold by adjusting hysteresis correctly for
precision. Made temperatures array be at 4 degree intervals above 70C
because of 2C rounding required for soctherm temperature thresholds.
Bug 1233302
Change-Id: I2dc0966fdc3ba81d6e29b8dd0095b165bf2ae7bc
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/200216
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
|
|
This change enables balanced throttling to throttle
frequencies of components individually.
Reviewed-on: http://git-master/r/195368
(cherry picked from commit aa2e22edbbecf8621ab2c0d56a05c967101aae12)
Change-Id: If260229387127d29aba6bfd02cd505597f992921
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/197152
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
Bug 1200075
Change-Id: I5feae9296aae7a88585bbfc4a49478bb33602b40
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/192129
Reviewed-by: Automatic_Commit_Validation_User
|
|
Moved repetitive platform initalization of edp features to common
areas in preparation for handling these cdevs from soc_therm.
Bug 1200075
Change-Id: I8f7fe45d8f0797c72272e5ee1db3707493ec90a5
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/190765
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
|
|
Change struct throttle_table type in struct balanced_throttle
from array to pointer.
Bug 1174096
Bug 1200111
Change-Id: I8e2344835546b613d81ec9f608085939f2b47270
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/190304
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
Rename cooling device type to the generic name for balanced throttle.
Change-Id: Ie975d5806530cf252baa5152b82cf7cb7822b8a0
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/172181
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
|
|
Fix Coverity issue
Coverity id : 21342
Coverity id : 21343
Coverity id : 21344
Bug 1046331
Change-Id: I7a990f4cf36020a416f5cf029a8874fe07dbf389
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/169387
(cherry picked from commit 5a9fcd2218f7751b77e73246aaa9e5840c4ae2b5)
Reviewed-on: http://git-master/r/188449
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Utilize the updated nct platform data structure. Multiple active cooling
devices can also be used now.
Change-Id: I009b34d0156c679882040c86b9e583261617071a
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/165189
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
Remove the create_cdev function pointers from nct platform data and
just utilize cdev type name to bind with nct driver.
Change-Id: I7be429a8b8e0deb485c24e3d3c779d3ca1f09d2b
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/165187
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
Allow the function caller to name the type of the cooling device.
Change-Id: I26f69d0e7d0de9e58f0ffa65b97cd92b0cb0fd12
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/160075
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
With the new Linux Thermal API we can implement EDP thermals
as a single active cooling device instead of the multiple
cooling devices we had before which was messy.
bug 1059470
Change-Id: Iecc338a5ae7749d19017d7b30229017c35f76f1c
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/159981
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Set tc2 correctly for thermal layer to assess trend
Bug 1057977
Change-Id: If92788d2b9438e5ff932407720d42d4a777b4279
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142133
(cherry picked from commit 42f2e06818613e19a526c94646007d9919cecf6f)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146690
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Added 1 degree hysteresis to edp thermal management trip points.
bug 1057977
Change-Id: I8a278cc3e4288ccc5f7cb7896382cb98e3c9b2a3
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141776
(cherry picked from commit b0d89dd8c9488edf6c0e513606dc8cc3b24ac35d)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146687
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Enabled edp thermal capping, thermal throttling, and thermal
shutdown on the Kai and Enterprise platforms which got lost
in the previous refactor.
Change-Id: I5b65058fd94162f256fdc40006db32d1e2dbde28
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132884
(cherry picked from commit f6d6f30e07d679a74342bb5e5d599993414a9d56)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
|
|
Removed the use of the Tegra thermal layer. All management
is now done via Linux thermal framework via thermal_zone_devices
and thermal_cooling_zones.
Change-Id: I87de8a7dd8ff8e338d3c18db1518b5acfc18faee
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132883
(cherry picked from commit cb9e0dbe41d7419d6152f02ea10f13faa7448e81)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130289
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
modify power_on api to pass device as argument so that from
board files it can be used to get the regulator in place of NULL
Bug 1154495
Change-Id: I5164fa04a14ef0d405e6c9d51f42efc8e6ce14bf
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/143748
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
Add board support for Invensense MPU
Change-Id: Iefabb4e01f9d0772a3a037696fe82417a51f78fd
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/132404
(cherry picked from commit baea2bfc5696f2f044efc80f5b7a88dda061e3d8)
Reviewed-on: http://git-master/r/138746
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
|
|
Update the power sequence to match the specification
Bug 1031318
Reviewed-on: http://git-master/r/128945
(cherry picked from commit 5c13235fdd38404b3b785aa5c2d7e6f51e4bfb53)
Change-Id: I60e57f3c662c6775e6ced9c4084e530d64fe1ed7
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/133395
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
1) Removed skin thermals from tegra_thermal layer
2) Removed throttle initialization from tegra_thermal layer
3) Simplified thermal device interface
4) Create a therm estimator device as a platform device
Change-Id: Ic8ffd111817f03f7aadc89d6185eb749b274b830
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/130282
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
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>
|
|
Removing tegra_gpio_enable and disable calls
from board files as they are supported thorugh
set direction calls in the driver
Bug 984439
Change-Id: I4ec51c8eb68c373b7cec6903bf52539cd520b227
Reviewed-on: http://git-master/r/102813
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
we've moved to IRQ domains, and need to use gpio_to_irq
instead of TEGRA_GPIO_TO_IRQ to get correct results.
See commit 6f74dc9bc8de41f3de474a7269a70921e773c40f
Change-Id: Ieb7c3e5d2a9bd0f4c83881b16fbd617babf41950
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/106362
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Kai board uses OnSemi NCT72 thermal sensor.
NCT72 is pin and register compatible to NCT1008.
Change the i2c device id from "nct1008" to "nct72" to avoid
confusion.
Bug 961970
Reviewed-on: http://git-master/r/100466
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
(cherry picked from commit 07ed4a320ff7e18e615270e0e15bd4212e6a7c9f)
Change-Id: I6ef858d27b1b1f35ddd071542bb22caed2e776ab
Reviewed-on: http://git-master/r/103582
Tested-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug 961829
NCT72 thermal sensor consumes ~3mW at 16Hz conversion rate.
At 32Hz, the power consumption ~1.5mW.
Change conversion rate to 32Hz to reduce power consumption.
LP0 power consumption will not reduce, because the sensor will
enter standby mode.
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Change-Id: If584c57b4d6e0b3068d9a1210a977ef5cd347984
Reviewed-on: http://git-master/r/101217
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Disable internal temperature sensor and enable external temperature
sensor.
This is a modified version of change
74db6e22d316a95630d3059644fbc55e2620cb9b
Bug 954134
Change-Id: Id64bb93a09e1701165ad1f82e08bb92e61425873
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/96285
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Conflicts:
arch/arm/mach-tegra/board-kai-sensors.c
|
|
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>
Conflicts:
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/usb_phy.c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
Bug 825602
Change-Id: Id3f4db74f2d0d1aebc8aa1f6e1da865171af9b49
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/82763
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: R5c74d6c609f25ed42c6e9862ce338ecc9e9f8ceb
|
|
Bug 937953
Change-Id: I202677abe4738e84224cbfd53fec5319392a8cc4
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83370
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: R326271af21e17c4b5786d6988fc2b9cd2e72e12f
|
|
Bug 913259
Change-Id: Idc26f500390b476942819289949f042bc25ae4a6
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/82762
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Rebase-Id: R514fc2949dfe5814353fdc3d2fb253c85eac78a8
|