Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757477Ab3DXCx0 (ORCPT ); Tue, 23 Apr 2013 22:53:26 -0400 Received: from mail-da0-f43.google.com ([209.85.210.43]:47361 "EHLO mail-da0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757447Ab3DXCxX (ORCPT ); Tue, 23 Apr 2013 22:53:23 -0400 Date: Tue, 23 Apr 2013 19:53:26 -0700 From: Olof Johansson To: Tushar Behera Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, kgene.kim@samsung.com, mturquette@linaro.org, thomas.abraham@linaro.org, olofj@chromium.org, patches@linaro.org Subject: Re: [PATCH] clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3} Message-ID: <20130424025326.GA10479@quad.lixom.net> References: <1366698711-15470-1-git-send-email-tushar.behera@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366698711-15470-1-git-send-email-tushar.behera@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 38 On Tue, Apr 23, 2013 at 12:01:51PM +0530, Tushar Behera wrote: > commit 688f7d8c9fef ("clk: exynos5250: Fix divider values for > sclk_mmc{0,1,2,3}") incorrectly sets the divider for sclk_mmc{0,1,2,3} > to fix the wrong clock value. Though this fixed issue with Arndale, > it created regressions for other boards like Snow. > > On Exynos5250, sclk_mmc is generated like below (as per the clock > names in drivers/clk/samsung/clk-exynos5250.c) > > mout_group1_p ==> mout_mmc ==> > div_mmc ==> div_mmc_pre => sclk_mmc > > Earlier div_mmc was set as the parent for sclk_mmc, hence > div_mmc_pre was not getting referred in kernel code and depending > on its value set during preboot, sclk_mmc value was different for > various boards. > > Setting the correct clock generation path should fix the issues > reported in above referenced commit. The changes committed during the > earlier patch has also been reverted here. > > Signed-off-by: Tushar Behera > CC: Doug Anderson > --- > Doug, > > Would you please test whether this patch works for Snow? Applied to next/drivers in arm-soc.git. -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/