All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Dylan Reid <dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	Peter De Schrijver
	<pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Thierry Reding
	<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH 1/2] ARM: tegra: Add Tegra124 HDA support
Date: Tue, 20 May 2014 15:55:05 -0600	[thread overview]
Message-ID: <537BCF39.6050909@wwwdotorg.org> (raw)
In-Reply-To: <CAEUnVG7+=1ko8NL1Z3ovSpGveUADUidy4sBhU_dTUe1zbe-bMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 05/20/2014 02:37 PM, Dylan Reid wrote:
> On Tue, May 20, 2014 at 11:31 AM, Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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.

> * 6b6ba7b - (next-20140520, linux-next/master) Add linux-next specific
> files for 20140520 (11 hours ago)
> 
> My speaker-test output is similar to yours, minus the errors, and I
> hear noise from the attached monitor.
>
> I tried with the reset name fixed to hda2codec_2x as well and it still
> works for me.
> 
> Were you testing on one of your public trees?  I couldn't get your
> github tree to boot.

I am using:

git://github.com/swarren/linux-tegra.git tegra_dev

You might also need the latest version of my github U-Boot to use my
github kernel, since I fiddle with the pinmux initialization a bit:

git://github.com/swarren/u-boot.git tegra_dev

  parent reply	other threads:[~2014-05-20 21:55 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 [this message]
     [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
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=537BCF39.6050909@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@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=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@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 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.