- mt2712: add cpuidle support

-----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEiUuSfQSYnG8EMsBltDliWyzx00MFAlns4G8XHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQtDliWyzx00Mv1BAAq9iFGeVlSTia9VXbd8v4/BQW
 KGxGNt7UNMmk8tlLDNSO4pG4ACkVVTL50t+PNYOCTi7+aTbbeBi6/zXBXvWdwZ1d
 XRmuLwuibpr+ozskVfpV6Ussr0jSV2J3z0DsGIyWBCjlVIqUQM/QZ/4E2P6D8aJn
 NmwI1vx9FV3VQXKMwYuiXmRrSUvJDB26arjl4ryJPLA7OV6K7rS++4U7i88LZLe7
 iIZ/6jqoNqJAnJVgowjVbCADr5yzlGp7q3CD0n0Y3QhMBg8ShVtMAd2NqNU5rFXJ
 vPMIKJccAzxtGieIgBAZjhpm8hQUZFhaEggx5BdQXQriZwK7t56mtaQy4TdhRZwu
 6BT9+9aH1TIpvC7OQtP2Tfg1UHqCfJUMPDAnHyeqUg737aNaiv5VRQkPLjtUZ84B
 6+1zNiZisX0bGD/VW1mxzzssgxbiYetSKX0KiNcHKa84osMwF94BLdCoaMz6VbMT
 i5acAUlhWTI8DHBqGa6kCde97A5LCJiLc5q6B5Ig3CaY48MqIC4vr3CAoOg2YpBZ
 6PsUsgb1PhpkNXheMB7jwyMG6wr7xE0qLSurcXfR2zbOg9GTB0FD8Sf1DGrholv+
 d92nLvyfIWY3y+CwKQtsIkMtQYH4da+izUsEeMmBH9ChyDimE7S3j5dyBaU7XemO
 KvlYHlWjiWThTz7gHAU=
 =D5oL
 -----END PGP SIGNATURE-----

Merge tag 'v4.14-next-dts64' of https://github.com/mbgg/linux-mediatek into next/dt

Pull "Mediatek: 64-bit DT update for v4.15" from Matthias Brugger:

- mt2712: add cpuidle support

* tag 'v4.14-next-dts64' of https://github.com/mbgg/linux-mediatek:
  arm64: dts: mediatek: Add cpuidle support for MT2712
This commit is contained in:
Arnd Bergmann 2017-10-30 14:37:50 +01:00
commit 25b8384898

View File

@ -39,6 +39,7 @@ cpu0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a35";
reg = <0x000>;
cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
};
cpu1: cpu@1 {
@ -46,6 +47,7 @@ cpu1: cpu@1 {
compatible = "arm,cortex-a35";
reg = <0x001>;
enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
};
cpu2: cpu@200 {
@ -53,6 +55,29 @@ cpu2: cpu@200 {
compatible = "arm,cortex-a72";
reg = <0x200>;
enable-method = "psci";
cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
};
idle-states {
entry-method = "arm,psci";
CPU_SLEEP_0: cpu-sleep-0 {
compatible = "arm,idle-state";
local-timer-stop;
entry-latency-us = <100>;
exit-latency-us = <80>;
min-residency-us = <2000>;
arm,psci-suspend-param = <0x0010000>;
};
CLUSTER_SLEEP_0: cluster-sleep-0 {
compatible = "arm,idle-state";
local-timer-stop;
entry-latency-us = <350>;
exit-latency-us = <80>;
min-residency-us = <3000>;
arm,psci-suspend-param = <0x1010000>;
};
};
};