All of lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo <s104259@yahoo.it>
To: Linuxppc-embedded@ozlabs.org
Subject: i2s driver
Date: Mon, 3 Mar 2008 14:18:19 +0100 (CET)	[thread overview]
Message-ID: <931295.99199.qm@web23104.mail.ird.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

Thanks for answer.

>I can also send you some GPL'd code that works.
>It is extremely bad commented (:-p) and probably not useful
> (it's not an ALSA driver itself, but it uses the DMA to
> copy data to the PSC - I2S mode) but it works. 

It is a great idea; i can use it to start. 
You can send it via mail..

> But this code is based on 2.6.16 kernel.

I'm using 2.6.22 kernel version.

I just enabled in lite5200b.dts:

//PSC3 in CODEC mode example  //asimmini
i2s@2400 {  // PSC3
 device_type = "sound";
 compatible = "mpc5200b-psc-i2s";//not 5200 compatible
 cell-index = <2>;
 reg = <2400 100>;
 interrupts = <2 3 0>;
 interrupt-parent = <&mpc5200_pic>;
};

..and added in lite5200.c, in function mpc52xx_psc_functions
...
struct mpc52xx_psc_func mpc52xx_psc_functions[]= {
{       .id     = 2,  
        .func   = "i2s",
},
...
thanks for help.




       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

[-- Attachment #2: Type: text/html, Size: 1567 bytes --]

             reply	other threads:[~2008-03-03 13:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 13:18 Angelo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-05 12:36 I2S driver Pedro Luis D. L.
2008-03-06 10:27 ` Angelo
2008-03-06 13:41   ` Pedro Luis D. L.
2008-03-04 10:26 Angelo
2008-03-04 13:23 ` Pedro Luis D. L.
2008-03-04 16:38   ` Angelo
2008-03-05 10:09     ` Pedro Luis D. L.
2008-03-05 10:45       ` Angelo
2008-03-14 14:21   ` Angelo
2008-03-03 17:05 Angelo
2008-03-03 17:14 ` Phillip Lougher
2008-03-03 20:50 ` Timur Tabi
2008-03-03 12:08 Angelo
2008-03-03 12:40 ` Roman Fietze
2008-03-03 13:47   ` Mark Brown
2008-03-03 13:05 ` Pedro Luis D. L.
2008-03-03 22:06   ` Wolfgang Denk
2008-03-03 16:42 ` Timur Tabi

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=931295.99199.qm@web23104.mail.ird.yahoo.com \
    --to=s104259@yahoo.it \
    --cc=Linuxppc-embedded@ozlabs.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.