Re: [PATCH 4/5] powerpc/5200: dts: Change combatible strings on localbus

2011-01-03 Thread Grant Likely
On Wed, Nov 17, 2010 at 03:28:47PM -0800, John Bonesio wrote: > This patch changes some incorrect compatible strings on the local plus bus > node > in dts files for MPC5200b based systems. > > Signed-off-by: John Bonesio > --- Applied, thanks. g. > > arch/powerpc/boot/dts/cm5200.dts|

Re: [PATCH 3/5] powerpc/5200: dts: remove unused properties

2011-01-03 Thread Grant Likely
On Wed, Nov 17, 2010 at 03:28:39PM -0800, John Bonesio wrote: > This patch remove unused properties in dts files in preparation of refactoring > the dts files for MPC5200b based boards. > > Signed-off-by: John Bonesio Applied, thanks. g. > --- > > arch/powerpc/boot/dts/cm5200.dts|2 -

Re: [PATCH 2/5] powerpc/5200: dts: rename nodes to prepare for refactoring dts files

2011-01-03 Thread Grant Likely
On Wed, Nov 17, 2010 at 03:28:30PM -0800, John Bonesio wrote: > This patch renames nodes in dts fils for MPC5200b files to prepare for > refactoring of these files later. When refactoring it will be easier to verify > the results if the node names aren't changing at the same time. > > Signed-off-b

Re: [PATCH 1/3] i2c-ocores: Adapt for device tree

2011-01-03 Thread Ben Dooks
On 24/11/10 16:26, Jonas Bonn wrote: OK, applied this series to my -next tree. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

[PATCH] of/device: Don't register disabled devices

2011-01-03 Thread Grant Likely
Device nodes with the property status="disabled" are not usable and so don't register them when parsing the device tree for devices. Signed-off-by: Grant Likely Cc: Hollis Blanchard Cc: Deepak Saxena Cc: Scott Wood , Cc: David Gibson Cc: Benjamin Herrenschmidt --- drivers/of/platform.c | 2

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2011-01-03 Thread Scott Wood
On Wed, 22 Dec 2010 23:58:09 -0600 Meador Inge wrote: > NOTE: The 'interrupt-parent' is implicit since message register nodes > are always children of interrupt controller nodes. > > ** Example: > > mpic: p...@4 { > interrupt-controller; > #address-

Re: [PATCH] ll_temac: Fix section mismatch from the temac_of_probe

2011-01-03 Thread David Miller
From: Grant Likely Date: Mon, 3 Jan 2011 10:03:32 -0700 > On Mon, Jan 03, 2011 at 11:32:36AM +0100, Michal Simek wrote: >> Replace __init by __devinit. >> >> Warning message: >> WARNING: vmlinux.o(.data+0xbc14): Section mismatch in reference from the >> variable >> temac_of_driver to the functi

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2011-01-03 Thread Scott Wood
On Thu, 23 Dec 2010 15:33:25 -0700 Grant Likely wrote: > On Thu, Dec 23, 2010 at 03:49:54PM -0600, Meador Inge wrote: > > How do you > > see this working in terms of processing the data? It seems like we > > are going to have to be aware of N values instead of 1, which seems > > worse. > > This

Re: [PATCH 2/7] of: Fixes for OF probing on little endian systems

2011-01-03 Thread Grant Likely
On Mon, Jan 03, 2011 at 12:08:20PM -0600, Rob Herring wrote: > Grant, > > On 11/16/2010 11:23 PM, Grant Likely wrote: > >On Tue, Nov 16, 2010 at 02:33:50PM -0600, Rob Herring wrote: > >>From: Rob Herring > >> > >>Fixes for sdhci-of and ipmi drivers. > >> > >>Auditing all drivers using of_get_prope

Re: [PATCH v3] OF: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF

2011-01-03 Thread Grant Likely
On Mon, Jan 03, 2011 at 11:56:38AM -0600, Rob Herring wrote: > From: Rob Herring > > Some OF drivers could likely be used on non-powerpc OF based platforms, > so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF. > > Compile tested on ARM and sparc. > > Signed-off-by: Rob Herring

Re: [sodaville] [PATCH 02/11] x86: Add device tree support

2011-01-03 Thread H. Peter Anvin
On 01/03/2011 10:06 AM, H. Peter Anvin wrote: > > The problem with that kind of boot wrapper is that they are > per-architecture, increasing the differences between architectures > needlessly, and they are often implemented very poorly. > > As such, it's nice to have an ultimate fallback that doe

Re: [PATCH 2/7] of: Fixes for OF probing on little endian systems

2011-01-03 Thread Rob Herring
Grant, On 11/16/2010 11:23 PM, Grant Likely wrote: On Tue, Nov 16, 2010 at 02:33:50PM -0600, Rob Herring wrote: From: Rob Herring Fixes for sdhci-of and ipmi drivers. Auditing all drivers using of_get_property did not find other occurrences likely to be used on LE platforms. Signed-off-by: R

Re: [sodaville] [PATCH 02/11] x86: Add device tree support

2011-01-03 Thread H. Peter Anvin
On 01/03/2011 09:52 AM, Grant Likely wrote: > > I think we've got an impedance mismatch. > > The whole point of the ppc boot wrapper, and the kind of boot wrapper > that I'm talking about here, is that it becomes part of the kernel > image and is *not* part of firmware. ie. an executable wrapper

Re: [sodaville] [PATCH 02/15] x86: Add device tree support

2011-01-03 Thread H. Peter Anvin
On 01/03/2011 04:20 AM, Sebastian Andrzej Siewior wrote: > Grant Likely wrote: >>> +extern char cmd_line[COMMAND_LINE_SIZE]; >>> +/* This number is used when no interrupt has been assigned */ >>> +#define NO_IRQ (-1) >> >> 0 means NO_IRQ on x86 and most architectures. I will change thi

[PATCH v3] OF: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF

2011-01-03 Thread Rob Herring
From: Rob Herring Some OF drivers could likely be used on non-powerpc OF based platforms, so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF. Compile tested on ARM and sparc. Signed-off-by: Rob Herring --- Grant, I dropped the ipmi changes as with further merging of the pla

Re: [sodaville] [PATCH 02/11] x86: Add device tree support

2011-01-03 Thread Grant Likely
On Mon, Jan 03, 2011 at 08:19:36AM -0800, H. Peter Anvin wrote: > On 01/03/2011 08:05 AM, H. Peter Anvin wrote: > > On 12/30/2010 12:58 PM, Grant Likely wrote: > >> > >> Right, but in all of those cases a boot wrapper provides the same > >> functionality with better flexability, such as being able

Re: [PATCH 03/15] x86/dtb: Add a device tree for CE4100

2011-01-03 Thread Grant Likely
On Mon, Jan 03, 2011 at 12:28:24PM +0100, Sebastian Andrzej Siewior wrote: > Grant Likely wrote: > > >>diff --git a/arch/x86/platform/ce4100/falconfalls.dts > >>b/arch/x86/platform/ce4100/falconfalls.dts > >>new file mode 100644 > >>index 000..24e67ca > >>--- /dev/null > >>+++ b/arch/x86/plat

Re: [PATCH] ll_temac: Fix section mismatch from the temac_of_probe

2011-01-03 Thread Grant Likely
On Mon, Jan 03, 2011 at 11:32:36AM +0100, Michal Simek wrote: > Replace __init by __devinit. > > Warning message: > WARNING: vmlinux.o(.data+0xbc14): Section mismatch in reference from the > variable > temac_of_driver to the function .init.text:temac_of_probe() > The variable temac_of_driver refe

Re: [sodaville] [PATCH 02/11] x86: Add device tree support

2011-01-03 Thread H. Peter Anvin
On 01/03/2011 08:05 AM, H. Peter Anvin wrote: > On 12/30/2010 12:58 PM, Grant Likely wrote: >> >> Right, but in all of those cases a boot wrapper provides the same >> functionality with better flexability, such as being able to provided >> the dtb image(s) at install time instead of compile time. >

Re: [sodaville] [PATCH 02/11] x86: Add device tree support

2011-01-03 Thread H. Peter Anvin
On 12/30/2010 12:58 PM, Grant Likely wrote: > > Right, but in all of those cases a boot wrapper provides the same > functionality with better flexability, such as being able to provided > the dtb image(s) at install time instead of compile time. > Assuming the boot wrapper is written correctly.

Re: [PATCH 02/15] x86: Add device tree support

2011-01-03 Thread Sebastian Andrzej Siewior
Grant Likely wrote: +extern char cmd_line[COMMAND_LINE_SIZE]; +/* This number is used when no interrupt has been assigned */ +#define NO_IRQ (-1) 0 means NO_IRQ on x86 and most architectures. I will change this when I pick up the patch. cat /proc/interrupts CPU0 0:

Re: [PATCH 03/15] x86/dtb: Add a device tree for CE4100

2011-01-03 Thread Sebastian Andrzej Siewior
Grant Likely wrote: diff --git a/arch/x86/platform/ce4100/falconfalls.dts b/arch/x86/platform/ce4100/falconfalls.dts new file mode 100644 index 000..24e67ca --- /dev/null +++ b/arch/x86/platform/ce4100/falconfalls.dts + + i...@15a00 { +

[PATCH] ll_temac: Fix section mismatch from the temac_of_probe

2011-01-03 Thread Michal Simek
Replace __init by __devinit. Warning message: WARNING: vmlinux.o(.data+0xbc14): Section mismatch in reference from the variable temac_of_driver to the function .init.text:temac_of_probe() The variable temac_of_driver references the function __init temac_of_probe() If the reference is valid then a