[9610] arm64: dts: Add energy data for ems.
authorlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 14 May 2018 05:29:18 +0000 (14:29 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:37:33 +0000 (17:37 +0900)
Change-Id: Idef41dfad717d1c302ab0dbd9199cad8e27cfba5
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610.dtsi

index 4fd7ee6b3e0c982111c9d8f1c87cdb4cd63e15ed..f52fd5fa242113a6ee1b2f203f6bce961a2b9e86 100644 (file)
                        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 {
                        reg = <0x0 0x1>;
                        enable-method = "psci";
                        cpu-idle-states = <&BOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A53_ENERGY>;
                };
                cpu2: cpu@102 {
                        device_type = "cpu";
                        reg = <0x0 0x2>;
                        enable-method = "psci";
                        cpu-idle-states = <&BOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A53_ENERGY>;
                };
                cpu3: cpu@103 {
                        device_type = "cpu";
                        reg = <0x0 0x3>;
                        enable-method = "psci";
                        cpu-idle-states = <&BOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A53_ENERGY>;
                };
                cpu4: cpu@0 {
                        device_type = "cpu";
                        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 {
                        reg = <0x0 0x101>;
                        enable-method = "psci";
                        cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A73_ENERGY>;
                };
                cpu6: cpu@2 {
                        device_type = "cpu";
                        reg = <0x0 0x102>;
                        enable-method = "psci";
                        cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A73_ENERGY>;
                };
                cpu7: cpu@3 {
                        device_type = "cpu";
                        reg = <0x0 0x103>;
                        enable-method = "psci";
                        cpu-idle-states = <&NONBOOTCL_CPU_SLEEP>;
+                       sched-energy-data = <&A73_ENERGY>;
                };
 
                idle-states {
                                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 {