Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Barry Song
2011/6/2 Grant Likely grant.lik...@secretlab.ca: On Wed, Jun 1, 2011 at 1:07 AM, Barry Song 21cn...@gmail.com wrote: 2011/5/28 John Bonesio bo...@secretlab.ca: This patch makes it so the top level audio card is initialized from the device tree. This is just the first step getting the audio

Re: [PATCH v3 1/2] powerpc: document the FSL MPIC message register binding

2011-06-02 Thread Meador Inge
On 05/31/2011 02:23 PM, Scott Wood wrote: On Tue, 31 May 2011 14:19:02 -0500 Meador Inge meador_i...@mentor.com wrote: This binding documents how the message register blocks found in some FSL MPIC implementations shall be represented in a device tree. Signed-off-by: Meador Inge

Re: [RFC 2/2] ARM:Tegra: Device Tree Support: Initialize audio card gpio's from the device tree.

2011-06-02 Thread Grant Likely
On Mon, May 30, 2011 at 2:53 PM, Mitch Bradley w...@firmworks.com wrote: Perhaps the interrupt-mapping binding is not the best model.  Interrupt hardware in general is hierarchical but is not isomorphic to the physical addressing hierarchy of the device tree. GPIOs share the need to point

Re: [RFC 2/2] ARM:Tegra: Device Tree Support: Initialize audio card gpio's from the device tree.

2011-06-02 Thread Grant Likely
On Wed, Jun 1, 2011 at 10:18 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jun 01, 2011 at 08:59:55AM -0700, Stephen Warren wrote: My perspective is that cut/pasting the entire SoC definition into a board definition is the devicetree equivalent of having more than one

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Grant Likely
On Thu, Jun 02, 2011 at 05:07:02PM +0800, Barry Song wrote: 2011/6/2 Grant Likely grant.lik...@secretlab.ca: On Wed, Jun 1, 2011 at 1:07 AM, Barry Song 21cn...@gmail.com wrote: 2011/5/28 John Bonesio bo...@secretlab.ca: This patch makes it so the top level audio card is initialized from the

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Barry Song
2011/6/3 Grant Likely grant.lik...@secretlab.ca On Thu, Jun 02, 2011 at 05:07:02PM +0800, Barry Song wrote: 2011/6/2 Grant Likely grant.lik...@secretlab.ca: On Wed, Jun 1, 2011 at 1:07 AM, Barry Song 21cn...@gmail.com wrote: 2011/5/28 John Bonesio bo...@secretlab.ca: This patch makes

Re: [RFC 3/3] ARM:Tegra: Device Tree Support: Initialize from wm8903 the device tree

2011-06-02 Thread Grant Likely
On Thu, May 12, 2011 at 1:49 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, May 11, 2011 at 04:27:18PM -0700, John Bonesio wrote: -     if (pdata pdata-gpio_base) +     wm8903-gpio_chip.base = -1; +     if (pdata pdata-gpio_base) {               wm8903-gpio_chip.base =

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Russell King - ARM Linux
On Thu, Jun 02, 2011 at 10:04:45AM -0600, Grant Likely wrote: Right now we can't do dynamic registration for on-chip devices in a lot of cases because we don't have the infrastructure to hook up the associated struct clks. I've been wondering about this, and I don't see it as a blocking

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Russell King - ARM Linux
On Fri, Jun 03, 2011 at 12:21:50AM +0800, Barry Song wrote: Arnd has required me to use device tree in our new SoC for the coming upstream. so i am trying to define a property like clock = uart in dts. then in drivers, i get this string by: clk = of_get_property(np, clock, NULL); then

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Barry Song
2011/6/3 Russell King - ARM Linux li...@arm.linux.org.uk: On Thu, Jun 02, 2011 at 10:04:45AM -0600, Grant Likely wrote: Right now we can't do dynamic registration for on-chip devices in a lot of cases because we don't have the infrastructure to hook up the associated struct clks. I've been

Re: [RFC 1/2] ARM:Tegra: Device Tree Support: Initialize the audio card from the device tree.

2011-06-02 Thread Barry Song
2011/6/3 Russell King - ARM Linux li...@arm.linux.org.uk: On Fri, Jun 03, 2011 at 12:21:50AM +0800, Barry Song wrote: Arnd has required me to use device tree in our new SoC for the coming upstream. so i am trying to define a property like clock = uart in dts. then in drivers, i get this