Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754352AbbDMRrh (ORCPT ); Mon, 13 Apr 2015 13:47:37 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:50073 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428AbbDMRra (ORCPT ); Mon, 13 Apr 2015 13:47:30 -0400 X-AuditID: cbfee61b-f79536d000000f1f-6f-552c0130c787 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 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property Date: Mon, 13 Apr 2015 19:47:00 +0200 Message-id: <1428947223-17268-3-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1428947223-17268-1-git-send-email-b.zolnierkie@samsung.com> References: <1428947223-17268-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsVy+t9jQV0DRp1Qg+WX1CyaNxVbbJyxntXi +pfnrBZnlx1ks/j/6DWrxdHfBRa9C66yWfQ/fs1s8fXwCkaLNw83M1psenyN1eLyrjlsFp97 jzBazDi/j8ni6YSLbBaH37SzWpz808to0bGM0WLVrj+MFhu/ejiIeMxuuMji8ff5dRaPnbPu sntsWtXJ5nHn2h42j81L6j36tqxi9Nh+bR6zx+bT1R6fN8kFcEVx2aSk5mSWpRbp2yVwZdzd 0s1YsFK6YtGKn+wNjDvEuhg5OSQETCQeb13ADmGLSVy4t56ti5GLQ0hgOqNE99PDrBDOb0aJ Y/9Og1WxCVhJTGxfxQiSEBH4wCjx+t03sBZmgSksEieWTGAEqRIWCJN4+nQRWAeLgKrEzsbT TCA2r4CHxPvWZuYuRg6gfQoScybZgIQ5BTwlfsw8zgZiCwGVfGs6wDSBkXcBI8MqRtHUguSC 4qT0XCO94sTc4tK8dL3k/NxNjOAIeCa9g3FVg8UhRgEORiUe3gt3tEKFWBPLiitzDzFKcDAr ifCqfNIOFeJNSaysSi3Kjy8qzUktPsQozcGiJM47R1cuVEggPbEkNTs1tSC1CCbLxMEp1cCo bWTtPmNv+OTpzK1ltQeT3+/cERfDo/wofNaV1W5zLj4uW9xc+5t3zZ4FVYYejgZ200SuGM+P WjHp181dDLPa/hyTEf3TIpGxWi2ZJ5jZ0oN/8kSWfxJb2MQTnHpTGiRFun2b+NmklbpOO95c cfKlqWq1nu7Otsflvex51+I573048tHw6SklluKMREMt5qLiRAAnUrIefAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3626 Lines: 121 From: Thomas Abraham For Exynos5250 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: - split Exynos5250 support from the original patch - added CPU regulator supply property for Google Spring board Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Cc: Andreas Farber Signed-off-by: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos5250-arndale.dts | 4 ++++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 4 ++++ arch/arm/boot/dts/exynos5250-snow.dts | 4 ++++ arch/arm/boot/dts/exynos5250-spring.dts | 4 ++++ arch/arm/boot/dts/exynos5250.dtsi | 22 ++++++++++++++++++++++ 5 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 7e728a1..c64cec3 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -560,3 +560,7 @@ status = "okay"; samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; }; + +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index bc27cc2..d91db82 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -410,3 +410,7 @@ }; }; }; + +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 2657e84..700bbc8 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -301,6 +301,10 @@ vdd_pll-supply = <&ldo8_reg>; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &i2c_0 { status = "okay"; samsung,i2c-sda-delay = <100>; diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index d03f9b8..38b54d9 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -99,6 +99,10 @@ vdd_pll-supply = <&ldo8_reg>; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &i2c_0 { status = "okay"; samsung,i2c-sda-delay = <100>; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 257e2f1..c1f7811 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -63,6 +63,28 @@ compatible = "arm,cortex-a15"; reg = <0>; clock-frequency = <1700000000>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; + clock-latency = <140000>; + + operating-points = < + 1700000 1300000 + 1600000 1250000 + 1500000 1225000 + 1400000 1200000 + 1300000 1150000 + 1200000 1125000 + 1100000 1100000 + 1000000 1075000 + 900000 1050000 + 800000 1025000 + 700000 1012500 + 600000 1000000 + 500000 975000 + 400000 950000 + 300000 937500 + 200000 925000 + >; cooling-min-level = <15>; cooling-max-level = <9>; #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/