From patchwork Thu Jun 5 03:49:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaku Inami X-Patchwork-Id: 4300831 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9642D9F326 for ; Thu, 5 Jun 2014 03:53:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9EA4620274 for ; Thu, 5 Jun 2014 03:53:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CADC20254 for ; Thu, 5 Jun 2014 03:53:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750777AbaFEDx5 (ORCPT ); Wed, 4 Jun 2014 23:53:57 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:43127 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750723AbaFEDx4 (ORCPT ); Wed, 4 Jun 2014 23:53:56 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 05 Jun 2014 12:53:55 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 1566947BBD; Thu, 5 Jun 2014 12:53:55 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id EA152280A6; Thu, 5 Jun 2014 12:53:54 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 9FC23280A0; Thu, 5 Jun 2014 12:53:54 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id NAK31037; Thu, 5 Jun 2014 12:53:54 +0900 X-IronPort-AV: E=Sophos;i="4.98,977,1392130800"; d="scan'208";a="162448947" Received: from mail-sg1lp0088.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.88]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES128-SHA; 05 Jun 2014 12:53:53 +0900 Received: from [10.164.207.238] (211.11.155.149) by HKNPR06MB370.apcprd06.prod.outlook.com (10.141.35.24) with Microsoft SMTP Server (TLS) id 15.0.954.9; Thu, 5 Jun 2014 03:53:50 +0000 Message-ID: <538FE8D8.3050602@bp.renesas.com> Date: Thu, 5 Jun 2014 12:49:44 +0900 From: Gaku Inami User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Linux-sh list CC: Magnus Damm , Simon Horman , Benoit Cousson Subject: [PATCH v3] ARM: shmobile: Mark all SoCs in shmobile as CPUFreq, capable X-Originating-IP: [211.11.155.149] X-ClientProxiedBy: HKNPR06CA003.apcprd06.prod.outlook.com (10.242.116.43) To HKNPR06MB370.apcprd06.prod.outlook.com (10.141.35.24) X-Microsoft-Antispam: BL:0; ACTION:Default; RISK:Low; SCL:0; SPMLVL:NotSpam; PCL:0; RULEID: X-Forefront-PRVS: 0233768B38 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6049001)(6009001)(6029001)(428001)(189002)(199002)(83072002)(92726001)(87266999)(92566001)(85852003)(50986999)(65816999)(86362001)(83506001)(54356999)(87976001)(101416001)(74502001)(74662001)(81342001)(76482001)(4396001)(42186004)(80316001)(83322001)(19580405001)(19580395003)(46102001)(31966008)(23736002)(33656002)(21056001)(102836001)(50466002)(80022001)(77982001)(81542001)(66066001)(59896001)(47776003)(79102001)(65806001)(20776003); DIR:OUT; SFP:; SCL:1; SRVR:HKNPR06MB370; H:[10.164.207.238]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:3; A:0; LANG:en; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=gaku.inami.xw@bp.renesas.com; X-OriginatorOrg: bp.renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Benoit Cousson Mark all SoCs in shmobile as CPUFreq capable on multiplatform build only. Signed-off-by: Benoit Cousson [gaku.inami.xw@bp.renesas.com: Move the definition of cpufreq capable] Signed-off-by: Gaku Inami --- Changes since version 1: - changed "Signed-off-by" and "From" correctly. - fixed typo. Changes since version 2: - moved the definition of cpufreq capable for shmobile. - reworked based on renesas-devel-v3.15-rc8-20140605. arch/arm/mach-shmobile/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 2a7712b..3b28bd8 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -13,6 +13,8 @@ config ARCH_SHMOBILE_MULTI select NO_IOPORT_MAP select PINCTRL select ARCH_REQUIRE_GPIOLIB + select ARCH_HAS_CPUFREQ + select ARCH_HAS_OPP if ARCH_SHMOBILE_MULTI