All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Hajda <a.hajda@samsung.com>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Inki Dae <inki.dae@samsung.com>,
	Tobias Jakobi <Liquid.Acid@gmx.net>,
	Daniel Drake <drake@endlessm.com>,
	linux-samsung-soc@vger.kernel.org
Subject: [PATCH 1/7] clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi
Date: Tue, 18 Nov 2014 14:41:29 +0100	[thread overview]
Message-ID: <1416318089-24013-1-git-send-email-a.hajda@samsung.com> (raw)
In-Reply-To: <1415895785-26892-2-git-send-email-a.hajda@samsung.com>

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 <a.hajda@samsung.com>
---
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

  reply	other threads:[~2014-11-18 13:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 16:22 [PATCH 0/7] Enable HDMI support on Exynos platforms Andrzej Hajda
2014-11-13 16:22 ` [PATCH 1/7] clk: samsung: exynos4: set parent of mixer gate clock to hdmi Andrzej Hajda
2014-11-18 13:41   ` Andrzej Hajda [this message]
2014-11-22 14:56     ` [PATCH 1/7] clk: samsung: exynos4: set parent of sclk_hdmiphy " Kukjin Kim
2014-11-13 16:23 ` [PATCH 2/7] ARM: Exynos: add support for sub-power domains Andrzej Hajda
2014-11-13 16:23 ` [PATCH 3/7] ARM: dts: exynos4: add hdmi related nodes Andrzej Hajda
2014-11-22 15:00   ` Kukjin Kim
2014-11-13 16:23 ` [PATCH 4/7] ARM: dts: exynos4: add dependency between TV and LCD0 power domains Andrzej Hajda
2014-11-13 16:23 ` [PATCH 5/7] ARM: dts: exynos4412-odroid: enable hdmi support Andrzej Hajda
2014-11-14  6:58 ` [PATCH 6/7] ARM: dts: exynos4210-universal_c210: " Andrzej Hajda
2014-11-14  6:58 ` [PATCH 7/7] ARM: dts: exynos5250: add display power domain Andrzej Hajda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1416318089-24013-1-git-send-email-a.hajda@samsung.com \
    --to=a.hajda@samsung.com \
    --cc=Liquid.Acid@gmx.net \
    --cc=drake@endlessm.com \
    --cc=inki.dae@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=tomasz.figa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.