LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* anyone used i2c-algo-8260 for the MPC8272 family?
@ 2005-11-21  6:56 Ron Kellam
  2005-11-22  3:19 ` Ron Kellam
  0 siblings, 1 reply; 3+ messages in thread
From: Ron Kellam @ 2005-11-21  6:56 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,

I'm trying to get i2c-algo-8260 and i2c-pm826 working on an MPC8247.
It doesn't... It just hangs the kernel.

There are some subtle differences b/t the 8260 family and 8272 family.
The 8272 family only has 8KB DPRAM (c.f. 16KB), so I believe the
definition of PROFF_I2C in include/linux/cpm_8260.h should be
different.  I've changed it from:

	#define PROFF_I2C	((16 * 1024) - 64)
to 
	#define PROFF_I2C	((8 * 1024) - 64)

but still get no I2C activity, and a kernel hang.

Anyone have this working, or any thoughts to contribute?

Regards,
Ron Kellam.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* anyone used i2c-algo-8260 for the MPC8272 family?
@ 2005-11-21 16:57 Heiko Schocher
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2005-11-21 16:57 UTC (permalink / raw)
  To: linuxppc-embedded

Hi Ron,

> There are some subtle differences b/t the 8260 family and 8272 family.
> The 8272 family only has 8KB DPRAM (c.f. 16KB), so I believe the
> definition of PROFF_I2C in include/linux/cpm_8260.h should be
> different.  I've changed it from:
> 
> 	#define PROFF_I2C	((16 * 1024) - 64)
> to 
> 	#define PROFF_I2C	((8 * 1024) - 64)
> 
> but still get no I2C activity, and a kernel hang.

I think your change above is right for a MPC8247.

> Anyone have this working, or any thoughts to contribute?

Look at my Patch, which I just posted at linuxppc-dev, which 
(I hope) will help you (!! it is for a MPC8260 based Board):

http://ozlabs.org/pipermail/linuxppc-dev/2005-November/020492.html

or have a look at the Git repository at Denx:

http://source.denx.net/git/linux-2.6-denx.git

where you can find the complete PM82x port for the 2.6.14 Kernel.

Best regards,
Heiko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-22  3:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21  6:56 anyone used i2c-algo-8260 for the MPC8272 family? Ron Kellam
2005-11-22  3:19 ` Ron Kellam
  -- strict thread matches above, loose matches on Subject: below --
2005-11-21 16:57 Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox