Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25b83848 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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
parents a5494aed f5a3d783
Loading
Loading
Loading
Loading
+25 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,7 @@
			device_type = "cpu";
			device_type = "cpu";
			compatible = "arm,cortex-a35";
			compatible = "arm,cortex-a35";
			reg = <0x000>;
			reg = <0x000>;
			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
		};
		};


		cpu1: cpu@1 {
		cpu1: cpu@1 {
@@ -46,6 +47,7 @@
			compatible = "arm,cortex-a35";
			compatible = "arm,cortex-a35";
			reg = <0x001>;
			reg = <0x001>;
			enable-method = "psci";
			enable-method = "psci";
			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
		};
		};


		cpu2: cpu@200 {
		cpu2: cpu@200 {
@@ -53,6 +55,29 @@
			compatible = "arm,cortex-a72";
			compatible = "arm,cortex-a72";
			reg = <0x200>;
			reg = <0x200>;
			enable-method = "psci";
			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>;
			};
		};
		};
	};
	};