-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'cpufreq-arm-updates-6.10' of git://git.kernel.org/pub/scm/…
…linux/kernel/git/vireshk/pm Merge ARM cpufreq updates for 6.10 from Viresh Kumar: "- Sun50i: Add support for opp_supported_hw, H616 platform and general cleaups (Andre Przywara, Martin Botka, Brandon Cheo Fusi, Dan Carpenter, and Viresh Kumar). - cppc: Fix possible null pointer dereference (Aleksandr Mishin). - Eliminate uses of of_node_put() (Javier Carrasco, and Shivani Gupta). - brcmstb-avs: ISO C90 forbids mixed declarations (Portia Stephens). - mediatek: Add support for MT7988A (Sam Shih). - cpufreq-qcom-hw: Add SM4450 compatibles in DT bindings (Tengfei Fan)." * tag 'cpufreq-arm-updates-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm: dt-bindings: cpufreq: cpufreq-qcom-hw: Add SM4450 compatibles cpufreq: sun50i: fix error returns in dt_has_supported_hw() cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations cpufreq: dt-platdev: eliminate uses of of_node_put() cpufreq: dt: eliminate uses of of_node_put() cpufreq: ti: Implement scope-based cleanup in ti_cpufreq_match_node() cpufreq: mediatek: Add support for MT7988A cpufreq: sun50i: Fix build warning around snprint() arm64: dts: allwinner: h616: enable DVFS for all boards arm64: dts: allwinner: h616: Add CPU OPPs table cpufreq: sun50i: Add H616 support cpufreq: sun50i: Add support for opp_supported_hw cpufreq: sun50i: Refactor speed bin decoding dt-bindings: opp: Describe H616 OPPs and opp-supported-hw cpufreq: dt-platdev: Blocklist Allwinner H616/618 SoCs firmware: smccc: Export revision soc_id function cppc_cpufreq: Fix possible null pointer dereference cpupfreq: tegra124: eliminate uses of of_node_put()
- Loading branch information
Showing
20 changed files
with
420 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
// Copyright (C) 2023 Martin Botka <martin@somainline.org> | ||
|
||
/ { | ||
cpu_opp_table: opp-table-cpu { | ||
compatible = "allwinner,sun50i-h616-operating-points"; | ||
nvmem-cells = <&cpu_speed_grade>; | ||
opp-shared; | ||
|
||
opp-480000000 { | ||
opp-hz = /bits/ 64 <480000000>; | ||
opp-microvolt = <900000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x1f>; | ||
}; | ||
|
||
opp-600000000 { | ||
opp-hz = /bits/ 64 <600000000>; | ||
opp-microvolt = <900000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x12>; | ||
}; | ||
|
||
opp-720000000 { | ||
opp-hz = /bits/ 64 <720000000>; | ||
opp-microvolt = <900000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x0d>; | ||
}; | ||
|
||
opp-792000000 { | ||
opp-hz = /bits/ 64 <792000000>; | ||
opp-microvolt-speed1 = <900000>; | ||
opp-microvolt-speed4 = <940000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x12>; | ||
}; | ||
|
||
opp-936000000 { | ||
opp-hz = /bits/ 64 <936000000>; | ||
opp-microvolt = <900000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x0d>; | ||
}; | ||
|
||
opp-1008000000 { | ||
opp-hz = /bits/ 64 <1008000000>; | ||
opp-microvolt-speed0 = <950000>; | ||
opp-microvolt-speed1 = <940000>; | ||
opp-microvolt-speed2 = <950000>; | ||
opp-microvolt-speed3 = <950000>; | ||
opp-microvolt-speed4 = <1020000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x1f>; | ||
}; | ||
|
||
opp-1104000000 { | ||
opp-hz = /bits/ 64 <1104000000>; | ||
opp-microvolt-speed0 = <1000000>; | ||
opp-microvolt-speed2 = <1000000>; | ||
opp-microvolt-speed3 = <1000000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x0d>; | ||
}; | ||
|
||
opp-1200000000 { | ||
opp-hz = /bits/ 64 <1200000000>; | ||
opp-microvolt-speed0 = <1050000>; | ||
opp-microvolt-speed1 = <1020000>; | ||
opp-microvolt-speed2 = <1050000>; | ||
opp-microvolt-speed3 = <1050000>; | ||
opp-microvolt-speed4 = <1100000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x1f>; | ||
}; | ||
|
||
opp-1320000000 { | ||
opp-hz = /bits/ 64 <1320000000>; | ||
opp-microvolt = <1100000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x1d>; | ||
}; | ||
|
||
opp-1416000000 { | ||
opp-hz = /bits/ 64 <1416000000>; | ||
opp-microvolt = <1100000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x0d>; | ||
}; | ||
|
||
opp-1512000000 { | ||
opp-hz = /bits/ 64 <1512000000>; | ||
opp-microvolt-speed1 = <1100000>; | ||
opp-microvolt-speed3 = <1100000>; | ||
clock-latency-ns = <244144>; /* 8 32k periods */ | ||
opp-supported-hw = <0x0a>; | ||
}; | ||
}; | ||
}; | ||
|
||
&cpu0 { | ||
operating-points-v2 = <&cpu_opp_table>; | ||
}; | ||
|
||
&cpu1 { | ||
operating-points-v2 = <&cpu_opp_table>; | ||
}; | ||
|
||
&cpu2 { | ||
operating-points-v2 = <&cpu_opp_table>; | ||
}; | ||
|
||
&cpu3 { | ||
operating-points-v2 = <&cpu_opp_table>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.