From patchwork Fri Feb 20 16:20:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 5857141 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B0D68BF440 for ; Fri, 20 Feb 2015 16:25:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D999820443 for ; Fri, 20 Feb 2015 16:25:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EDCE2041B for ; Fri, 20 Feb 2015 16:25:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YOqMY-0007xC-1M; Fri, 20 Feb 2015 16:23:34 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YOqMT-0007qu-Dt for linux-arm-kernel@lists.infradead.org; Fri, 20 Feb 2015 16:23:30 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NK2003VLW6GFC80@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 21 Feb 2015 01:23:04 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-0e-54e75f687819 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 4E.EB.09430.86F57E45; Sat, 21 Feb 2015 01:23:04 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NK2005D0W6F9J60@mmp1.samsung.com>; Sat, 21 Feb 2015 01:23:04 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Viresh Kumar , linux-samsung-soc@vger.kernel.org Subject: [PATCH] cpufreq: exynos: allow build for !THERMAL or !CPU_THERMAL cases Date: Fri, 20 Feb 2015 17:20:22 +0100 Message-id: <2275232.48muFcOOQv@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-70-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsVy+t9jAd2M+OchBp3HVC3+TjrGbjH/yjVW i/7Hr5kt3jzczGix6TGQe3nXHDaLz71HGC1mnN/HZLHxq4cDp8fvX5MYPXbOusvusWlVJ5vH nWt72Dw2L6n36NuyitHj8ya5APYoLpuU1JzMstQifbsEroyZi6cxFTzirOg5Oo2pgXEWRxcj J4eEgInEs+mLWCBsMYkL99azdTFycQgJLGKUeDP1ByOE08IkMX/FQ7AqNgEriYntqxhBbBEB X4n2tw1gRcwC3xgl7k97CpYQFgiQ+LJ8ElADBweLgKrE+qOOICavgKbE5NVuIBWiAp4SO6cf AKvmFRCU+DH5Hth4ZgF5iX37p7JC2FoS63ceZ5rAyDcLSdksJGWzkJQtYGRexSiaWpBcUJyU nmukV5yYW1yal66XnJ+7iREc2M+kdzCuarA4xCjAwajEw3th5rMQIdbEsuLK3EOMEhzMSiK8 of7PQ4R4UxIrq1KL8uOLSnNSiw8xSnOwKInzKtm3hQgJpCeWpGanphakFsFkmTg4pRoY15cG L1jt0v9s3m7j9/Kvm76EcV9dPInp3OJCdj7j5XEfnGPyf+871vnYTOdeouh+6fn3Z+n6pnfJ 7umYdH1CleppKX3FA86fC1foxd+fFSO3L5y3W+B90+WZiwMdY7Zvn9xQ7jRh6Zy8UN8km+Mz 0nx15H/dZA734t+/4Z6yz7HtfS+F2WeLKLEUZyQaajEXFScCAEbTce5oAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150220_082329_672041_AE8C2E6F X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Lukasz Majewski , Arnd Bergmann , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Eduardo Valentin , Kukjin Kim , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allow driver build for !THERMAL or !CPU_THERMAL cases. The new dependency rule is the same as the one that CPUFREQ_DT option has (for cpufreq-dt driver which has the same issue with using of_cpufreq_cooling_register()). Cc: Kukjin Kim Cc: Arnd Bergmann Cc: Eduardo Valentin Cc: Lukasz Majewski Fixes: 8b2b4a4e5366 ("cpufreq: exynos: allow modular build") Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Viresh Kumar Acked-by: Kukjin Kim Acked-by: Eduardo Valentin --- drivers/cpufreq/Kconfig.arm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 1b06fc4..f4df4af3 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -28,7 +28,8 @@ config ARM_VEXPRESS_SPC_CPUFREQ config ARM_EXYNOS_CPUFREQ tristate "SAMSUNG EXYNOS CPUfreq Driver" depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412 || SOC_EXYNOS5250 - depends on THERMAL + # if CPU_THERMAL is on and THERMAL=m, ARM_EXYNOS_CPUFREQ cannot be =y: + depends on !CPU_THERMAL || THERMAL help This adds the CPUFreq driver for Samsung EXYNOS platforms. Supported SoC versions are: