Re: [PATCH v2 1/3] i2c: s3c2410: Keep a copy of platform data and use it.

2011-07-31 Thread Grant Likely
On Fri, Jul 22, 2011 at 03:48:36PM +0530, Thomas Abraham wrote: The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device tree support for the i2c-s3c2410 driver. Signed-off-by: Thomas Abraham

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

2011-07-31 Thread Grant Likely
On Sat, Jul 30, 2011 at 04:37:28PM +0100, Russell King - ARM Linux wrote: On Sat, Jul 30, 2011 at 04:29:50AM -1000, Mitch Bradley wrote: On 7/29/2011 6:55 AM, Russell King - ARM Linux wrote: On Fri, Jul 29, 2011 at 10:52:22AM -0600, Grant Likely wrote: On Thu, Jul 28, 2011 at 02:41:32PM

Re: [PATCH 1/3] vic: add device tree bindings

2011-07-31 Thread Grant Likely
On Mon, Jul 25, 2011 at 11:31:51PM +0100, Jamie Iles wrote: Hi Grant, On Mon, Jul 25, 2011 at 02:04:34PM -0600, Grant Likely wrote: irq_domain_add_simple() is a stop-gap shortcut for interrupt controllers that don't use irq_domain directly. I'm okay with doing this in the short term,

Re: [PATCH v2 3/3] arm: dt: Add device tree support for i2c instance 0 and 1 on exynos4 dt machine

2011-07-31 Thread Grant Likely
On Fri, Jul 22, 2011 at 03:48:38PM +0530, Thomas Abraham wrote: Add device node for i2c instance 0 and 1 and list all its connected slave devices. Signed-off-by: Thomas Abraham thomas.abraham at linaro.org --- arch/arm/boot/dts/exynos4-smdkv310.dts | 45 +++

Re: [PATCH v2 2/4] powerpc, mpc52xx: add a4m072 board support

2011-07-31 Thread Grant Likely
On Wed, Jun 22, 2011 at 12:39:10PM +0200, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de cc: Grant Likely grant.lik...@secretlab.ca cc: devicetree-disc...@ozlabs.org cc: Wolfgang Denk w...@denx.de cc: Wolfram Sang w.s...@pengutronix.de --- For this patchseries following

Re: [PATCH] input: xilinx_ps2: Add missing of_address.h header

2011-07-31 Thread Grant Likely
On Sun, Jul 24, 2011 at 03:51:30PM +0200, Michal Simek wrote: Hi Grant, can you propose this patch to mainline through your devicetree tree? I've got it in a input/next branch. Since the input maintainer doesn't seem to be active on driver patches, I'll send a pull req to Linus. g.

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

2011-07-31 Thread Grant Likely
On Sat, Jul 30, 2011 at 01:13:15AM +0800, Shawn Guo wrote: 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,

Re: [PATCH v2 2/3] i2c: s3c2410: Add device tree support

2011-07-31 Thread Grant Likely
On Fri, Jul 22, 2011 at 03:48:37PM +0530, Thomas Abraham wrote: Add device tree probe support for Samsung's s3c2410 i2c driver. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/i2c/samsung-i2c.txt| 44 +

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

2011-07-31 Thread Grant Likely
On Fri, Jul 29, 2011 at 11:46:31AM +0100, Jamie Iles wrote: 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 -

Re: [RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device

2011-07-31 Thread Russell King - ARM Linux
On Sat, Jul 30, 2011 at 08:58:07PM -0600, Grant Likely wrote: On Sat, Jul 30, 2011 at 01:03:32PM +0100, Russell King - ARM Linux wrote: On Thu, Jul 21, 2011 at 04:52:18PM -0700, Kevin Hilman wrote: Rather than embedding a struct platform_device inside a struct omap_device, decouple them,

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

2011-07-31 Thread Jamie Iles
On Sat, Jul 30, 2011 at 09:06:11PM -0600, Grant Likely wrote: On Fri, Jul 29, 2011 at 05:49:40PM +0100, Jamie Iles wrote: On Fri, Jul 29, 2011 at 10:24:53AM -0600, Grant Likely wrote: I really do think that the compatible property can be dropped from the child nodes... although thinking

Re: [PATCH 1/3] vic: add device tree bindings

2011-07-31 Thread Jamie Iles
On Sat, Jul 30, 2011 at 10:11:07PM -0600, Grant Likely wrote: On Mon, Jul 25, 2011 at 11:31:51PM +0100, Jamie Iles wrote: + } I think that rather than writing a interrupt-controller-specific parse route like this one, it would be much better to have a generic helper that

Re: [PATCH 1/2] arm/mx5: parse iomuxc pad configuratoin from device tree

2011-07-31 Thread Grant Likely
On Tue, Jul 26, 2011 at 10:43:55AM +0800, Shawn Guo wrote: On Mon, Jul 25, 2011 at 02:46:30PM -0600, Grant Likely wrote: On Mon, Jul 25, 2011 at 11:07:46PM +0800, Shawn Guo wrote: The current linux code has each pin config simply a u64. Now, an engineer certainly wouldn't be asked to write

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

2011-07-31 Thread Grant Likely
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 shawn@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Sammy He r62...@freescale.com Cc: Eric Miao eric.m...@linaro.org Cc: Dmitry Torokhov

Re: [PATCH] arm: exynos4: Add support for dt irq specifier to linux virq conversion

2011-07-31 Thread Grant Likely
On Wed, Jul 27, 2011 at 11:54:28PM +0530, Thomas Abraham wrote: Exynos4 includes two interrupt controllers - External GIC and External Interrupt Combiner. External GIC can handle 16 software generated interrupts (SGI), 16 Private Peripheral Interrupts (PPI) and 128 Shared Peripheral Interrupts

Re: [PATCH v2 1/3] i2c: s3c2410: Keep a copy of platform data and use it.

2011-07-31 Thread Thomas Abraham
Hi Grant, On 31 July 2011 04:51, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Jul 22, 2011 at 03:48:36PM +0530, Thomas Abraham wrote: The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device

Re: [PATCH v2 2/3] i2c: s3c2410: Add device tree support

2011-07-31 Thread Thomas Abraham
Hi Grant, On 31 July 2011 04:53, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Jul 22, 2011 at 03:48:37PM +0530, Thomas Abraham wrote: Add device tree probe support for Samsung's s3c2410 i2c driver. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  

Re: [PATCH v2 3/3] arm: dt: Add device tree support for i2c instance 0 and 1 on exynos4 dt machine

2011-07-31 Thread Thomas Abraham
Hi Grant, On 31 July 2011 04:55, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Jul 22, 2011 at 03:48:38PM +0530, Thomas Abraham wrote: Add device node for i2c instance 0 and 1 and list all its connected slave devices. Signed-off-by: Thomas Abraham thomas.abraham at linaro.org ---  

Re: [PATCH] arm: exynos4: Add support for dt irq specifier to linux virq conversion

2011-07-31 Thread Thomas Abraham
Hi Grant, On 31 July 2011 04:46, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Jul 27, 2011 at 11:54:28PM +0530, Thomas Abraham wrote: Exynos4 includes two interrupt controllers - External GIC and External Interrupt Combiner. External GIC can handle 16 software generated interrupts

Re: [PATCH v2 1/7] ARM: mmp: parse irq from DT

2011-07-31 Thread Haojian Zhuang
On Sat, Jul 30, 2011 at 12:36 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Jul 28, 2011 at 02:41:27PM +0800, Haojian Zhuang wrote: Parse irq sepcifier from DT and translate it to Linux irq number. Remove the definition of NR_IRQS in irqs.h. Since sparse irq is enabled, nr_irqs

Re: [PATCH v2 3/7] ARM: mmp: support DT on both dkb and brownstone

2011-07-31 Thread Haojian Zhuang
On Sat, Jul 30, 2011 at 12:42 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Jul 28, 2011 at 02:41:29PM +0800, Haojian Zhuang wrote: Add new boards.c to support both TTC-DKB and MMP2-BROWNSTONE. If CONFIG_OF isn't selected, we continue to use original ttc_dkb.c and brownstone.c.

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

2011-07-31 Thread Haojian Zhuang
On Sat, Jul 30, 2011 at 12:49 AM, Russell King - ARM Linux li...@arm.linux.org.uk 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] Input: mma8450: add device tree probe support

2011-07-31 Thread Dmitry Torokhov
On Sat, Jul 30, 2011 at 09:07:25PM -0600, Grant Likely wrote: 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 shawn@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Sammy He

Re: [PATCH] input: xilinx_ps2: Add missing of_address.h header

2011-07-31 Thread Dmitry Torokhov
On Sat, Jul 30, 2011 at 10:12:30PM -0600, Grant Likely wrote: On Sun, Jul 24, 2011 at 03:51:30PM +0200, Michal Simek wrote: Hi Grant, can you propose this patch to mainline through your devicetree tree? I've got it in a input/next branch. Since the input maintainer doesn't seem to be

RE: [PATCH] i2c: tegra: Fix compile when !CONFIG_OF

2011-07-31 Thread Stephen Warren
Stephen Warren wrote at Thursday, July 21, 2011 9:42 AM: Grant Likely wrote at Wednesday, July 13, 2011 4:48 PM: On Thu, Jul 14, 2011 at 5:36 AM, Stephen Warren swar...@nvidia.com wrote: When !CONFIG_OF, linux/of.h doesn't prototype of_get_property(), which causes i2c-tegra.c to fail to

Re: [PATCH v2 2/4] powerpc, mpc52xx: add a4m072 board support

2011-07-31 Thread Heiko Schocher
Hello Grant, Grant Likely wrote: On Wed, Jun 22, 2011 at 12:39:10PM +0200, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de cc: Grant Likely grant.lik...@secretlab.ca cc: devicetree-disc...@ozlabs.org cc: Wolfgang Denk w...@denx.de cc: Wolfram Sang w.s...@pengutronix.de ---