Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757115Ab3DWP7I (ORCPT ); Tue, 23 Apr 2013 11:59:08 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:41892 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757100Ab3DWP7E (ORCPT ); Tue, 23 Apr 2013 11:59:04 -0400 MIME-Version: 1.0 In-Reply-To: <1366698711-15470-1-git-send-email-tushar.behera@linaro.org> References: <1366698711-15470-1-git-send-email-tushar.behera@linaro.org> Date: Tue, 23 Apr 2013 08:59:03 -0700 X-Google-Sender-Auth: I2GGi_HtQSbhdDFT49UF2N4euhk Message-ID: Subject: Re: [PATCH] clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3} From: Doug Anderson To: Tushar Behera Cc: linux-samsung-soc , "linux-kernel@vger.kernel.org" , Kukjin Kim , Mike Turquette , Thomas Abraham , Olof Johansson , Patch Tracking Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1746 Lines: 45 Tushar, Thanks for tracking this down. On Mon, Apr 22, 2013 at 11:31 PM, 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? Yup, it works for me. I did the basic testing of installing to eMMC with this and then booting from eMMC. I saw no errors in the console. I glanced over the patch and it looks reasonable to me. :) Reported-by: Doug Anderson Tested-by: Doug Anderson -- 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/