Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kernel
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bryan O'Donoghue
Kernel
Commits
78a20d38
Commit
78a20d38
authored
6 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "ARM: dts: msm: Update thermal zone rules for SDM439"
parents
f9b0f4a0
03007f13
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm64/boot/dts/qcom/sdm439-pmi632.dtsi
+109
-31
109 additions, 31 deletions
arch/arm64/boot/dts/qcom/sdm439-pmi632.dtsi
arch/arm64/boot/dts/qcom/sdm439.dtsi
+10
-0
10 additions, 0 deletions
arch/arm64/boot/dts/qcom/sdm439.dtsi
with
119 additions
and
31 deletions
arch/arm64/boot/dts/qcom/sdm439-pmi632.dtsi
+
109
−
31
View file @
78a20d38
...
...
@@ -134,73 +134,151 @@ quiet-therm-step {
thermal-governor = "step_wise";
trips {
batt_trip1: batt
-trip
1
{
temperature = <4
1
000>;
hysteresis = <
2
000>;
quiet_modem_439_trip1: quiet-modem
-trip
0
{
temperature = <4
4
000>;
hysteresis = <
4
000>;
type = "passive";
};
cpus_trip: cpus-trip {
temperature = <44000>;
quiet_modem_439_trip2: quiet-modem-trip1 {
temperature = <46000>;
hysteresis = <4000>;
type = "passive";
};
quiet_cpus_439_trip: quiet-cpus-trip {
temperature = <48000>;
hysteresis = <0>;
type = "passive";
};
batt_trip2: batt-trip2 {
temperature = <45000>;
quiet_modem_439_trip3: quiet-modem-trip2 {
temperature = <48000>;
hysteresis = <2000>;
type = "passive";
};
quiet_batt_439_trip1: quiet-batt-trip1 {
temperature = <48000>;
hysteresis = <4000>;
type = "passive";
};
gpu_trip:
gpu-trip {
quiet_gpu_439_trip: quiet-
gpu-trip {
temperature = <50000>;
hysteresis = <0>;
type = "passive";
};
quiet_batt_439_trip2: quiet-batt-trip2 {
temperature = <50000>;
hysteresis = <2000>;
type = "passive";
};
quiet_batt_439_trip3: quiet-batt-trip3 {
temperature = <52000>;
hysteresis = <2000>;
type = "passive";
};
quiet_batt_439_trip4: quiet-batt-trip4 {
temperature = <54000>;
hysteresis = <2000>;
type = "passive";
};
quiet_modem_439_trip4: quiet-modem-trip3 {
temperature = <55000>;
hysteresis = <5000>;
type = "passive";
};
quiet_batt_439_trip5: quiet-batt-trip5 {
temperature = <56000>;
hysteresis = <2000>;
type = "passive";
};
};
cooling-maps {
skin_cpu0 {
trip = <&cpus_trip>;
/* throttle from fmax to 1094400KHz */
cooling-device = <&CPU0 THERMAL_NO_LIMIT 5>;
trip = <&quiet_cpus_439_trip>;
/* throttle from fmax to 1497600KHz */
cooling-device = <&CPU0 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu1 {
trip = <&cpus_trip>;
cooling-device = <&CPU1 THERMAL_NO_LIMIT 5>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU1 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu2 {
trip = <&cpus_trip>;
cooling-device = <&CPU2 THERMAL_NO_LIMIT 5>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU2 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu3 {
trip = <&cpus_trip>;
cooling-device = <&CPU3 THERMAL_NO_LIMIT 5>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU3 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu4 {
trip = <&cpus_trip>;
cooling-device = <&CPU4 THERMAL_NO_LIMIT 3>;
trip = <&quiet_cpus_439_trip>;
/* throttle from fmax to 1171200KHz */
cooling-device = <&CPU4 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu5 {
trip = <&cpus_trip>;
cooling-device = <&CPU5 THERMAL_NO_LIMIT 3>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU5 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu6 {
trip = <&cpus_trip>;
cooling-device = <&CPU6 THERMAL_NO_LIMIT 3>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU6 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_cpu7 {
trip = <&cpus_trip>;
cooling-device = <&CPU7 THERMAL_NO_LIMIT 3>;
trip = <&quiet_cpus_439_trip>;
cooling-device = <&CPU7 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-3)>;
};
skin_gpu {
trip = <&gpu_trip>;
/* throttle from fmax to 375000000Hz */
cooling-device = <&msm_gpu THERMAL_NO_LIMIT 2>;
trip = <&quiet_gpu_439_trip>;
/* throttle from fmax to 510000000Hz */
cooling-device = <&msm_gpu THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-2)>;
};
modem_proc_lvl1 {
trip = <&quiet_modem_439_trip1>;
cooling-device = <&modem_proc 1 1>;
};
modem_proc_lvl2 {
trip = <&quiet_modem_439_trip4>;
cooling-device = <&modem_proc 3 3>;
};
modem_lvl1 {
trip = <&quiet_modem_439_trip2>;
cooling-device = <&modem_pa 1 1>;
};
modem_lvl2 {
trip = <&quiet_modem_439_trip3>;
cooling-device = <&modem_pa 2 2>;
};
modem_lvl3 {
trip = <&quiet_modem_439_trip4>;
cooling-device = <&modem_pa 3 3>;
};
battery_lvl1 {
trip = <&
batt
_trip1>;
cooling-device = <&pmi632_charger
4 4
>;
trip = <&
quiet_batt_439
_trip1>;
cooling-device = <&pmi632_charger
1 1
>;
};
battery_lvl2 {
trip = <&batt_trip2>;
trip = <&quiet_batt_439_trip2>;
cooling-device = <&pmi632_charger 2 2>;
};
battery_lvl3 {
trip = <&quiet_batt_439_trip3>;
cooling-device = <&pmi632_charger 3 3>;
};
battery_lvl4 {
trip = <&quiet_batt_439_trip4>;
cooling-device = <&pmi632_charger 4 4>;
};
battery_lvl5 {
trip = <&quiet_batt_439_trip5>;
cooling-device = <&pmi632_charger 5 5>;
};
};
...
...
This diff is collapsed.
Click to expand it.
arch/arm64/boot/dts/qcom/sdm439.dtsi
+
10
−
0
View file @
78a20d38
...
...
@@ -639,3 +639,13 @@ qcom,gpu-pwrlevel@1 {
&mdss_mdp {
qcom,vbif-settings = <0xd0 0x20>;
};
&thermal_zones {
hexa-cpu-max-step {
trips {
cpu-trip {
temperature = <95000>;
};
};
};
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment