From: lakkyung.jung Date: Mon, 14 May 2018 05:29:18 +0000 (+0900) Subject: [9610] arm64: dts: Add energy data for ems. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aeebd7874c368b6611fdc546a7c60f7d4b101f6d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] arm64: dts: Add energy data for ems. Change-Id: Idef41dfad717d1c302ab0dbd9199cad8e27cfba5 Signed-off-by: lakkyung.jung --- diff --git a/arch/arm64/boot/dts/exynos/exynos9610.dtsi b/arch/arm64/boot/dts/exynos/exynos9610.dtsi index 4fd7ee6b3e0c..f52fd5fa2421 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610.dtsi @@ -155,6 +155,7 @@ reg = <0x0 0x0>; enable-method = "psci"; cpu-idle-states = <&BOOTCL_CPU_SLEEP>; + sched-energy-data = <&A53_ENERGY>; #cooling-cells = <2>; /* min followed by max */ }; cpu1: cpu@101 { @@ -163,6 +164,7 @@ reg = <0x0 0x1>; enable-method = "psci"; cpu-idle-states = <&BOOTCL_CPU_SLEEP>; + sched-energy-data = <&A53_ENERGY>; }; cpu2: cpu@102 { device_type = "cpu"; @@ -170,6 +172,7 @@ reg = <0x0 0x2>; enable-method = "psci"; cpu-idle-states = <&BOOTCL_CPU_SLEEP>; + sched-energy-data = <&A53_ENERGY>; }; cpu3: cpu@103 { device_type = "cpu"; @@ -177,6 +180,7 @@ reg = <0x0 0x3>; enable-method = "psci"; cpu-idle-states = <&BOOTCL_CPU_SLEEP>; + sched-energy-data = <&A53_ENERGY>; }; cpu4: cpu@0 { device_type = "cpu"; @@ -184,6 +188,7 @@ reg = <0x0 0x100>; enable-method = "psci"; cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>; + sched-energy-data = <&A73_ENERGY>; #cooling-cells = <2>; /* min followed by max */ }; cpu5: cpu@1 { @@ -192,6 +197,7 @@ reg = <0x0 0x101>; enable-method = "psci"; cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>; + sched-energy-data = <&A73_ENERGY>; }; cpu6: cpu@2 { device_type = "cpu"; @@ -199,6 +205,7 @@ reg = <0x0 0x102>; enable-method = "psci"; cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>; + sched-energy-data = <&A73_ENERGY>; }; cpu7: cpu@3 { device_type = "cpu"; @@ -206,6 +213,7 @@ reg = <0x0 0x103>; enable-method = "psci"; cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>; + sched-energy-data = <&A73_ENERGY>; }; idle-states { @@ -231,6 +239,17 @@ status = "okay"; }; }; + + energy-data { + A53_ENERGY: a53-energy { + capacity-mips = <230>; + power-coefficient = <450>; + }; + A73_ENERGY: a73-energy { + capacity-mips = <480>; + power-coefficient = <870>; + }; + }; }; psci {