Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933340AbbDUQD3 (ORCPT ); Tue, 21 Apr 2015 12:03:29 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:13521 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932395AbbDUPea (ORCPT ); Tue, 21 Apr 2015 11:34:30 -0400 X-AuditID: cbfee61b-f79536d000000f1f-d4-55366e0397e3 From: Bartlomiej Zolnierkiewicz To: Thomas Abraham Cc: Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , 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 Subject: Re: [PATCH 0/8] cpufreq: add generic cpufreq driver support for Exynos5250/5800 platforms Date: Tue, 21 Apr 2015 17:34:16 +0200 Message-id: <1679462.DpWxpX0JY5@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-70-generic-pae; KDE/4.8.5; i686; ; ) In-reply-to: <1429622278-12216-1-git-send-email-b.zolnierkie@samsung.com> References: <1429622278-12216-1-git-send-email-b.zolnierkie@samsung.com> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=ISO-8859-1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRmVeSWpSXmKPExsVy+t9jQV3mPLNQg6k3RS2uf3nOavH/0WtW i6O/Cyx6F1xls+h//JrZ4uvhFYwWbx5uZrTY9Pgaq8XlXXPYLD73HmG0mHF+H5PF0wkX2SwO v2lntehYxmixatcfRouNXz0cBDz+Pr/O4rFz1l12j02rOtk87lzbw+axeUm9R9+WVYwe26/N Y/b4vEkugCOKyyYlNSezLLVI3y6BK2N/b3lBj0nFi+Ub2BsY32l1MXJySAiYSMw+9JoRwhaT uHBvPVsXIxeHkMB0Ron5v9rZIZxvjBJ31rawgFSxCVhJTGxfBdYhIqAlMXf+VDYQm1ngJIvE 7wveILawQIrE2olv2EFsFgFVie27jrN2MXJw8ApoShyexQsSFhXwlNg5/QDYGE4g+/zll6wg tpCAh8TEWfvB4rwCghI/Jt9jgRgvL7Fv/1RWCFtHYn/rNLYJjAKzkJTNQlI2C0nZAkbmVYyi qQXJBcVJ6blGesWJucWleel6yfm5mxjBMfVMegfjqgaLQ4wCHIxKPLwrJpiGCrEmlhVX5h5i lOBgVhLhFRQyCxXiTUmsrEotyo8vKs1JLT7EKM3BoiTOO0dXLlRIID2xJDU7NbUgtQgmy8TB KdXAaPBl56f886Z6zyr1N9xo4GZcesL6Sk/o9RMz1zc4HCgWn1aqfEC6h/3cX4Pm17Pf+n5r udNW90I1u1P2Ue2TS68v3C96vYa39JPE7iOnlSNlTtyz8t/r+DVwuscb89vbi69b+0o6fmWr E9XSXXZFMLtGq7hn9kLZ8Fmvvwie7Pw4vVH8SrbsaiWW4oxEQy3mouJEALBMDoWlAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6720 Lines: 198 On Tuesday, April 21, 2015 03:17:50 PM Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series adds generic arm_big_little_dt cpufreq driver > support for Exynos5420/5800 (using the new CPU clock type which > allows it). It also: > - enhances arm_big_little[_dt] driver with CPU cluster regulator > support > - fixes CPU clock configuration data and CPU operating points > setup for Exynos5800 > - adds CPU cluster regulator supplies for ODROID-XU3 board > > This patch series has been tested on Exynos5800 based ODROID-XU3 > board. > > Depends on: > - next-20150330 branch of linux-next kernel tree > - "[PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4210 > platform" [1] > - "[PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 > platform" [2] > - "[PATCH] cpufreq: exynos: remove dead ->need_apll_change method" [3] > - "[PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 > platform" [4] > > [1] http://www.kernelhub.org/?msg=721136&p=2 > [2] http://marc.info/?l=linux-pm&m=142868881101873&w=2 > [3] https://lkml.org/lkml/2015/3/27/574 > [4] https://lkml.org/lkml/2015/4/13/611 > > Changes over Thomas' original v12 code: > - split Exynos5420 and Exynos5800 support > - moved E5420_[EGL,KFC]_DIV0() macros to clk-exynos5420.c > - disabled cpufreq if big.LITTLE switcher support is enabled > - enhanced arm_big_little[_dt] driver with CPU cluster regulator > support > - fixed CPU clock configuration data for Exynos5800 > - fixed CPU operating points setup for Exynos5800 > - added CPU cluster regulator supplies for ODROID-XU3 board > > Best regards, > -- > Bartlomiej Zolnierkiewicz > Samsung R&D Institute Poland > Samsung Electronics > > > Bartlomiej Zolnierkiewicz (4): > cpufreq: arm_big_little: add cluster regulator support > ARM: dts: add cluster regulator supply properties for > exynos5422-odroidxu3 > clk: samsung: exynos5800: fix cpu clock configuration data > ARM: dts: Exynos5800: fix CPU OPP > > Thomas Abraham (4): > clk: samsung: exynos5420: add cpu clock configuration data and > instantiate cpu clock > ARM: dts: Exynos5420: add CPU OPP and regulator supply property > ARM: Exynos: use generic cpufreq driver for Exynos5420 > ARM: Exynos: use generic cpufreq driver for Exynos5800 > > .../bindings/cpufreq/arm_big_little_dt.txt | 4 + > arch/arm/boot/dts/exynos5420.dtsi | 38 +++++ > arch/arm/boot/dts/exynos5422-odroidxu3.dts | 8 + > arch/arm/boot/dts/exynos5800.dtsi | 39 +++++ > arch/arm/mach-exynos/exynos.c | 8 + > drivers/clk/samsung/clk-exynos5420.c | 88 ++++++++++- > drivers/cpufreq/arm_big_little.c | 153 +++++++++++++++++--- > include/dt-bindings/clock/exynos5420.h | 2 + > 8 files changed, 320 insertions(+), 20 deletions(-) If you are using exynos5420-arndale-octa.dts, exynos5420-peach-pit.dts, exynos5420-smdk5420.dts or exynos5800-peach-pi.dts please use the attached patch instead of patch #2/8. Sorry for the inconvenience. From: Bartlomiej Zolnierkiewicz Subject: [PATCH v2 2/8] ARM: dts: Exynos5420/5800: add cluster regulator supply properties Add cluster regulator supply properties as a preparation to adding generic arm_big_little_dt cpufreq driver support for Exynos5420 and Exynos5800 based boards. Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Cc: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 8 ++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 8 ++++++++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu3.dts | 8 ++++++++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 8 ++++++++ 5 files changed, 40 insertions(+) Index: b/arch/arm/boot/dts/exynos5420-arndale-octa.dts =================================================================== --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts 2015-04-21 16:26:53.022509881 +0200 +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts 2015-04-21 17:25:30.250396715 +0200 @@ -369,6 +369,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &usbdrd_dwc3_1 { dr_mode = "host"; }; Index: b/arch/arm/boot/dts/exynos5420-peach-pit.dts =================================================================== --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts 2015-04-21 16:26:53.022509881 +0200 +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts 2015-04-21 17:26:32.034394727 +0200 @@ -676,6 +676,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &i2c_2 { status = "okay"; samsung,i2c-sda-delay = <100>; Index: b/arch/arm/boot/dts/exynos5420-smdk5420.dts =================================================================== --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts 2015-04-21 16:26:53.022509881 +0200 +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts 2015-04-21 17:27:04.338393689 +0200 @@ -420,3 +420,11 @@ }; }; }; + +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; Index: b/arch/arm/boot/dts/exynos5422-odroidxu3.dts =================================================================== --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts 2015-04-21 17:23:44.334400124 +0200 +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts 2015-04-21 17:24:05.454399445 +0200 @@ -355,6 +355,14 @@ dr_mode = "otg"; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &i2c_0 { status = "okay"; Index: b/arch/arm/boot/dts/exynos5800-peach-pi.dts =================================================================== --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts 2015-04-21 16:26:53.030509881 +0200 +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts 2015-04-21 17:27:47.674392295 +0200 @@ -638,6 +638,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &i2c_2 { status = "okay"; samsung,i2c-sda-delay = <100>; -- 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/