RE: [PATCH 3/5] ASoC: Davinci: pcm: Add device tree bindings

2012-08-22 Thread Hebbar, Gururaja
On Sat, Aug 18, 2012 at 04:01:24, Mark Brown wrote:
 On Tue, Aug 14, 2012 at 06:12:03PM +0530, Hebbar, Gururaja wrote:
  Device tree support for Davinci/OMAP2+ pcm driver.
 
 This looks like it's a device which maps a shared DMA controller in the
 SoC core into ASoC rather than actual hardware.  Such devices are
 usually instantiated automatically from the DAI rather than being
 represented in the device tree since they are a Linux internal thing
 really - the Tegra and Freescale drivers provide examples of how this
 sort of thing can be done.

From your for-3.7 branch, I could only find such implementation in Tegra
Platform. 
Most Freescale platforms implements this through a device/driver method.
Exception being sound/soc/mxs/mxs-pcm.c

So should I follow tegra implementation?
 


Regards, 
Gururaja
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH 3/5] ASoC: Davinci: pcm: Add device tree bindings

2012-08-22 Thread Mark Brown
On Wed, Aug 22, 2012 at 01:50:09PM +, Hebbar, Gururaja wrote:

 From your for-3.7 branch, I could only find such implementation in Tegra
 Platform. 
 Most Freescale platforms implements this through a device/driver method.
 Exception being sound/soc/mxs/mxs-pcm.c

 So should I follow tegra implementation?

Tegra and mxs should be good examples, yes.


signature.asc
Description: Digital signature
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: [PATCH 3/5] ASoC: Davinci: pcm: Add device tree bindings

2012-08-22 Thread Hebbar, Gururaja
On Wed, Aug 22, 2012 at 21:28:08, Mark Brown wrote:
 On Wed, Aug 22, 2012 at 01:50:09PM +, Hebbar, Gururaja wrote:
 
  From your for-3.7 branch, I could only find such implementation in Tegra
  Platform. 
  Most Freescale platforms implements this through a device/driver method.
  Exception being sound/soc/mxs/mxs-pcm.c
 
  So should I follow tegra implementation?
 
 Tegra and mxs should be good examples, yes.

Ok. Will update in V2

 


Regards, 
Gururaja
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH 3/5] ASoC: Davinci: pcm: Add device tree bindings

2012-08-17 Thread Mark Brown
On Tue, Aug 14, 2012 at 06:12:03PM +0530, Hebbar, Gururaja wrote:
 Device tree support for Davinci/OMAP2+ pcm driver.

This looks like it's a device which maps a shared DMA controller in the
SoC core into ASoC rather than actual hardware.  Such devices are
usually instantiated automatically from the DAI rather than being
represented in the device tree since they are a Linux internal thing
really - the Tegra and Freescale drivers provide examples of how this
sort of thing can be done.


signature.asc
Description: Digital signature
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source