Re: [PATCH 3/3] i2c-designware: add OF binding support

2011-08-23 Thread Rob Herring
Ben, On 08/05/2011 04:24 PM, Rob Herring wrote: > From: Rob Herring > > Add of_match_table and DT style i2c registration to designware i2c > driver. > > Signed-off-by: Rob Herring > Acked-by: Grant Likely > Cc: devicetree-discuss@lists.ozlabs.org > Cc: Ben Dooks > Cc: linux-...@vger.kernel.o

RE: [RFC PATCH v2 11/13] arm/tegra: Add device tree support to pinmux driver

2011-08-23 Thread Stephen Warren
Shawn Guo wrote at Monday, August 15, 2011 9:45 PM: > On Mon, Aug 15, 2011 at 02:28:18PM -0600, Stephen Warren wrote: > > Signed-off-by: Stephen Warren > > --- > > arch/arm/mach-tegra/pinmux.c | 249 > > ++ > > 1 files changed, 249 insertions(+), 0 deleti

[RFC PATCH] dtc: Add support for named constants

2011-08-23 Thread Stephen Warren
You may define constants as follows: /define/ $TWO 2; /define/ $FOUR 4; /define/ $OTHER $FOUR; And properties may use these values as follows: foo = <1 $TWO 3 $FOUR 5>; Signed-off-by: Stephen Warren --- Note 1: This is against dtc in the Linux kernel. Should this patch be against upstream dtc,

Re: Fwd: [RFC/PATCH v2 09/13] dt: omap4: add soc file for handling i2c controllers

2011-08-23 Thread Cousson, Benoit
On 8/23/2011 5:18 PM, G, Manjunath Kondaiah wrote: On Tue, Aug 23, 2011 at 03:48:15PM +0200, Cousson, Benoit wrote: From: G, Manjunath Kondaiah To: devicetree-discuss@lists.ozlabs.org CC: linux-o...@vger.kernel.org, linux-arm-ker...@lists.infradead.org Add omap4 soc dts file for handling omap

Re: [PATCH 1/2] sdhci/tegra: Add Device Tree probing support

2011-08-23 Thread Chris Ball
Hi Stephen, On Tue, Aug 23 2011, Stephen Warren wrote: > From: Grant Likely > > Add hooks to read gpio configuration out of the device tree node. > > [grant.likely: Rewrite of original patch from John Bonesio] > Signed-off-by: Grant Likely > [swarren: Fixed tegra_sdhci_get_ro() to retrieve pdata

Re: [RFC/PATCH v2 10/13] dt: omap4: panda board: set clock freq for i2c devices

2011-08-23 Thread G, Manjunath Kondaiah
Hi Benoit, On Wed, Aug 24, 2011 at 12:33 AM, Cousson, Benoit wrote: >> From: G, Manjunath Kondaiah >> To: devicetree-discuss@lists.ozlabs.org >> CC: linux-o...@vger.kernel.org, linux-arm-ker...@lists.infradead.org >> >> >> Update omap4 panda dts file with required clock frequencies >> for the i2c

Re: Fwd: [RFC/PATCH v2 08/13] dt: omap: i2c: add dt support for i2c1 controller

2011-08-23 Thread Cousson, Benoit
The device tree support has been added to i2c1 controller and corresponding i2c initilization in generic board file is cleaned up so that platfom device is registered through dt and omap device and not through board i2c initilization. A couple of typos in the changelog. That patch should be in

Re: [RFC/PATCH v2 10/13] dt: omap4: panda board: set clock freq for i2c devices

2011-08-23 Thread Cousson, Benoit
From: G, Manjunath Kondaiah To: devicetree-discuss@lists.ozlabs.org CC: linux-o...@vger.kernel.org, linux-arm-ker...@lists.infradead.org Update omap4 panda dts file with required clock frequencies for the i2c client devices existing on panda board. Signed-off-by: G, Manjunath Kondaiah --- ar

RE: [RFC PATCH v2 00/13] arm/tegra: Initialize GPIO & pinmux from DT

2011-08-23 Thread Stephen Warren
Linus Walleij wrote at Tuesday, August 23, 2011 6:51 AM: > On Tue, Aug 16, 2011 at 7:12 PM, Stephen Warren wrote: > > > One issue here: There isn't always a single gpio/pinmux parent; as a > > concrete example, the ALSA/ASoC driver for Tegra+WM8903 uses GPIOs both > > from Tegra itself, and from

RE: Tegra I2C driver compilation failure (was: RE: [PATCH] dt: add empty of_get_property for non-dt)

2011-08-23 Thread Stephen Warren
Stephen Warren wrote at Friday, August 12, 2011 3:09 PM: ... > Related, here's the list of outstanding patches for i2c-tegra.c that I'm > aware of: > > [PATCH] i2c: Tegra: Add of_match_table > http://www.spinics.net/lists/linux-i2c/msg05898.html > > [PATCH] i2c: tegra: add I2C_FUNC_SMBUS_EMUL to

RE: [PATCH] mmc: sdhci-tegra: get_ro(): Retrieve pdata correctly

2011-08-23 Thread Stephen Warren
Stephen Warren wrote at Tuesday, August 09, 2011 12:17 PM: > The active platform data pointer is stored as pltfm_host->priv, and not > always in the platform device itself. In particular, the platform data in > the platform device is NULL when the platform data comes from Device Tree. > > Signed-o

[PATCH 1/2] sdhci/tegra: Add Device Tree probing support

2011-08-23 Thread Stephen Warren
From: Grant Likely Add hooks to read gpio configuration out of the device tree node. [grant.likely: Rewrite of original patch from John Bonesio] Signed-off-by: Grant Likely [swarren: Fixed tegra_sdhci_get_ro() to retrieve pdata correctly] [swarren: Reworked to avoid #ifdef CONFIG_OF] [swarren:

[PATCH 2/2] arm/dt: Tegra: Update SDHCI nodes to match bindings

2011-08-23 Thread Stephen Warren
The bindings were recently updated to be more in-line with other SDHCI bindings that are already merged. Signed-off-by: Stephen Warren --- arch/arm/boot/dts/tegra-harmony.dts | 12 ++-- arch/arm/boot/dts/tegra-seaboard.dts |6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-

Re: [RFC/PATCH v2 08/13] dt: omap: i2c: add dt support for i2c1 controller

2011-08-23 Thread G, Manjunath Kondaiah
Hi Grant, On Tue, Aug 23, 2011 at 10:03:36AM +0500, G, Manjunath Kondaiah wrote: > > The device tree support has been added to i2c1 controller and > corresponding i2c initilization in generic board file is cleaned > up so that platfom device is registered through dt and omap device > and not thro

Re: [RFC/PATCH v2 00/13] dt: omap: dt binding with omap_device and support for i2c1

2011-08-23 Thread G, Manjunath Kondaiah
On Tue, Aug 23, 2011 at 10:03:28AM +0500, G, Manjunath Kondaiah wrote: > > Patch series reworked from: > http://permalink.gmane.org/gmane.linux.ports.arm.omap/61674 > Also added support for i2c1 controller on omap4 based panda > board. > > Baseline: > = > git://git.secretlab.ca/git/linux-

Re: Fwd: [RFC/PATCH v2 11/13] dt: omap4: add generic board file for dt support

2011-08-23 Thread G, Manjunath Kondaiah
On Tue, Aug 23, 2011 at 03:05:01PM +0200, Cousson, Benoit wrote: > From: G, Manjunath Kondaiah > >The generic board file is created and derived from omap4 panda board file. > > > >The changes here focus on minimal configuration to boot panda board with > >dt enabled which provides basic platform fo

Re: [RFC/PATCH v2 07/13] dt: omap: create platform bus for omap devices

2011-08-23 Thread G, Manjunath Kondaiah
On Tue, Aug 23, 2011 at 10:07:05AM +0100, Jamie Iles wrote: > Hi, > > This creates a build failure for non-omap platforms as they don't know > about struct omap_device_pm_latency, struct omap_hwmod etc. > > An empty of_omap_device_create() as inline should do the trick. Thanks. I will introduce

Re: Fwd: [RFC/PATCH v2 09/13] dt: omap4: add soc file for handling i2c controllers

2011-08-23 Thread G, Manjunath Kondaiah
On Tue, Aug 23, 2011 at 03:48:15PM +0200, Cousson, Benoit wrote: > From: G, Manjunath Kondaiah > >To: devicetree-discuss@lists.ozlabs.org > >CC: linux-o...@vger.kernel.org, linux-arm-ker...@lists.infradead.org > > > > > >Add omap4 soc dts file for handling omap4 soc i2c > >controllers existing on l

Re: [RFC/PATCH v2 09/13] dt: omap4: add soc file for handling i2c controllers

2011-08-23 Thread G, Manjunath Kondaiah
On Tue, Aug 23, 2011 at 01:53:54PM +0530, Rajendra Nayak wrote: > On 8/23/2011 10:33 AM, G, Manjunath Kondaiah wrote: > > > >Add omap4 soc dts file for handling omap4 soc i2c > >controllers existing on l4-core bus. > > > >Signed-off-by: G, Manjunath Kondaiah > >--- > > arch/arm/boot/dts/omap4-pand

Re: Fwd: [RFC/PATCH v2 09/13] dt: omap4: add soc file for handling i2c controllers

2011-08-23 Thread Cousson, Benoit
From: G, Manjunath Kondaiah To: devicetree-discuss@lists.ozlabs.org CC: linux-o...@vger.kernel.org, linux-arm-ker...@lists.infradead.org Add omap4 soc dts file for handling omap4 soc i2c controllers existing on l4-core bus. The subject and changelog is not accurate. You are doing at least 3 t

Re: Fwd: [RFC/PATCH v2 11/13] dt: omap4: add generic board file for dt support

2011-08-23 Thread Cousson, Benoit
From: G, Manjunath Kondaiah The generic board file is created and derived from omap4 panda board file. The changes here focus on minimal configuration to boot panda board with dt enabled which provides basic platform for converting device drivers for using dt. Signed-off-by: G, Manjunath Kondai

Re: [RFC PATCH v2 00/13] arm/tegra: Initialize GPIO & pinmux from DT

2011-08-23 Thread Linus Walleij
On Tue, Aug 16, 2011 at 7:12 PM, Stephen Warren wrote: > One issue here: There isn't always a single gpio/pinmux parent; as a > concrete example, the ALSA/ASoC driver for Tegra+WM8903 uses GPIOs both > from Tegra itself, and from the WM8903 audio codec. The Ux500 have pinmuxing on the DB8500 and

Re: [RFC/PATCH v2 00/13] dt: omap: dt binding with omap_device and support for i2c1

2011-08-23 Thread Cousson, Benoit
Hi Manju, Few "minor" comments about your subjects in this series. Patch series reworked from: http://permalink.gmane.org/gmane.linux.ports.arm.omap/61674 Also added support for i2c1 controller on omap4 based panda board. Baseline: = git://git.secretlab.ca/git/linux-2.6.git Branch: dev

Re: [RFC/PATCH v2 07/13] dt: omap: create platform bus for omap devices

2011-08-23 Thread Jamie Iles
Hi, This creates a build failure for non-omap platforms as they don't know about struct omap_device_pm_latency, struct omap_hwmod etc. An empty of_omap_device_create() as inline should do the trick. Jamie On Tue, Aug 23, 2011 at 10:03:35AM +0500, G, Manjunath Kondaiah wrote: > > The omap devi

Re: [RFC/PATCH v2 09/13] dt: omap4: add soc file for handling i2c controllers

2011-08-23 Thread Rajendra Nayak
On 8/23/2011 10:33 AM, G, Manjunath Kondaiah wrote: Add omap4 soc dts file for handling omap4 soc i2c controllers existing on l4-core bus. Signed-off-by: G, Manjunath Kondaiah --- arch/arm/boot/dts/omap4-panda.dts |7 +--- arch/arm/boot/dts/omap4.dtsi | 68