mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
thermal: tegra: add hw-throttle for Tegra132
Tegra132 use CCROC throttle registers to configure pulse skiper, set these registers to enable throttle function for Tegra132. Signed-off-by: Wei Ni <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
parent
ce0dbf04f6
commit
6c7c324570
3 changed files with 226 additions and 30 deletions
|
|
@ -11,4 +11,9 @@
|
|||
#define TEGRA124_SOCTHERM_SENSOR_PLLX 3
|
||||
#define TEGRA124_SOCTHERM_SENSOR_NUM 4
|
||||
|
||||
#define TEGRA_SOCTHERM_THROT_LEVEL_LOW 0
|
||||
#define TEGRA_SOCTHERM_THROT_LEVEL_MED 1
|
||||
#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 2
|
||||
#define TEGRA_SOCTHERM_THROT_LEVEL_NONE -1
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue