From patchwork Fri Aug 26 04:49:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 1100092 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7Q4jZFO031562 for ; Fri, 26 Aug 2011 04:48:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751179Ab1HZEsD (ORCPT ); Fri, 26 Aug 2011 00:48:03 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:60611 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750843Ab1HZEsC (ORCPT ); Fri, 26 Aug 2011 00:48:02 -0400 Received: by gxk21 with SMTP id 21so2444357gxk.19 for ; Thu, 25 Aug 2011 21:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; bh=+GQM6WWDAeOJZN98Ic5ntEKKTLRY7dKWMzfF4beEM3o=; b=NlAZo5D+mFb/+eR//3j7zXekumQ6U5yjJ5si7KmLXVjdDSCgHEnHim/Bx8nj/WZwJJ yfAP6bwCM32WtTU1+s3sfuhMUjeC2CTEGJlWuNj63Dq7gW8ZoZS6Pz2zkPVWfZEXnVgg H5NjSEAt7Rw3BaZzP24dsauxGzyKl63PE9kFc= Received: by 10.42.161.71 with SMTP id s7mr584756icx.372.1314334081119; Thu, 25 Aug 2011 21:48:01 -0700 (PDT) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id h5sm1287451icy.9.2011.08.25.21.47.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Aug 2011 21:48:00 -0700 (PDT) From: Magnus Damm To: rjw@sisk.pl Cc: Magnus Damm , lethal@linux-sh.org, linux-sh@vger.kernel.org Date: Fri, 26 Aug 2011 13:49:30 +0900 Message-Id: <20110826044930.26281.66390.sendpatchset@rxone.opensource.se> Subject: [PATCH][RESEND] ARM: mach-shmobile: AG5EVM/Kota2 external Ethernet fix Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 26 Aug 2011 04:48:03 +0000 (UTC) From: Magnus Damm Keep the ZB clock enabled on sh73a0 to allow the BSC to access external peripherals hooked up to CS signals. This is needed to unbreak Ethernet support on sh73a0 boards such as AG5EVM and Kota2 together with the following patch: 794d78f drivers: sh: late disabling of clocks V2 Signed-off-by: Magnus Damm --- Rafael, since this patch is Runtime PM clock related, can you please merge this with your other 3.1-rc fixes? Without this patch sh73a0-based boards cannot use Ethernet. arch/arm/mach-shmobile/clock-sh73a0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/clock-sh73a0.c +++ work/arch/arm/mach-shmobile/clock-sh73a0.c 2011-08-22 14:31:42.000000000 +0900 @@ -243,7 +243,7 @@ static struct clk div6_clks[DIV6_NR] = { [DIV6_VCK1] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR1, 0), [DIV6_VCK2] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR2, 0), [DIV6_VCK3] = SH_CLK_DIV6(&pll1_div2_clk, VCLKCR3, 0), - [DIV6_ZB1] = SH_CLK_DIV6(&pll1_div2_clk, ZBCKCR, 0), + [DIV6_ZB1] = SH_CLK_DIV6(&pll1_div2_clk, ZBCKCR, CLK_ENABLE_ON_INIT), [DIV6_FLCTL] = SH_CLK_DIV6(&pll1_div2_clk, FLCKCR, 0), [DIV6_SDHI0] = SH_CLK_DIV6(&pll1_div2_clk, SD0CKCR, 0), [DIV6_SDHI1] = SH_CLK_DIV6(&pll1_div2_clk, SD1CKCR, 0),