linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH asahi-soc/dt] arm64: dts: apple: t7000: Add missing CPU p-state 7 for J96 and J97
@ 2025-02-17  6:10 Nick Chan
  2025-02-18 16:56 ` Sven Peter
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Chan @ 2025-02-17  6:10 UTC (permalink / raw)
  To: Sven Peter, Janne Grunau, Alyssa Rosenzweig, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Neal Gompa, Nick Chan
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel

Add missing CPU p-state 7 @ 1512 MHz for iPad mini 4.

Fixes: e97323994f4a ("arm64: dts: apple: t7000: Add cpufreq nodes")
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
---
Note, some sources state that Apple TV HD has 1512 MHz A8 too, but that
is incorrect, the maximum frequency on Apple TV HD as configured by iBoot
is 1392 MHz.
---
 arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 4 ++++
 arch/arm64/boot/dts/apple/t7000.dtsi       | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/t7000-mini4.dtsi b/arch/arm64/boot/dts/apple/t7000-mini4.dtsi
index 6da15d15601bcd553d6d0e3fda93df4685b57ee1..cc235c5a0c438f3f07ce5318a75dd928615b7818 100644
--- a/arch/arm64/boot/dts/apple/t7000-mini4.dtsi
+++ b/arch/arm64/boot/dts/apple/t7000-mini4.dtsi
@@ -57,3 +57,7 @@ &framebuffer0 {
 &typhoon_opp06 {
 	status = "okay";
 };
+
+&typhoon_opp07 {
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/apple/t7000.dtsi b/arch/arm64/boot/dts/apple/t7000.dtsi
index d4b479ccfe8c9309b8de6c23f1e90000ad287992..32cac8c30e62d657079dbf32aece8af0fd9cef38 100644
--- a/arch/arm64/boot/dts/apple/t7000.dtsi
+++ b/arch/arm64/boot/dts/apple/t7000.dtsi
@@ -84,6 +84,12 @@ typhoon_opp06: opp06 {
 			clock-latency-ns = <42000>;
 			status = "disabled"; /* Not available on N102 */
 		};
+		typhoon_opp07: opp07 {
+			opp-hz = /bits/ 64 <1512000000>;
+			opp-level = <7>;
+			clock-latency-ns = <49000>;
+			status = "disabled"; /* J96 and J97 only */
+		};
 	};
 
 	soc {

---
base-commit: ca96d759d8d24d90b1726c2cc7c568ff4728bb42
change-id: 20250217-mini4-cpufreq-fd6c19346518

Best regards,
-- 
Nick Chan <towinchenmi@gmail.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH asahi-soc/dt] arm64: dts: apple: t7000: Add missing CPU p-state 7 for J96 and J97
  2025-02-17  6:10 [PATCH asahi-soc/dt] arm64: dts: apple: t7000: Add missing CPU p-state 7 for J96 and J97 Nick Chan
@ 2025-02-18 16:56 ` Sven Peter
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Peter @ 2025-02-18 16:56 UTC (permalink / raw)
  To: Janne Grunau, Alyssa Rosenzweig, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neal Gompa, Nick Chan
  Cc: Sven Peter, asahi, linux-arm-kernel, devicetree, linux-kernel


On Mon, 17 Feb 2025 14:10:05 +0800, Nick Chan wrote:
> Add missing CPU p-state 7 @ 1512 MHz for iPad mini 4.
> 
> 

Applied, thanks!

[1/1] arm64: dts: apple: t7000: Add missing CPU p-state 7 for J96 and J97
      commit: 97aeb6507356c72d87fd93f45705d3f4b1a05d14

Best regards,
-- 
Sven Peter <sven@svenpeter.dev>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-18 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  6:10 [PATCH asahi-soc/dt] arm64: dts: apple: t7000: Add missing CPU p-state 7 for J96 and J97 Nick Chan
2025-02-18 16:56 ` Sven Peter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).