Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion arch/arm64/boot/dts/apple/t6040.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
opp-level = <11>;
opp-microwatt = <4129900>;
};
opp12 {
t6040_p1_opp_3756: opp12 {
opp-hz = /bits/ 64 <3756000000>;
opp-level = <12>;
opp-microwatt = <4666300>;
Expand Down Expand Up @@ -741,6 +741,14 @@
apple,pmp = <&pmp>;
};

/*
* The ANE engine clock follows the second P cluster's frequency (cpu-map
* cluster2): MobileNetV1 engine time stops improving at 3.756 GHz.
*/
&clpc {
apple,ane-cpu-opp = <&t6040_p1_opp_3756>;
};

#include "t6040-pmgr.dtsi"

/* Display power words and chains: two external pipes, not T6041's four. */
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/apple/t8142-j704.dts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
opp-level = <13>;
};

opp-4176000000 {
pcluster_opp_4176: opp-4176000000 {
opp-hz = /bits/ 64 <4176000000>;
opp-level = <14>;
};
Expand Down Expand Up @@ -234,6 +234,8 @@
clpc: performance-controller@1 {
compatible = "apple,t8142-clpc";
reg = <1>;
/* The ANE engine clock follows the P cluster's frequency */
apple,ane-cpu-opp = <&pcluster_opp_4176>;
};
};
};
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/apple/t8142-j813-j815.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
opp-microwatt = <3841000>;
};

opp-4176000000 {
pcluster_opp_4176: opp-4176000000 {
opp-hz = /bits/ 64 <4176000000>;
opp-level = <14>;
opp-microwatt = <4520000>;
Expand Down Expand Up @@ -256,6 +256,8 @@
apple,low-power-gpu-cap;
/* Tell the SMC when the low-power platform profile is on. */
apple,low-power-smc-notice;
/* The ANE engine clock follows the P cluster's frequency */
apple,ane-cpu-opp = <&pcluster_opp_4176>;
/*
* T8142 GPU busy-share memory-state ladder (shared by
* J813/J815 M5 MacBook Air): DCS 1, 2, 5, 7 and fabric
Expand Down
Loading