Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbbDCQom (ORCPT ); Fri, 3 Apr 2015 12:44:42 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:54473 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752983AbbDCQog (ORCPT ); Fri, 3 Apr 2015 12:44:36 -0400 X-AuditID: cbfee61a-f79c06d000004e71-bb-551ec372d3ee From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar Cc: Tomasz Figa , Lukasz Majewski , Heiko Stuebner , Chanwoo Choi , Kevin Hilman , Javier Martinez Canillas , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, Doug Anderson , Andreas Faerber , Sachin Kamat Subject: [PATCH 4/6] ARM: dts: Exynos4210: add CPU OPP and regulator supply property Date: Fri, 03 Apr 2015 18:43:47 +0200 Message-id: <1428079429-4252-5-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1428079429-4252-1-git-send-email-b.zolnierkie@samsung.com> References: <'@samsung.com> <1428079429-4252-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsVy+t9jAd3iw3KhBj/ms1g0byq22DhjPavF 9S/PWS3OLjvIZvH/0WtWi6O/Cyx6F1xls+h//JrZ4uvhFYwWbx5uZrTY9Pgaq8XlXXPYLD73 HmG0mHF+H5PF0wkX2SwOv2lntTj5p5fRomMZo8WqXX8YLTZ+9XAQ8ZjdcJHF4+/z6yweO2fd ZffYtKqTzePOtT1sHpuX1Hv0bVnF6LH92jxmj82nqz0+b5IL4IrisklJzcksSy3St0vgypj9 YCpLwXLRiuXP9rA0MF4W7GLk5JAQMJGYPOERK4QtJnHh3no2EFtIYBGjxN2POV2MXED2b0aJ 3VcOMoMk2ASsJCa2r2IESYgIfGCUeP3uGxuIwywwhUXixJIJjCBVwgJhEmd+NYB1sAioSpx8 tZ4dxOYVcJc439jI1MXIAbROQWLOJBuQMKeAh8TUO/ehNkdKrPh+lXECI+8CRoZVjKKpBckF xUnpuYZ6xYm5xaV56XrJ+bmbGMHh/0xqB+PKBotDjAIcjEo8vA8C5UKFWBPLiitzDzFKcDAr ifBO3gkU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzjtHFyglkJ5YkpqdmlqQWgSTZeLglGpgnC/5 +93XWwld6uJPefiDdtqaS0eIiBnNyFMOYNRPyM+/H/01UjlodWntL0Mr+SzXhA96UnpTH4fd e781+MO37/6yJS/YJs9pPLH0654S3mpNvjmmMY7uayvmHbCcsOdMt8jJVcmxKjOLK+L73Y6w nTdWeSXV2VtlmSX9dVmp//TIg02Gk3iUWIozEg21mIuKEwGC4rS8ewIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2885 Lines: 92 From: Thomas Abraham For Exynos4210 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - removed Exynos5250 and Exynos5420 support for now Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Cc: Andreas Farber Cc: Javier Martinez Canillas Signed-off-by: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos4210-origen.dts | 4 ++++ arch/arm/boot/dts/exynos4210-trats.dts | 4 ++++ arch/arm/boot/dts/exynos4210-universal_c210.dts | 4 ++++ arch/arm/boot/dts/exynos4210.dtsi | 12 ++++++++++++ 4 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index b811461..5b0941f 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -335,3 +335,7 @@ }; }; }; + +&cpu0 { + cpu0-supply = <&buck1_reg>; +}; diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 32c5fd8..9b5bdd0 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts @@ -483,3 +483,7 @@ }; }; }; + +&cpu0 { + cpu0-supply = <&varm_breg>; +}; diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index d4f2b11..5bf74da 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -567,3 +567,7 @@ &mdma1 { reg = <0x12840000 0x1000>; }; + +&cpu0 { + cpu0-supply = <&vdd_arm_reg>; +}; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index be89f83..df075e64 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -40,6 +40,18 @@ device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0x900>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; + clock-latency = <160000>; + + operating-points = < + 1200000 1250000 + 1000000 1150000 + 800000 1075000 + 500000 975000 + 400000 975000 + 200000 950000 + >; cooling-min-level = <4>; cooling-max-level = <2>; #cooling-cells = <2>; /* min followed by max */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/