From patchwork Wed Oct 30 23:18:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 3117461 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 1B9689F3E2 for ; Wed, 30 Oct 2013 22:19:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96A4A2011B for ; Wed, 30 Oct 2013 22:18:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E690220157 for ; Wed, 30 Oct 2013 22:18:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753406Ab3J3WSn (ORCPT ); Wed, 30 Oct 2013 18:18:43 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:54306 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174Ab3J3WSm (ORCPT ); Wed, 30 Oct 2013 18:18:42 -0400 Received: by mail-la0-f48.google.com with SMTP id er20so1102368lab.7 for ; Wed, 30 Oct 2013 15:18:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=7scnd6fG4J9xmVuUI4Ro+zkEmu4m0Ip/LTdOtTf+RZY=; b=KEph8+u8LqfD0nKnI0LSK8GUZX6Gq0WfSUx0Swcb+Lfbxeegw+NFP9GwMzgkb4EysH opXbyqPq5mZM69CK8N2AQCiAYHMWntPaGQWiul88fR9wNbEhcUXU0hn4iCbrkjPbL7yz jQQW8hQd/R3X7FTXy7kjUgyTBs6WjaOE1goApdyudgfmxYmHRgrL/8jW0vsGPTGcXkgD uGz6xejzEPRqYM3GxNnN4RzKS2M4E7jistElt9iXntS2XHpAbcy/lQ0W1xwmD8OjbhIZ z0JyBDTHWA/VyFcIGGBPzwTp68HdFIbAMZcnKQfc3ovFakFdQ8/cG9C0MLA4ALKE81vI wLEw== X-Gm-Message-State: ALoCoQmmySMzAlTl8P100NLVN9+rpZbU312B3kzC3hnFKf2GwXz+PV48Hfg7LW9fIC4yCVRjvbOG X-Received: by 10.152.22.97 with SMTP id c1mr3023756laf.31.1383171520811; Wed, 30 Oct 2013 15:18:40 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp83-237-58-97.pppoe.mtu-net.ru. [83.237.58.97]) by mx.google.com with ESMTPSA id dm10sm506585lbc.14.2013.10.30.15.18.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 30 Oct 2013 15:18:40 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@vger.kernel.org Subject: [PATCH 1/2] ARM: shmobile: r8a7791: add Ether clock Date: Thu, 31 Oct 2013 02:18:37 +0300 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201310310216.28673.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201310310216.28673.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201310310218.37578.sergei.shtylyov@cogentembedded.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.4 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 Add support for R8A7791 Ether clock. Signed-off-by: Sergei Shtylyov --- arch/arm/mach-shmobile/clock-r8a7791.c | 3 +++ 1 file changed, 3 insertions(+) -- 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 Index: renesas/arch/arm/mach-shmobile/clock-r8a7791.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/clock-r8a7791.c +++ renesas/arch/arm/mach-shmobile/clock-r8a7791.c @@ -120,6 +120,7 @@ static struct clk *main_clks[] = { /* MSTP */ enum { + MSTP813, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, MSTP216, MSTP207, MSTP206, @@ -129,6 +130,7 @@ enum { }; static struct clk mstp_clks[MSTP_NR] = { + [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */ [MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */ [MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */ [MSTP719] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 19, 0), /* SCIF2 */ @@ -180,6 +182,7 @@ static struct clk_lookup lookups[] = { CLKDEV_DEV_ID("sh-sci.13", &mstp_clks[MSTP1106]), /* SCIFA4 */ CLKDEV_DEV_ID("sh-sci.14", &mstp_clks[MSTP1107]), /* SCIFA5 */ CLKDEV_DEV_ID("sh_cmt.0", &mstp_clks[MSTP124]), + CLKDEV_DEV_ID("r8a7790-ether", &mstp_clks[MSTP813]), /* Ether */ }; #define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \