[PATCH] [POWERPC] make ibmebus use of_(un)register_driver

2008-01-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 1844359..2a6a388 100644 --- a/arch/powerpc/kernel/ibmebus.c +++

Re: [PATCH 2/3] mtd: Factor out OF partition support from the NOR driver.

2008-01-13 Thread Stephen Rothwell
Hi Scott, [Corrected list address.] On Fri, 11 Jan 2008 14:43:16 -0600 Scott Wood <[EMAIL PROTECTED]> wrote: > > +++ b/drivers/mtd/ofpart.c > +int __devinit of_mtd_parse_partitions(struct device *dev, > + nr_parts = 0; > + for (pp = node->child; pp; pp = pp->sibling) for_each_c

Re: [PATCH 3/3] Freescale enhanced Local Bus Controller FCM NAND support.

2008-01-13 Thread Stephen Rothwell
Hi Scott, [Corrected list address.] On Fri, 11 Jan 2008 14:43:20 -0600 Scott Wood <[EMAIL PROTECTED]> wrote: > > +static int __devinit fsl_elbc_ctrl_probe(struct of_device *ofdev, > + const struct of_device_id *match) > +{ > + child = NULL; > + whi

Re: [PATCH 3/3] Freescale enhanced Local Bus Controller FCM NAND support.

2008-01-13 Thread Stephen Rothwell
Hi Scott, On Fri, 11 Jan 2008 14:43:20 -0600 Scott Wood <[EMAIL PROTECTED]> wrote: > > +static int __devinit fsl_elbc_ctrl_probe(struct of_device *ofdev, > + const struct of_device_id *match) > +{ > + child = NULL; > + while ((child = of_get_next_ch

Re: [PATCH 2/3] mtd: Factor out OF partition support from the NOR driver.

2008-01-13 Thread Stephen Rothwell
Hi Scott, On Fri, 11 Jan 2008 14:43:16 -0600 Scott Wood <[EMAIL PROTECTED]> wrote: > > +++ b/drivers/mtd/ofpart.c > +int __devinit of_mtd_parse_partitions(struct device *dev, > + nr_parts = 0; > + for (pp = node->child; pp; pp = pp->sibling) for_each_child_of_node(node, pp) > +

Re: [PATCH 2/3] mpc82xx: Embedded Planet EP8248E support

2008-01-13 Thread Stephen Rothwell
Hi Scott, On Fri, 11 Jan 2008 14:07:42 -0600 Scott Wood <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/82xx/ep8248e.c > +static struct mdiobb_ops ep8248e_mdio_ops = { const, please. > +static struct of_platform_driver ep8248e_mdio_driver = { .driver = { > + .name = "e

Re: [PATCH 1/8] pseries: phyp dump: Docmentation

2008-01-13 Thread Olof Johansson
On Fri, Jan 11, 2008 at 10:57:51AM -0600, Linas Vepstas wrote: > On 10/01/2008, Nathan Lynch <[EMAIL PROTECTED]> wrote: > > Mike Strosaker wrote: > > > > > > At the risk of repeating what others have already said, the > > > PHYP-assistance > > > method provides some advantages that the kexec metho

Re: [PATCH] MTD for Taco

2008-01-13 Thread Sean MacLennan
Stefan Roese wrote: > >> +#ifdef CONFIG_TACO >> +/* The NDFC may allow 32bit read/writes, but it sure doesn't work on >> + * the taco! >> + */ >> > > We definitely don't want to see such board specific stuff in the common > NDFC driver. And I really doubt that you need this change for your boa

Re: I2C and CAN bus on MPC5200B device tree

2008-01-13 Thread Olof Johansson
On Sun, Jan 13, 2008 at 05:35:09PM -0700, Grant Likely wrote: > On 1/13/08, Matt Sealey <[EMAIL PROTECTED]> wrote: > > > > Hi guys, > > > > I know the I2C stuff is up in the air (I cannot pinpoint the documentation > > for it) and have not found any CAN bus documentation for device trees. > > > > I

Re: Enable RTC for Ebony and Walnut (v2)

2008-01-13 Thread David Gibson
On Fri, Jan 11, 2008 at 05:29:57PM +1100, Stephen Rothwell wrote: > On Fri, 11 Jan 2008 14:25:34 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > > > +++ working-2.6/arch/powerpc/sysdev/of_rtc.c2008-01-11 > > 14:17:03.0 +1100 > > > +static __initdata struct { > > + const char *

Re: I2C and CAN bus on MPC5200B device tree

2008-01-13 Thread Grant Likely
On 1/13/08, Matt Sealey <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I know the I2C stuff is up in the air (I cannot pinpoint the documentation > for it) and have not found any CAN bus documentation for device trees. > > I want to update the firmware tree to add these but, am basically looking > for

Re: [PATCH 1/3] 8xx: Analogue & Micro Adder875 board support.

2008-01-13 Thread David Gibson
On Fri, Jan 11, 2008 at 02:07:05PM -0600, Scott Wood wrote: > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> [snip] > + aliases { > + console = &console; > + enet0 = ð0; > + enet1 = ð1; I think most other boards are settling on aliases "ethernet0" etc. inste

I2C and CAN bus on MPC5200B device tree

2008-01-13 Thread Matt Sealey
Hi guys, I know the I2C stuff is up in the air (I cannot pinpoint the documentation for it) and have not found any CAN bus documentation for device trees. I want to update the firmware tree to add these but, am basically looking for those docs, or someone to go over a few points.. is there some

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 13:50:46 -0500, Jon Smirl wrote: > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > The eeprom case might be a bit confusing because that i2c driver > > supports a single device type, so the driver name is the same as the > > device name. Take a look at the hwmon/lm90 dri

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > Hi Jon, > > On Sun, 13 Jan 2008 13:01:06 -0500, Jon Smirl wrote: > > On 1/13/08, Jean Delvare wrote: > > > On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: > > > > The kernel automatically exposes modalias as a sysfs attribute so the > > > >

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
Hi Jon, On Sun, 13 Jan 2008 13:01:06 -0500, Jon Smirl wrote: > On 1/13/08, Jean Delvare wrote: > > On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: > > > The kernel automatically exposes modalias as a sysfs attribute so the > > > string must be recorded further down in the driver support layer

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > On Sun, 13 Jan 2008 11:26:07 -0500, Jon Smirl wrote: > > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > > On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: > > > > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > > > > On Mon,

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: > > On 1/13/08, Jean Delvare wrote: > > > On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: > > > > IMHO, driver_name/type should be removed in new style drivers and > > > > replaced with a

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 11:26:07 -0500, Jon Smirl wrote: > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: > > > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > > > On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > > > > > Follow

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: > On 1/13/08, Jean Delvare wrote: > > On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: > > > IMHO, driver_name/type should be removed in new style drivers and > > > replaced with aliases on all platforms since aliases are the standard > > > k

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: > > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > > On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > > > > Follow on to: "Series to add device tree naming to i2c" > > > > Teach

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > Hi Jon, > > On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: > > The common scheme used elsewhere in the kernel for handling more than > > one device in a single driver is aliases. The i2c code's existing > > driver_name/type combination is

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: > On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > > > Follow on to: "Series to add device tree naming to i2c" > > > Teach module-init-tools about the i2c subsystem. > > > > Can you pl

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > > Follow on to: "Series to add device tree naming to i2c" > > Teach module-init-tools about the i2c subsystem. > > Can you please explain what this patch does and why it is needed? It gener

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-13 Thread Jean Delvare
Hi Jon, On Sat, 12 Jan 2008 11:00:31 -0500, Jon Smirl wrote: > On 1/12/08, Jean Delvare wrote: > > What I meant is that the translation from Open Firmware device name to > > Linux device name could happen in different ways. Making module aliases > > out of the is one possibility but this is not th

Re: [PATCH 1/3] 8xx: Analogue & Micro Adder875 board support.

2008-01-13 Thread Bryan O'Donoghue
Greetings Scott. Using u-boot Adder_config U-Boot 1.3.1-g5c740711-dirty (Jan 13 2008 - 13:43:30) - using an ELDK 4.1 uclibc toolchain I can't boot your board - port. I've applied your code against Linus' git v2.6.26-rc7 as at today. I have to apply diff --git a/arch/powerpc/boot/wrapper b/ar

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
Hi Jon, On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: > The common scheme used elsewhere in the kernel for handling more than > one device in a single driver is aliases. The i2c code's existing > driver_name/type combination is a different way of implementing the > same feature. But there i

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > Follow on to: "Series to add device tree naming to i2c" > Teach module-init-tools about the i2c subsystem. Can you please explain what this patch does and why it is needed? -- Jean Delvare ___ Linu