* [PATCH] clk: tegra124: Enable hda to hdmi clocks
@ 2014-04-08 19:17 Dylan Reid
[not found] ` <1396984629-14101-1-git-send-email-dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Dylan Reid @ 2014-04-08 19:17 UTC (permalink / raw)
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA
Cc: swarren-3lzwWm7+Weoh9ZMKESR00Q, tiwai-l3A5Bk7waGM,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
pdeschrijver-DDmLM1+adcrQT0dZR+AlfA, Dylan Reid
Add the clocks used for HDMI audio played through the HDA controller.
Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
the TRM.
Signed-off-by: Dylan Reid <dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
drivers/clk/tegra/clk-tegra124.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/clk/tegra/clk-tegra124.c b/drivers/clk/tegra/clk-tegra124.c
index 166e02f..ab15d98 100644
--- a/drivers/clk/tegra/clk-tegra124.c
+++ b/drivers/clk/tegra/clk-tegra124.c
@@ -1018,6 +1018,9 @@ static struct tegra_devclk devclks[] __initdata = {
{ .con_id = "fuse", .dt_id = TEGRA124_CLK_FUSE },
{ .dev_id = "rtc-tegra", .dt_id = TEGRA124_CLK_RTC },
{ .dev_id = "timer", .dt_id = TEGRA124_CLK_TIMER },
+ { .con_id = "hda", .dt_id = TEGRA124_CLK_HDA },
+ { .con_id = "hda2codec_2x", .dt_id = TEGRA124_CLK_HDA2CODEC_2X },
+ { .con_id = "hda2hdmi", .dt_id = TEGRA124_CLK_HDA2HDMI },
};
static struct clk **clks;
@@ -1371,6 +1374,8 @@ static struct tegra_clk_init_table init_table[] __initdata = {
{TEGRA124_CLK_SBC4, TEGRA124_CLK_PLL_P, 12000000, 1},
{TEGRA124_CLK_TSEC, TEGRA124_CLK_PLL_C3, 0, 0},
{TEGRA124_CLK_MSENC, TEGRA124_CLK_PLL_C3, 0, 0},
+ {TEGRA124_CLK_HDA, TEGRA124_CLK_PLL_P, 102000000, 0},
+ {TEGRA124_CLK_HDA2CODEC_2X, TEGRA124_CLK_PLL_P, 48000000, 0},
/* This MUST be the last entry. */
{TEGRA124_CLK_CLK_MAX, TEGRA124_CLK_CLK_MAX, 0, 0},
};
--
1.8.1.3.605.g02339dd
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <1396984629-14101-1-git-send-email-dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2014-04-15 18:19 ` Stephen Warren
[not found] ` <534D781A.90508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Warren @ 2014-04-15 18:19 UTC (permalink / raw)
To: pdeschrijver-DDmLM1+adcrQT0dZR+AlfA
Cc: Dylan Reid, linux-tegra-u79uwXL29TY76Z2rM5mHXA, tiwai-l3A5Bk7waGM,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
On 04/08/2014 01:17 PM, Dylan Reid wrote:
> Add the clocks used for HDMI audio played through the HDA controller.
> Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
> the TRM.
This patch seems fine to me. Peter, I assume you'll apply this and
eventually sent a pull request to Mike.
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <534D781A.90508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2014-04-16 14:30 ` Takashi Iwai
[not found] ` <s5h1twxfit6.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2014-04-16 14:30 UTC (permalink / raw)
To: Stephen Warren
Cc: pdeschrijver-DDmLM1+adcrQT0dZR+AlfA, Dylan Reid,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
At Tue, 15 Apr 2014 12:19:06 -0600,
Stephen Warren wrote:
>
> On 04/08/2014 01:17 PM, Dylan Reid wrote:
> > Add the clocks used for HDMI audio played through the HDA controller.
> > Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
> > the TRM.
>
> This patch seems fine to me. Peter, I assume you'll apply this and
> eventually sent a pull request to Mike.
>
> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
I guess this is basically needed for Tegra HD-audio HDMI stuff, so I'd
need to pull the change to my branch once when applying other Dylan's
patches. Let me know the pull-able branch once when merged.
Alternatively, I can apply the all patches in series to my tree if
it's easier, too. Just let me know what you guys prefer.
(BTW, Dylan, v3 patches haven't been submitted yet, right?)
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <s5h1twxfit6.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
@ 2014-04-16 15:55 ` Stephen Warren
[not found] ` <534EA7D5.502-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-04-16 18:49 ` Dylan Reid
1 sibling, 1 reply; 7+ messages in thread
From: Stephen Warren @ 2014-04-16 15:55 UTC (permalink / raw)
To: Takashi Iwai
Cc: pdeschrijver-DDmLM1+adcrQT0dZR+AlfA, Dylan Reid,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
On 04/16/2014 08:30 AM, Takashi Iwai wrote:
> At Tue, 15 Apr 2014 12:19:06 -0600,
> Stephen Warren wrote:
>>
>> On 04/08/2014 01:17 PM, Dylan Reid wrote:
>>> Add the clocks used for HDMI audio played through the HDA controller.
>>> Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
>>> the TRM.
>>
>> This patch seems fine to me. Peter, I assume you'll apply this and
>> eventually sent a pull request to Mike.
>>
>> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> I guess this is basically needed for Tegra HD-audio HDMI stuff, so I'd
> need to pull the change to my branch once when applying other Dylan's
> patches. Let me know the pull-able branch once when merged.
> Alternatively, I can apply the all patches in series to my tree if
> it's easier, too. Just let me know what you guys prefer.
This change is only needed at run-time, not at compile-time, so there's
no build-time dependency. Since this is a new feature, it's fine for it
to only work once everything is merged together in linux-next, or
Linus's tree, so there's to push it all through a single branch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <s5h1twxfit6.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-04-16 15:55 ` Stephen Warren
@ 2014-04-16 18:49 ` Dylan Reid
1 sibling, 0 replies; 7+ messages in thread
From: Dylan Reid @ 2014-04-16 18:49 UTC (permalink / raw)
To: Takashi Iwai
Cc: Stephen Warren, Peter De Schrijver,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Thierry Reding
On Wed, Apr 16, 2014 at 7:30 AM, Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org> wrote:
> At Tue, 15 Apr 2014 12:19:06 -0600,
> Stephen Warren wrote:
>>
>> On 04/08/2014 01:17 PM, Dylan Reid wrote:
>> > Add the clocks used for HDMI audio played through the HDA controller.
>> > Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
>> > the TRM.
>>
>> This patch seems fine to me. Peter, I assume you'll apply this and
>> eventually sent a pull request to Mike.
>>
>> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> I guess this is basically needed for Tegra HD-audio HDMI stuff, so I'd
> need to pull the change to my branch once when applying other Dylan's
> patches. Let me know the pull-able branch once when merged.
> Alternatively, I can apply the all patches in series to my tree if
> it's easier, too. Just let me know what you guys prefer.
>
> (BTW, Dylan, v3 patches haven't been submitted yet, right?)
I'll send it out later today, found a runtime pm bug that I want to fix first.
Thanks,
Dylan
>
>
> thanks,
>
> Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <534EA7D5.502-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2014-06-02 12:45 ` Takashi Iwai
[not found] ` <s5hmwdvjx89.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2014-06-02 12:45 UTC (permalink / raw)
To: Stephen Warren
Cc: pdeschrijver-DDmLM1+adcrQT0dZR+AlfA, Dylan Reid,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
At Wed, 16 Apr 2014 09:55:01 -0600,
Stephen Warren wrote:
>
> On 04/16/2014 08:30 AM, Takashi Iwai wrote:
> > At Tue, 15 Apr 2014 12:19:06 -0600,
> > Stephen Warren wrote:
> >>
> >> On 04/08/2014 01:17 PM, Dylan Reid wrote:
> >>> Add the clocks used for HDMI audio played through the HDA controller.
> >>> Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
> >>> the TRM.
> >>
> >> This patch seems fine to me. Peter, I assume you'll apply this and
> >> eventually sent a pull request to Mike.
> >>
> >> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >
> > I guess this is basically needed for Tegra HD-audio HDMI stuff, so I'd
> > need to pull the change to my branch once when applying other Dylan's
> > patches. Let me know the pull-able branch once when merged.
> > Alternatively, I can apply the all patches in series to my tree if
> > it's easier, too. Just let me know what you guys prefer.
>
> This change is only needed at run-time, not at compile-time, so there's
> no build-time dependency. Since this is a new feature, it's fine for it
> to only work once everything is merged together in linux-next, or
> Linus's tree, so there's to push it all through a single branch.
This fix seems still missing in linux-next. Note that the whole Tegra
HDMI audio driver patches have been already included in for-next
branch of sound git tree.
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] clk: tegra124: Enable hda to hdmi clocks
[not found] ` <s5hmwdvjx89.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
@ 2014-06-02 15:06 ` Dylan Reid
0 siblings, 0 replies; 7+ messages in thread
From: Dylan Reid @ 2014-06-02 15:06 UTC (permalink / raw)
To: Takashi Iwai
Cc: Stephen Warren, Peter De Schrijver,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Thierry Reding
On Mon, Jun 2, 2014 at 5:45 AM, Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org> wrote:
> At Wed, 16 Apr 2014 09:55:01 -0600,
> Stephen Warren wrote:
>>
>> On 04/16/2014 08:30 AM, Takashi Iwai wrote:
>> > At Tue, 15 Apr 2014 12:19:06 -0600,
>> > Stephen Warren wrote:
>> >>
>> >> On 04/08/2014 01:17 PM, Dylan Reid wrote:
>> >>> Add the clocks used for HDMI audio played through the HDA controller.
>> >>> Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
>> >>> the TRM.
>> >>
>> >> This patch seems fine to me. Peter, I assume you'll apply this and
>> >> eventually sent a pull request to Mike.
>> >>
>> >> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>> >
>> > I guess this is basically needed for Tegra HD-audio HDMI stuff, so I'd
>> > need to pull the change to my branch once when applying other Dylan's
>> > patches. Let me know the pull-able branch once when merged.
>> > Alternatively, I can apply the all patches in series to my tree if
>> > it's easier, too. Just let me know what you guys prefer.
>>
>> This change is only needed at run-time, not at compile-time, so there's
>> no build-time dependency. Since this is a new feature, it's fine for it
>> to only work once everything is merged together in linux-next, or
>> Linus's tree, so there's to push it all through a single branch.
>
> This fix seems still missing in linux-next. Note that the whole Tegra
> HDMI audio driver patches have been already included in for-next
> branch of sound git tree.
Thanks for checking Takashi,
I thought it was going through Peter's tree. Peter have you had a
chance to take a look?
Thanks,
Dylan
>
>
> Takashi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-02 15:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 19:17 [PATCH] clk: tegra124: Enable hda to hdmi clocks Dylan Reid
[not found] ` <1396984629-14101-1-git-send-email-dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-04-15 18:19 ` Stephen Warren
[not found] ` <534D781A.90508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-04-16 14:30 ` Takashi Iwai
[not found] ` <s5h1twxfit6.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-04-16 15:55 ` Stephen Warren
[not found] ` <534EA7D5.502-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-06-02 12:45 ` Takashi Iwai
[not found] ` <s5hmwdvjx89.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-06-02 15:06 ` Dylan Reid
2014-04-16 18:49 ` Dylan Reid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox