From patchwork Tue Jun 7 01:43:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 855042 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p571hfmt028973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Jun 2011 01:44:03 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTlKF-0001ME-G1; Tue, 07 Jun 2011 01:43:23 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QTlKE-0000Tu-7B; Tue, 07 Jun 2011 01:43:22 +0000 Received: from mail-pz0-f49.google.com ([209.85.210.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTlKA-0000TJ-3I for linux-arm-kernel@lists.infradead.org; Tue, 07 Jun 2011 01:43:19 +0000 Received: by pzk28 with SMTP id 28so3181202pzk.36 for ; Mon, 06 Jun 2011 18:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer; bh=eLEcR6ykBnMdfNLFS4bHpD1fVBWkXa9n390CFwBwuDk=; b=MfpJMZEQIdXZnLNcddG8L8iQ0ChN/tjXS0kvyNdLO0YVkSjgxeVTroy+hB2PmQfl/M J+xXh3jm3lAm9c6BmOvlZnI98jM6GAHvjTVkZ55vywMWQ9IAYAOl0MRQ/OObaoRNZzCG dGU6DMZ4KFzik9YsvLEhLeRl+DDnXHhAIbtok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=AS1Z4TjqirlxmBwQ/OWSnJ/eIJbQ9/nlyTuMNodvgRDw1uThDU8OSaEPyan+zUTbJs g2KDcmZmIGQtFnpRfjzLPUMqP1nMGBBHUKneW6RtWukG9sXTPCHcHMw+Tesk5AFSI48e IUfWQ+wFmuzuXsLRkm05YoM0PoU5uFaqUJk9Y= Received: by 10.142.215.19 with SMTP id n19mr813844wfg.265.1307410992740; Mon, 06 Jun 2011 18:43:12 -0700 (PDT) Received: from localhost.localdomain ([216.239.45.19]) by mx.google.com with ESMTPS id x1sm54583pbb.50.2011.06.06.18.43.10 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 18:43:11 -0700 (PDT) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] [CPUFREQ] Move compile for S3C64XX cpufreq to /drivers/cpufreq Date: Mon, 6 Jun 2011 18:43:01 -0700 Message-Id: <1307410981-20392-1-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.7.4.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110606_214318_500949_758B7FF2 X-CRM114-Status: GOOD ( 16.11 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is freemail (kgene.kim[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.49 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Dave Jones , Kukjin Kim , Mark Brown X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 07 Jun 2011 01:44:03 +0000 (UTC) Cc: Mark Brown Cc: Dave Jones Signed-off-by: Kukjin Kim --- arch/arm/Kconfig | 4 ---- drivers/cpufreq/Kconfig.arm | 9 +++++++++ drivers/cpufreq/Makefile | 2 +- drivers/cpufreq/{s3c64xx.c => s3c64xx-cpufreq.c} | 0 4 files changed, 10 insertions(+), 5 deletions(-) rename drivers/cpufreq/{s3c64xx.c => s3c64xx-cpufreq.c} (100%) diff --git a/drivers/cpufreq/s3c64xx.c b/drivers/cpufreq/s3c64xx-cpufreq.c similarity index 100% rename from drivers/cpufreq/s3c64xx.c rename to drivers/cpufreq/s3c64xx-cpufreq.c diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9adc278..31c2899 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1875,10 +1875,6 @@ config CPU_FREQ_PXA default y select CPU_FREQ_DEFAULT_GOV_USERSPACE -config CPU_FREQ_S3C64XX - bool "CPUfreq support for Samsung S3C64XX CPUs" - depends on CPU_FREQ && CPU_S3C6410 - config CPU_FREQ_S3C bool help diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index e5c56c7..500982f 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -2,6 +2,15 @@ # ARM CPU Frequency scaling drivers # +config ARM_S3C64XX_CPUFREQ + bool "Samsung S3C64XX" + depends on CPU_S3C6410 + default y + help + This adds the CPUFreq driver for Samsung S5C6410 SoC. + + If in doubt, say N. + config ARM_S5PV210_CPUFREQ bool "Samsung S5PV210 and S5PC110" depends on CPU_S5PV210 diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index 5419478..ab75e57 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -40,6 +40,6 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o ################################################################################## # ARM SoC drivers obj-$(CONFIG_UX500_SOC_DB8500) += db8500-cpufreq.o -obj-$(CONFIG_CPU_FREQ_S3C64XX) += s3c64xx.o +obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o