From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Dylan Reid <dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Peter De Schrijver
<pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] ARM: tegra: Add Tegra124 HDA support
Date: Thu, 22 May 2014 11:50:00 +0200 [thread overview]
Message-ID: <20140522094958.GA11585@ulmo> (raw)
In-Reply-To: <CAEUnVG7tDjw_6wHc=FN0KsOKsSS1u8H8SzYdxt9VCwUsARRTeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3651 bytes --]
On Wed, May 21, 2014 at 02:10:09PM -0700, Dylan Reid wrote:
> On Wed, May 21, 2014 at 1:55 PM, Thierry Reding
> <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > On Tue, May 20, 2014 at 04:28:45PM -0700, Dylan Reid wrote:
> >> On Tue, May 20, 2014 at 2:55 PM, Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> wrote:
> >> > On 05/20/2014 02:37 PM, Dylan Reid wrote:
> >> >> On Tue, May 20, 2014 at 11:31 AM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> >> >>> On 05/20/2014 12:24 PM, Stephen Warren wrote:
> >> >>>> On 05/19/2014 08:35 PM, Dylan Reid wrote:
> >> >>>>> Add a device node for the HDA controller found on Tegra124.
> >> > ...
> >> >>> Even after fixing that, I can't play audio on Venice2:
> >> >>>
> >> >>> root@localhost:~# speaker-test -Dhw:0,3 -c 2
> >> >>>
> >> >>> speaker-test 1.0.27.1
> >> >>>
> >> >>> Playback device is hw:0,3
> >> >>> Stream parameters are 48000Hz, S16_LE, 2 channels
> >> >>> Using 16 octaves of pink noise
> >> >>> Rate set to 48000Hz (requested 48000Hz)
> >> >>> Buffer size range from 64 to 16384
> >> >>> Period size range from 32 to 8192
> >> >>> Using max buffer size 16384
> >> >>> Periods = 4
> >> >>> was set period_size = 4096
> >> >>> was set buffer_size = 16384
> >> >>> 0 - Front Left
> >> >>> Write error: -32,Broken pipe
> >> >>> Write error: -32,Broken pipe
> >> >>> Write error: -32,Broken pipe
> >> >>> ^C 1 - Front Right
> >> >>> Time per period = 1.799791
> >> >>>
> >> >>
> >> >> Thanks for checking Stephen. I'll fix the reset name.
> >> >>
> >> >> This is the state of the tree I used when I tested on Venice2 just now:
> >> >> * ae57dbf - (HEAD) ARM: tegra: venice2 - Enable HDA (2 minutes ago)
> >> >> * 6224524 - ARM: tegra: Add Tegra124 HDA support (2 minutes ago)
> >> >> * 468ca57 - ALSA: hda - Add driver for Tegra SoC HDA (2 minutes ago)
> >> >> * 928099e - ALSA: hda/hdmi - Add Nvidia Tegra124 HDMI support (2 minutes ago)
> >> >> * 701eac4 - clk: tegra124: Enable hda to hdmi clocks (3 minutes ago)
> >> >
> >> > Ah, I was missing that clock patch. Hopefully Peter will pick it up for
> >> > the Tegra clock tree soon.
> >> >
> >> > Now I have the same results as Thierry; speaker-test looks like it
> >> > should be working, yet I don't hear any audio from the monitor. I know
> >> > the monitor works, since I've used it extensively for testing GeForce
> >> > GPU HDMI audio.
> >>
> >> Probably a silly question: Is it un-muted?
> >> amixer -c0 cset name='IEC958 Playback Switch' on
> >
> > Dylan, can you provide more detail about the setup that you're running?
> > There have been similar issues in the past where a driver would work if
> > it was run on an identical upstream kernel but with a different version
> > of the bootloader (or a different bootloader altogether). Can you give
> > further details about your setup? Also perhaps providing a dmesg log or
> > the clock tree from /sys/kernel/debug/clk/clk_summary could help
> > determine the diff between a working and a non-working setup.
>
> Sure. I'm running this u-boot:
> https://chromium.googlesource.com/chromiumos/third_party/u-boot
> on commit ddde3e9 of the chromeos-v2013.06 branch.
>
> I haven't had a chance to flash swarren's u-boot yet it's been one of
> those days...
>
> I attached dmesg and clk_summary.
>
> I don't have many modifications to the ubuntu-core rootfs.
>
> Thanks for looking at this,
Also perhaps you can share any change to tegra_defconfig that you have
for this. Perhaps Stephen and I are simply missing some required option
to make it work.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-05-22 9:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-20 20:37 [PATCH 1/2] ARM: tegra: Add Tegra124 HDA support Dylan Reid
[not found] ` <CAEUnVG7+=1ko8NL1Z3ovSpGveUADUidy4sBhU_dTUe1zbe-bMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-20 21:55 ` Stephen Warren
[not found] ` <537BCF39.6050909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-20 23:28 ` Dylan Reid
[not found] ` <CAEUnVG7CRWx5Y3RsgPzrHgYRGAx=bS4WY=w1xBUw0Ukt0DTdUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-20 23:42 ` Stephen Warren
2014-05-21 20:55 ` Thierry Reding
2014-05-21 21:10 ` Dylan Reid
[not found] ` <CAEUnVG7tDjw_6wHc=FN0KsOKsSS1u8H8SzYdxt9VCwUsARRTeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-22 9:50 ` Thierry Reding [this message]
2014-05-22 17:48 ` Dylan Reid
[not found] ` <CAEUnVG5pNMzDoXGso+UiAWPpD0hNPhBPyGr8KfV587AuU70QPQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-22 17:54 ` Stephen Warren
[not found] ` <537E39D9.2000304-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-22 18:05 ` Dylan Reid
[not found] ` <CAEUnVG4UettOj0xDy+f6qEhUbhNs=u-wgyCf_Prsd2JpnmFfLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-23 3:55 ` Dylan Reid
2014-05-23 19:05 ` Stephen Warren
[not found] ` <537F9BEB.5020102-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-23 20:34 ` Dylan Reid
[not found] ` <CAEUnVG63BCgpGuo+qcYkvpnVSSguBy9xwSC_AoZqCt1RgBqm7w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-31 1:45 ` Dylan Reid
[not found] ` <CAEUnVG52fJhd9213fdydoUW11N0yZ31T2MZ2BPmd5Q2xkZ8XeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-04 17:32 ` Stephen Warren
[not found] ` <538F5848.1050803-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-06-04 17:51 ` Dylan Reid
[not found] ` <CAEUnVG7bbcPjRcGxn_GAJ7rKJy4g_5veEsRnU 2yCDVWFY3ncUQ@mail.gmail.com>
[not found] ` <CAEUnVG7bbcPjRcGxn_GAJ7rKJy4g_5veEsRnU2yCDVWFY3ncUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-04 19:04 ` Stephen Warren
[not found] ` <538F6DA5.9040608-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-06-04 20:43 ` Thierry Reding
2014-06-04 17:13 ` Stephen Warren
-- strict thread matches above, loose matches on Subject: below --
2014-05-20 2:35 Dylan Reid
[not found] ` <1400553346-23238-1-git-send-email-dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-05-20 18:24 ` Stephen Warren
[not found] ` <537B9DE3.5020807-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-20 18:31 ` Stephen Warren
2014-06-16 19:10 ` Stephen Warren
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=20140522094958.GA11585@ulmo \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/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).