All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC
Date: Thu, 03 Jan 2008 12:14:12 -0600	[thread overview]
Message-ID: <477D25F4.6020700@freescale.com> (raw)
In-Reply-To: <fa686aa40801020828u5103d09cn2aa5eab7dda2fcff@mail.gmail.com>

Grant Likely wrote:

> Does that mean with ASoC V2 you can instantiate it with the board
> specific platform code instead? 

I don't know.  I haven't really looked at V2 yet.  You'll have to ask Liam 
Girdwood.

> This is one of the examples of where the compatible properties are
> trying to be far to generic about what they are.  How do you define
> what "fsl,ssi" is? 

The SSI is a specific Freescale device, so I think it's pretty well defined.

> What happens when Freescale produces another
> peripheral that can do ssi but isn't register level compatible?

It won't be called the SSI.  It will be called something else.

> In my opinion, it is far better to be specific in the device tree and
> teach the driver about what versions it is able to bind against.  In
> this case, I would use "fsl,mpc8610-ssi" or maybe better yet:
> "fsl,mpc8610-ssi,i2s" (MPC8610 SSI device in I2S mode).

I can work with that, but the SSI could be placed into any future 83xx, 85xx, 
or 86xx SOC, and the driver will still work with it as-is.

> I don't like the idea of a separate fsl,mode property to describe the
> behaviour of multifunction peripherals.  It makes probing more
> difficult when there is a different driver for each mode.

Can you propose an alternative?  The driver needs to know what mode to use 
when communicating with its codec.  How am I supposed to know if I have an I2S 
codec or an AC97 codec?

>> The fabric driver is specific to the board.  So you should be using
>> Kconfig to select the fabric driver.  There is no node in the device
>> tree for fabric drivers.  I thought that was the consensus.
> 
> No, the desire is to go multiplatform in ppc.  That means you cannot
> use Kconfig to select the correct fabric driver.

I don't see any way of avoiding this with ASoC V1.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20  0:03 [PATCH] ASoC drivers for the Freescale MPC8610 SoC Timur Tabi
2007-12-20  4:06 ` Olof Johansson
2007-12-20 14:24   ` Timur Tabi
2007-12-20 13:54     ` Takashi Iwai
2007-12-20 13:54       ` [alsa-devel] " Takashi Iwai
2007-12-20 17:04       ` Timur Tabi
2007-12-20 17:04         ` [alsa-devel] " Timur Tabi
2007-12-21  5:28       ` Lee Revell
2007-12-21  5:28         ` [alsa-devel] " Lee Revell
2007-12-23  3:23         ` Timur Tabi
2007-12-23  3:23           ` [alsa-devel] " Timur Tabi
2007-12-20 22:39     ` Olof Johansson
2007-12-20 22:37       ` Timur Tabi
2007-12-20 22:43         ` Scott Wood
2007-12-23  2:58           ` Timur Tabi
2008-01-02 18:08             ` Scott Wood
2007-12-20 14:47 ` Jon Loeliger
2007-12-20 22:29 ` Jon Smirl
2007-12-20 22:32   ` Timur Tabi
2007-12-20 22:38     ` Jon Smirl
2007-12-20 22:40       ` Timur Tabi
2007-12-20 22:44         ` Scott Wood
2007-12-20 23:13           ` Jon Smirl
2007-12-21  0:00             ` David Gibson
2008-01-01 17:25 ` Jon Smirl
2008-01-01 17:42   ` Jon Smirl
2008-01-02 15:19     ` Timur Tabi
2008-01-02 15:34       ` Jon Smirl
2008-01-03 17:54         ` Timur Tabi
2008-01-03 18:13           ` Grant Likely
2008-01-03 18:20             ` Timur Tabi
2008-01-03 18:32               ` Grant Likely
2008-01-03 23:51           ` David Gibson
2008-01-05  2:39             ` Timur Tabi
2008-01-05  2:39               ` [alsa-devel] " Timur Tabi
2008-01-06  0:46               ` David Gibson
2008-01-06  0:46                 ` [alsa-devel] " David Gibson
2008-01-07 14:24                 ` Mark Brown
2008-01-07 14:24                   ` [alsa-devel] " Mark Brown
2008-01-07 15:52                 ` Timur Tabi
2008-01-07 15:52                   ` [alsa-devel] " Timur Tabi
2008-01-07 18:28                   ` Mark Brown
2008-01-07 18:28                     ` [alsa-devel] " Mark Brown
2008-01-10  3:49                     ` David Gibson
2008-01-10  3:49                       ` [alsa-devel] " David Gibson
2008-01-10  5:41                       ` Jon Smirl
2008-01-10  5:41                         ` [alsa-devel] " Jon Smirl
2008-01-10 10:30                         ` Liam Girdwood
2008-01-10 10:30                           ` [alsa-devel] " Liam Girdwood
2008-01-10 15:39                           ` Timur Tabi
2008-01-10 15:39                             ` [alsa-devel] " Timur Tabi
2008-01-10 16:01                             ` Grant Likely
2008-01-10 16:01                               ` [alsa-devel] " Grant Likely
2008-01-10 16:03                               ` Timur Tabi
2008-01-10 16:03                                 ` [alsa-devel] " Timur Tabi
2008-01-10 20:10                                 ` Jon Smirl
2008-01-10 20:10                                   ` [alsa-devel] " Jon Smirl
2008-01-10 20:13                                   ` Timur Tabi
2008-01-10 20:13                                     ` [alsa-devel] " Timur Tabi
2008-01-10 20:24                                     ` Grant Likely
2008-01-10 20:24                                       ` [alsa-devel] " Grant Likely
2008-01-10 20:35                                       ` Timur Tabi
2008-01-10 20:35                                         ` [alsa-devel] " Timur Tabi
2008-01-10 20:39                                     ` Jon Smirl
2008-01-10 20:39                                       ` [alsa-devel] " Jon Smirl
2008-01-10 20:44                                       ` Timur Tabi
2008-01-10 20:44                                         ` [alsa-devel] " Timur Tabi
2008-01-07 18:44                   ` Liam Girdwood
2008-01-07 18:44                     ` [alsa-devel] " Liam Girdwood
2008-01-07 18:45                     ` Timur Tabi
2008-01-07 18:45                       ` [alsa-devel] " Timur Tabi
2008-01-02 16:12       ` Grant Likely
2008-01-03 18:08         ` Timur Tabi
2008-01-03 18:17           ` Grant Likely
2008-01-03 18:54             ` Scott Wood
2008-01-03 19:13               ` Grant Likely
2008-01-03 19:18                 ` Scott Wood
2008-01-03 23:13                   ` Mark Brown
2008-01-03 23:13                     ` [alsa-devel] " Mark Brown
2008-01-05  2:35                 ` Timur Tabi
2008-01-05  3:28                   ` Grant Likely
2008-01-02  0:26   ` David Gibson
2008-01-02 15:10   ` Timur Tabi
2008-01-02 17:23     ` Mark Brown
2008-01-02 17:23       ` [alsa-devel] " Mark Brown
2008-01-03 18:23       ` Timur Tabi
2008-01-03 18:23         ` [alsa-devel] " Timur Tabi
2008-01-03 23:00         ` Mark Brown
2008-01-03 23:00           ` [alsa-devel] " Mark Brown
2008-01-05  2:43           ` Timur Tabi
2008-01-05  2:43             ` [alsa-devel] " Timur Tabi
2008-01-07 13:37             ` Mark Brown
2008-01-07 13:37               ` [alsa-devel] " Mark Brown
2008-01-02  4:27 ` Jon Smirl
2008-01-02 15:29   ` Timur Tabi
2008-01-02 15:56     ` Jon Smirl
2008-01-02 16:32       ` Grant Likely
2008-01-02 17:12         ` Jon Smirl
2008-01-02 17:22           ` Grant Likely
2008-01-02 18:43             ` Jon Smirl
2008-01-02 18:50               ` Grant Likely
2008-01-02 18:56                 ` Jon Smirl
2008-01-03  4:46           ` David Gibson
2008-01-03  4:46             ` David Gibson
2008-01-03 14:33             ` Jon Smirl
2008-01-03 17:57       ` Timur Tabi
2008-01-02 16:28     ` Grant Likely
2008-01-02 18:49       ` Mark Brown
2008-01-02 18:49         ` [alsa-devel] " Mark Brown
2008-01-03 18:16         ` Timur Tabi
2008-01-03 18:16           ` [alsa-devel] " Timur Tabi
2008-01-03 23:47           ` David Gibson
2008-01-03 23:47             ` [alsa-devel] " David Gibson
2008-01-04 13:39             ` Mark Brown
2008-01-04 13:39               ` [alsa-devel] " Mark Brown
2008-01-03 18:14       ` Timur Tabi [this message]
2008-01-03 18:25         ` Grant Likely
2008-01-03 18:28           ` Timur Tabi
2008-01-03 18:38             ` Grant Likely
2008-01-03  4:44     ` David Gibson
2008-01-03 14:54       ` Jon Smirl
2008-01-04  5:01         ` David Gibson
2008-01-03 18:16       ` 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=477D25F4.6020700@freescale.com \
    --to=timur@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@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.