Re: I2C on mpc8248 / device tree

2007-11-14 Thread Alan Bennett
Does this patch support the cpm2 as well? I get conflicting thoughts looking over the latest postings. -Alan On 11/13/07, Jon Smirl [EMAIL PROTECTED] wrote: I am working on a patch for i2c and device tree. I attached the current version. DTC entry looks like this. [EMAIL

Re: I2C on mpc8248 / device tree

2007-11-14 Thread Kumar Gala
The patch is orthogonal to your issue. There is NOT a driver in the kernel tree for the i2c on CPM2 based parts like the 8248 (from what I can tell). - k On Nov 14, 2007, at 9:31 AM, Alan Bennett wrote: Does this patch support the cpm2 as well? I get conflicting thoughts looking over the

Re: I2C on mpc8248 / device tree

2007-11-14 Thread Alan Bennett
ERk. So if I needed to read values from four i2c devices (raw access would be fine) and I need to get this working in a few days, how would you suggest I proceed? Kernel = 2.6.23+. Do I need to start from scratch? Start by using Jon's patch (or are the 5200 i2c and the cpm2 i2c

Re: I2C on mpc8248 / device tree

2007-11-14 Thread Scott Wood
On Wed, Nov 14, 2007 at 10:49:13AM -0700, Alan Bennett wrote: ERk. So if I needed to read values from four i2c devices (raw access would be fine) and I need to get this working in a few days, how would you suggest I proceed? Kernel = 2.6.23+. Do I need to start from scratch? Start

Re: I2C on mpc8248 / device tree

2007-11-14 Thread Jon Smirl
On 11/14/07, Scott Wood [EMAIL PROTECTED] wrote: On Wed, Nov 14, 2007 at 10:49:13AM -0700, Alan Bennett wrote: ERk. So if I needed to read values from four i2c devices (raw access would be fine) and I need to get this working in a few days, how would you suggest I proceed? Kernel =

I2C on mpc8248 / device tree

2007-11-13 Thread Alan Bennett
I've got four devices on i2c that I need to read. Simple thermal and voltage monitors. I2c works fine in uboot, and now I'm trying to get things to work in linux. In the kernel .config I enable I2C and I2C_MPC During the platform boot code: I init the IO ports for i2c, (same as ep8248e

Re: I2C on mpc8248 / device tree

2007-11-13 Thread Jon Smirl
I am working on a patch for i2c and device tree. I attached the current version. DTC entry looks like this. [EMAIL PROTECTED] { compatible = mpc5200b-i2c,mpc5200-i2c,fsl-i2c; reg = 3d40 40; interrupts = 2 10

Re: I2C on mpc8248 / device tree

2007-11-13 Thread Kumar Gala
On Nov 13, 2007, at 5:39 PM, Alan Bennett wrote: I've got four devices on i2c that I need to read. Simple thermal and voltage monitors. I2c works fine in uboot, and now I'm trying to get things to work in linux. In the kernel .config I enable I2C and I2C_MPC This driver isn't