From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kukjin Kim Subject: Re: [PATCH 1/7] clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi Date: Sat, 22 Nov 2014 23:56:33 +0900 Message-ID: <5470A421.6040008@kernel.org> References: <1415895785-26892-2-git-send-email-a.hajda@samsung.com> <1416318089-24013-1-git-send-email-a.hajda@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail.kernel.org ([198.145.19.201]:58763 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbaKVO4i (ORCPT ); Sat, 22 Nov 2014 09:56:38 -0500 In-Reply-To: <1416318089-24013-1-git-send-email-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Andrzej Hajda Cc: Tomasz Figa , Marek Szyprowski , Kukjin Kim , Inki Dae , Tobias Jakobi , Daniel Drake , linux-samsung-soc@vger.kernel.org On 11/18/14 22:41, Andrzej Hajda wrote: > sclk_hdmiphy clock is generated by HDMI-PHY and depends on hdmi gate clock. > The patch models this dependency using parent/child hirerarchy. > > The patch fixes issue with system hangs during mixer device access, mixer uses > sclk_hdmiphy descendant clock. > > Signed-off-by: Andrzej Hajda > --- > Hi Tomasz, > > This patch replaces the previous one [1], as it slightly better models > the clock tree/jungle. > > [1]: http://permalink.gmane.org/gmane.linux.kernel.samsung-soc/39629 > > Regards > Andrzej > --- > drivers/clk/samsung/clk-exynos4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c > index 940f028..88e8c6b 100644 > --- a/drivers/clk/samsung/clk-exynos4.c > +++ b/drivers/clk/samsung/clk-exynos4.c > @@ -505,7 +505,7 @@ static struct samsung_fixed_rate_clock exynos4_fixed_rate_ext_clks[] __initdata > /* fixed rate clocks generated inside the soc */ > static struct samsung_fixed_rate_clock exynos4_fixed_rate_clks[] __initdata = { > FRATE(0, "sclk_hdmi24m", NULL, CLK_IS_ROOT, 24000000), > - FRATE(CLK_SCLK_HDMIPHY, "sclk_hdmiphy", NULL, CLK_IS_ROOT, 27000000), > + FRATE(CLK_SCLK_HDMIPHY, "sclk_hdmiphy", "hdmi", 0, 27000000), > FRATE(0, "sclk_usbphy0", NULL, CLK_IS_ROOT, 48000000), > }; > Sylwester and Tomasz, Can I get your ack on this to apply into samsung tree with others? - Kukjin