[PATCH v2] net/smsc911x: add device tree probe support

2011-07-29 Thread Shawn Guo
It adds device tree probe support for smsc911x driver. Signed-off-by: Shawn Guo shawn@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Steve Glendinning steve.glendinn...@smsc.com Cc: David S. Miller da...@davemloft.net --- Changes since v1: * Instead of getting irq line from gpio

[PATCHv3] gpio-generic: add support for device tree probing

2011-07-29 Thread Jamie Iles
This patch adds support for gpio-generic controllers to be instantiated from the device tree. The binding supports devices with multiple banks. v3: - Remove extraneous of_node_{get,put}(). - Rename basic-mmio-gpio,reg-io-width to reg-io-width. - Use vendor specific

[PATCHv2] mtd: gpio-nand: add device tree bindings

2011-07-29 Thread Jamie Iles
Add device tree bindings so that the gpio-nand driver may be instantiated from the device tree. This also allows the partitions to be specified in the device tree. v2: - add CONFIG_OF guards for non-dt platforms - compatible becomes gpio-control-nand - clarify some

Re: [RFC/PATCH 2/7] OMAP3: beagle: don't touch omap_device internals

2011-07-29 Thread Nishanth Menon
On 08:31-20110728, Menon, Nishanth wrote: On Thu, Jul 28, 2011 at 07:57, Cousson, Benoit b-cous...@ti.com wrote: [...] diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 293fa6c..77d01a2 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++

Re: [RFC/PATCH 2/7] OMAP3: beagle: don't touch omap_device internals

2011-07-29 Thread Felipe Balbi
hi, On Fri, Jul 29, 2011 at 08:49:34AM -0500, Nishanth Menon wrote: From f03490456e24f72ca5272303c95a6f0b212494d5 Mon Sep 17 00:00:00 2001 From: Nishanth Menon n...@ti.com Date: Wed, 27 Jul 2011 15:02:32 -0500 Subject: [PATCH 1/2] OMAP: PM: omap_device: add omap_hwmod_name_get_odev An API

Re: [PATCH] net/smsc911x: add device tree probe support

2011-07-29 Thread Grant Likely
On Tue, Jul 26, 2011 at 09:30:26AM +0800, Shawn Guo wrote: On Mon, Jul 25, 2011 at 09:16:40PM -0400, Nicolas Pitre wrote: On Tue, 26 Jul 2011, Shawn Guo wrote: On Mon, Jul 25, 2011 at 03:37:23PM -0600, Grant Likely wrote: On Mon, Jul 25, 2011 at 05:44:00PM +0800, Shawn Guo wrote:

Re: [PATCH v2] net/smsc911x: add device tree probe support

2011-07-29 Thread Grant Likely
On Fri, Jul 29, 2011 at 04:43:16PM +0800, Shawn Guo wrote: It adds device tree probe support for smsc911x driver. Signed-off-by: Shawn Guo shawn@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Steve Glendinning steve.glendinn...@smsc.com Cc: David S. Miller da...@davemloft.net

Re: [PATCH] Input: mma8450: add device tree probe support

2011-07-29 Thread Eric Miao
On Fri, Jul 29, 2011 at 10:38 AM, Shawn Guo shawn@freescale.com wrote: Any comments? Shawn, Patch looks OK to me. Regards, Shawn On Fri, Jul 22, 2011 at 12:25:51AM +0800, Shawn Guo wrote: It adds device tree probe support for mma8450 driver. Signed-off-by: Shawn Guo

Re: [PATCH] net/smsc911x: add device tree probe support

2011-07-29 Thread Shawn Guo
On Fri, Jul 29, 2011 at 09:47:23AM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 10:36:26AM +0800, Shawn Guo wrote: On Mon, Jul 25, 2011 at 10:28:05PM -0400, Nicolas Pitre wrote: On Tue, 26 Jul 2011, Shawn Guo wrote: On Mon, Jul 25, 2011 at 09:16:40PM -0400, Nicolas Pitre wrote:

Re: [PATCH] ASoC: sgtl5000: add device tree probe support

2011-07-29 Thread Grant Likely
On Fri, Jul 29, 2011 at 10:40:51AM +0800, Shawn Guo wrote: On Tue, Jul 26, 2011 at 08:55:11PM +0100, Mark Brown wrote: On Fri, Jul 22, 2011 at 12:28:51AM +0800, Shawn Guo wrote: It adds device tree probe support for sgtl5000 driver. Kind of waiting for the device tree people to

Re: [PATCH v2] net/smsc911x: add device tree probe support

2011-07-29 Thread Shawn Guo
On Fri, Jul 29, 2011 at 09:53:54AM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 04:43:16PM +0800, Shawn Guo wrote: It adds device tree probe support for smsc911x driver. Signed-off-by: Shawn Guo shawn@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Steve Glendinning

Re: [PATCH] net/smsc911x: add device tree probe support

2011-07-29 Thread Grant Likely
On Sat, Jul 30, 2011 at 12:03:44AM +0800, Shawn Guo wrote: On Fri, Jul 29, 2011 at 09:47:23AM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 10:36:26AM +0800, Shawn Guo wrote: Since I do not get any suggestion here, I'm going to follow the driver name to use '911' as the model number.

Re: [PATCH] ASoC: sgtl5000: add device tree probe support

2011-07-29 Thread Mark Brown
On Fri, Jul 22, 2011 at 12:28:51AM +0800, Shawn Guo wrote: It adds device tree probe support for sgtl5000 driver. Applied, thanks. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org

Re: [PATCH v2 2/7] ARM: mmp: parse timer configuration from DT

2011-07-29 Thread Grant Likely
On Thu, Jul 28, 2011 at 02:41:28PM +0800, Haojian Zhuang wrote: Parse timer configuration from DT. Now we can merge pxa910_timer and mmp2_timer into mmp_timer. Since most configuration between these two timers are same. The difference is recorded in DT. Signed-off-by: Haojian Zhuang

Re: [PATCH v2 4/7] tty: serial: support device tree in pxa

2011-07-29 Thread Grant Likely
On Thu, Jul 28, 2011 at 02:41:30PM +0800, Haojian Zhuang wrote: Support both normal platform driver and device tree driver in serial pxa. Signed-off-by: Haojian Zhuang haojian.zhu...@marvell.com --- drivers/tty/serial/pxa.c | 51 - 1 files

Re: [PATCH v2 4/7] tty: serial: support device tree in pxa

2011-07-29 Thread Russell King - ARM Linux
On Fri, Jul 29, 2011 at 10:45:39AM -0600, Grant Likely wrote: On Thu, Jul 28, 2011 at 02:41:30PM +0800, Haojian Zhuang wrote: +#ifdef CONFIG_OF + for (i = 0; i PXA_SERIAL_NR; i++) { + if (serial_pxa_ports[i] == NULL) + break; + } + if (i =

Re: [PATCHv3] gpio-generic: add support for device tree probing

2011-07-29 Thread Jamie Iles
On Fri, Jul 29, 2011 at 10:24:53AM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 11:45:01AM +0100, Jamie Iles wrote: This patch adds support for gpio-generic controllers to be instantiated from the device tree. The binding supports devices with multiple banks. v3: - Remove

Re: [PATCH v2 6/7] i2c: pxa: support i2c controller from DT

2011-07-29 Thread Grant Likely
On Thu, Jul 28, 2011 at 02:41:32PM +0800, Haojian Zhuang wrote: support i2c-pxa controller from DT. Signed-off-by: Haojian Zhuang haojian.zhu...@marvell.com --- drivers/i2c/busses/i2c-pxa.c | 51 +++-- 1 files changed, 38 insertions(+), 13 deletions(-)

Re: [PATCH v2 4/7] tty: serial: support device tree in pxa

2011-07-29 Thread Grant Likely
On Fri, Jul 29, 2011 at 05:49:22PM +0100, Russell King - ARM Linux wrote: On Fri, Jul 29, 2011 at 10:45:39AM -0600, Grant Likely wrote: On Thu, Jul 28, 2011 at 02:41:30PM +0800, Haojian Zhuang wrote: +#ifdef CONFIG_OF + for (i = 0; i PXA_SERIAL_NR; i++) { + if

Re: [PATCH v2 6/7] i2c: pxa: support i2c controller from DT

2011-07-29 Thread Russell King - ARM Linux
On Fri, Jul 29, 2011 at 10:52:22AM -0600, Grant Likely wrote: On Thu, Jul 28, 2011 at 02:41:32PM +0800, Haojian Zhuang wrote: - /* -* If dev-id is negative we consider it as zero. -* The reason to do so is to avoid sysfs names that only make -* sense when there are multiple

Re: [PATCH] net/smsc911x: add device tree probe support

2011-07-29 Thread Shawn Guo
On Fri, Jul 29, 2011 at 10:26:29AM -0600, Grant Likely wrote: On Sat, Jul 30, 2011 at 12:03:44AM +0800, Shawn Guo wrote: On Fri, Jul 29, 2011 at 09:47:23AM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 10:36:26AM +0800, Shawn Guo wrote: Since I do not get any suggestion here, I'm

Re: [RFC/PATCH 2/7] OMAP3: beagle: don't touch omap_device internals

2011-07-29 Thread Menon, Nishanth
On Fri, Jul 29, 2011 at 09:05, Felipe Balbi ba...@ti.com wrote: +} +EXPORT_SYMBOL(omap_hwmod_name_get_odev); maybe EXPORT_SYMBOL_GPL() ?? Not sure we want non-GPL code to access this ;-) Sure.. but is this the way we want to go? if yes, I can post the series in a formal way to the list.

Re: [RFC/PATCH 0/7] decouple platform_device from omap_device

2011-07-29 Thread Kevin Hilman
G, Manjunath Kondaiah manj...@ti.com writes: On Wed, Jul 27, 2011 at 02:45:33PM -0700, Hilman, Kevin wrote: Hi Manjunath, On Wed, Jul 27, 2011 at 7:04 AM, G, Manjunath Kondaiah manj...@ti.com wrote: Kevin, On Thu, Jul 21, 2011 at 04:52:10PM -0700, Kevin Hilman wrote: Here's a first