From: Andrzej Hajda Subject: [PATCH 1/7] clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi Date: Tue, 18 Nov 2014 14:41:29 +0100 Message-ID: <1416318089-24013-1-git-send-email-a.hajda@samsung.com> References: <1415895785-26892-2-git-send-email-a.hajda@samsung.com> Return-path: Received: from mailout2.w1.samsung.com ([210.118.77.12]:58038 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753520AbaKRNln (ORCPT ); Tue, 18 Nov 2014 08:41:43 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NF800AEWM6375A0@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 18 Nov 2014 13:44:27 +0000 (GMT) In-reply-to: <1415895785-26892-2-git-send-email-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Tomasz Figa Cc: Andrzej Hajda , Marek Szyprowski , Kukjin Kim , Inki Dae , Tobias Jakobi , Daniel Drake , linux-samsung-soc@vger.kernel.org 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), }; -- 1.9.1