From patchwork Fri Jun 6 05:29:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4309931 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 3E55B9F23C for ; Fri, 6 Jun 2014 05:27:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94A61201C7 for ; Fri, 6 Jun 2014 05:27:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DE61F201E4 for ; Fri, 6 Jun 2014 05:27:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751848AbaFFF1A (ORCPT ); Fri, 6 Jun 2014 01:27:00 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:61174 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbaFFF1A (ORCPT ); Fri, 6 Jun 2014 01:27:00 -0400 Received: by mail-pd0-f169.google.com with SMTP id w10so2109937pde.28 for ; Thu, 05 Jun 2014 22:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=TBlQ1DvRjhV2cdNdPemaPnbz10gSDuFtBNlySIOVKao=; b=ZlOlvMri7/IFq6xgS4liMut2NNTdoJccVP774zhQ+gCHLvjeZfaDq2K7BjmiNodaTd WqmzCPuywBpgpnl7aPw3K8wwyh4sCc1SqQxtwqqax9LiJ5zqoDZ1gW4KlIwrqoNfrWWx /ZekZZg73rAmOxRR99CYy3HQsQ+reMtjzyr49VBppLKwGlap3FTXQsw1GTv6eIh0GZuI c9GwGNzfsguaoDPLn6zePr0IpQZ8roUtjCkwnP46bFwcLXv9v7++qfYyEpS8lzKwf/Qb TDBZQTJV0Uy9TfgAwnQurIshADJB+ftYyVvCuCFuGPYlsS5HekSte1I2Rb8u0+tEnb9I upgQ== X-Received: by 10.68.139.225 with SMTP id rb1mr4433050pbb.153.1402032419826; Thu, 05 Jun 2014 22:26:59 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id op3sm30793921pbc.40.2014.06.05.22.26.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jun 2014 22:26:59 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, geert@linux-m68k.org Date: Fri, 06 Jun 2014 14:29:04 +0900 Message-Id: <20140606052904.17594.43724.sendpatchset@w520> In-Reply-To: <20140606052841.17594.9846.sendpatchset@w520> References: <20140606052841.17594.9846.sendpatchset@w520> Subject: [PATCH v2 03/03] ARM: shmobile: Use shmobile_init_delay() on r7s72100 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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Magnus Damm Adjust the r7s72100 SoC support code to use shmobile_init_delay() together with CPU Frequency settings from the DTS. Get rid of the C code version. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/include/mach/r7s72100.h | 1 - arch/arm/mach-shmobile/setup-r7s72100.c | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/mach-shmobile/include/mach/r7s72100.h +++ work/arch/arm/mach-shmobile/include/mach/r7s72100.h 2014-05-29 17:53:06.000000000 +0900 @@ -3,6 +3,5 @@ void r7s72100_add_dt_devices(void); void r7s72100_clock_init(void); -void r7s72100_init_early(void); #endif /* __ASM_R7S72100_H__ */ --- 0001/arch/arm/mach-shmobile/setup-r7s72100.c +++ work/arch/arm/mach-shmobile/setup-r7s72100.c 2014-05-29 17:53:00.000000000 +0900 @@ -43,11 +43,6 @@ void __init r7s72100_add_dt_devices(void r7s72100_register_mtu2(); } -void __init r7s72100_init_early(void) -{ - shmobile_setup_delay(400, 1, 3); /* Cortex-A9 @ 400MHz */ -} - #ifdef CONFIG_USE_OF static const char *r7s72100_boards_compat_dt[] __initdata = { "renesas,r7s72100", @@ -55,7 +50,7 @@ static const char *r7s72100_boards_compa }; DT_MACHINE_START(R7S72100_DT, "Generic R7S72100 (Flattened Device Tree)") - .init_early = r7s72100_init_early, + .init_early = shmobile_init_delay, .dt_compat = r7s72100_boards_compat_dt, MACHINE_END #endif /* CONFIG_USE_OF */