From: Chanwoo Choi <cw00.choi@samsung.com>
To: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: tomasz.figa@gmail.com, mturquette@linaro.org, kgene@kernel.org,
pankaj.dubey@samsung.com, sangbae90.lee@samsung.com,
inki.dae@samsung.com, chanho61.park@samsung.com,
sw0312.kim@samsung.com, linux-samsung-soc@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v5 08/13] clk: samsung: exynos5433: Add clocks for CMU_DISP domain
Date: Tue, 03 Feb 2015 21:44:58 +0900 [thread overview]
Message-ID: <54D0C2CA.3040606@samsung.com> (raw)
In-Reply-To: <54D0BF29.9060002@samsung.com>
Hi Sylwester,
On 02/03/2015 09:29 PM, Sylwester Nawrocki wrote:
> On 03/02/15 13:17, Sylwester Nawrocki wrote:
>>> diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c
>>>> index 3d6164e..cf3f0ac 100644
>>>> --- a/drivers/clk/samsung/clk-exynos5433.c
>>>> +++ b/drivers/clk/samsung/clk-exynos5433.c
>>>> @@ -245,6 +245,8 @@ PNAME(mout_sclk_audio1_p) = { "ioclk_audiocdclk1", "oscclk",
>>>> PNAME(mout_sclk_audio0_p) = { "ioclk_audiocdclk0", "oscclk",
>>>> "mout_aud_pll_user_t",};
>>>>
>>>> +PNAME(mout_sclk_hdmi_spdif_p) = { "sclk_audio1", "ioclk_spdif_extclk", };
>>>> +
>>>> static struct samsung_fixed_factor_clock top_fixed_factor_clks[] __initdata = {
>>>> FFACTOR(0, "oscclk_efuse_common", "oscclk", 1, 1, 0),
>>>> };
>>>> @@ -395,6 +397,10 @@ static struct samsung_mux_clock top_mux_clks[] __initdata = {
>>>> MUX_SEL_TOP_PERIC1, 4, 2),
>>>> MUX(CLK_MOUT_SCLK_AUDIO0, "mout_sclk_audio0", mout_sclk_audio0_p,
>>>> MUX_SEL_TOP_PERIC1, 0, 2),
>>>> +
>>>> + /* MUX_SEL_TOP_DISP */
>>>> + MUX(CLK_MOUT_SCLK_HDMI_SPDIF, "mout_sclk_hdmi_spdif",
>>>> + mout_sclk_hdmi_spdif_p, MUX_SEL_TOP_DISP, 0, 1),
>>>> };
>>>>
>>>> static struct samsung_div_clock top_div_clks[] __initdata = {
>>>> @@ -1360,6 +1366,11 @@ static struct samsung_gate_clock mif_gate_clks[] __initdata = {
>>>> ENABLE_SCLK_MIF, 1, CLK_IGNORE_UNUSED, 0),
>>>> GATE(CLK_SCLK_BUS_PLL_ATLAS, "sclk_bus_pll_atlas", "sclk_bus_pll",
>>>> ENABLE_SCLK_MIF, 0, CLK_IGNORE_UNUSED, 0),
>>>> +
>>>> + /* ENABLE_SCLK_TOP_DISP */
>>>> + GATE(CLK_SCLK_HDMI_SPDIF_DISP, "sclk_hdmi_spdif_disp",
>>>> + "mout_sclk_hdmi_spdif", ENABLE_SCLK_TOP_DISP, 0,
>>>> + CLK_IGNORE_UNUSED, 0),
>>
>> I think this clock should be added to top_gate_clks[] table instead, i.e.
>> it seems to belong to CMU_TOP, not CMU_MIF. Can you double check it ?
You're right. The sclk_hdmi_spdif_disp should be included in CMU_TOP domain.
>>
>> If you confirm this I will add following change when applying, no need
>> to resend again:
>
> I'm afraid you will need to resend if that change turns out to be
> needed, since the whole CMU_TOP clock indexing would need to be changed
> then :/. Or just send a fixup patch on top of both series, adding
> CLK_SCLK_HDMI_SPDIF_DISP as last CMU_TOP clk index.
If you ok, I'll just send fix patch on top of both series as your comment.
(adding CLK_SCLK_HDMI_SPDIF_DISP).
Thanks,
Chanwoo Choi
next prev parent reply other threads:[~2015-02-03 12:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 14:23 [PATCH v5 00/13] clk: samsung: Add the support for exynos5433 clocks Chanwoo Choi
2015-02-02 14:23 ` [PATCH v5 01/13] clk: samsung: exynos5433: Add binding document for Exynos5433 clock domains Chanwoo Choi
2015-02-02 14:23 ` [PATCH v5 02/13] clk: samsung: exynos5433: Add clocks using common clock framework Chanwoo Choi
2015-02-04 18:08 ` Sylwester Nawrocki
2015-02-04 23:40 ` Chanwoo Choi
2015-02-02 14:23 ` [PATCH v5 03/13] clk: samsung: exynos5433: Add MUX clocks of CMU_TOP domain Chanwoo Choi
2015-02-02 14:23 ` [PATCH v5 04/13] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain Chanwoo Choi
2015-02-02 14:23 ` [PATCH v5 05/13] clk: samsung: exynos5433: Add clocks for CMU_PERIS domain Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 06/13] clk: samsung: exynos5433: Add clocks for CMU_G2D domain Chanwoo Choi
[not found] ` <1422887047-30911-1-git-send-email-cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-02-02 14:24 ` [PATCH v5 07/13] clk: samsung: exynos5433: Add clocks for CMU_MIF domain Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 09/13] clk: samsung: exynos5433: Add clocks for CMU_AUD domain Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 13/13] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 08/13] clk: samsung: exynos5433: Add clocks for CMU_DISP domain Chanwoo Choi
2015-02-03 12:17 ` Sylwester Nawrocki
2015-02-03 12:29 ` Sylwester Nawrocki
2015-02-03 12:44 ` Chanwoo Choi [this message]
2015-02-02 14:24 ` [PATCH v5 10/13] clk: samsung: exynos5433: Add clocks for CMU_BUS{0|1|2} domains Chanwoo Choi
2015-02-04 13:02 ` Sylwester Nawrocki
2015-02-05 5:52 ` Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 11/13] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain Chanwoo Choi
2015-02-02 14:24 ` [PATCH v5 12/13] clk: samsung: exynos5433: Add clocks for CMU_G3D domain Chanwoo Choi
2015-02-02 23:47 ` [PATCH v6] clk: samsung: exynos5433: Add binding document for Exynos5433 clock domains Chanwoo Choi
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=54D0C2CA.3040606@samsung.com \
--to=cw00.choi@samsung.com \
--cc=chanho61.park@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=inki.dae@samsung.com \
--cc=kgene@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=pankaj.dubey@samsung.com \
--cc=s.nawrocki@samsung.com \
--cc=sangbae90.lee@samsung.com \
--cc=sw0312.kim@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).