linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* i2c support for MPC 8247
@ 2008-12-04  1:49 Daniel Ng
  2008-12-04  8:58 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Ng @ 2008-12-04  1:49 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

We were successfully using drivers/i2c/busses/i2c-mpc8260.c for I2C support on 
a MPC8247 in Linux 2.6.14.

Now, we are wanting to upgrade our embedded system to Linux 2.6.24.

However, in 2.6.24, the file i2c-mpc8260.c doesn't exist. There is a i2c-mpc.c 
but this doesn't seem to handle the MPC8247. This is because I get the 
following message when I try to access the I2C device:

"/dev/i2c-0: No such device"

Perhaps the i2c-mpc.c driver uses a different device node? There is nothing in 
the i2c-mpc.c file which specifies a particular dev node.

Is I2C supported on the MPC8247 in Linux 2.6.24?

If so, what is the appropriate driver file?

Cheers,
Daniel

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

* Re: i2c support for MPC 8247
  2008-12-04  1:49 i2c support for MPC 8247 Daniel Ng
@ 2008-12-04  8:58 ` Laurent Pinchart
  2008-12-07 23:31   ` Daniel Ng
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2008-12-04  8:58 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Daniel Ng

Hi Daniel,

On Thursday 04 December 2008 02:49:45 Daniel Ng wrote:
> Hi,
>
> We were successfully using drivers/i2c/busses/i2c-mpc8260.c for I2C support
> on a MPC8247 in Linux 2.6.14.
>
> Now, we are wanting to upgrade our embedded system to Linux 2.6.24.
>
> However, in 2.6.24, the file i2c-mpc8260.c doesn't exist. There is a
> i2c-mpc.c but this doesn't seem to handle the MPC8247. This is because I
> get the following message when I try to access the I2C device:
>
> "/dev/i2c-0: No such device"
>
> Perhaps the i2c-mpc.c driver uses a different device node? There is nothing
> in the i2c-mpc.c file which specifies a particular dev node.
>
> Is I2C supported on the MPC8247 in Linux 2.6.24?
>
> If so, what is the appropriate driver file?

The MPC8247 I2C controller is supported by the i2c-cpm driver, introduced in 
2.6.27. It shouldn't be difficult to backport the driver to 2.6.24. Please 
note that the driver only supports the powerpc architecture and won't work on 
ppc kernels.

Alternatively, you could port the i2c-mpc8260 driver to 2.6.24.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

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

* Re: i2c support for MPC 8247
  2008-12-04  8:58 ` Laurent Pinchart
@ 2008-12-07 23:31   ` Daniel Ng
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Ng @ 2008-12-07 23:31 UTC (permalink / raw)
  To: linuxppc-embedded

Laurent Pinchart <laurentp <at> cse-semaphore.com> writes:
> The MPC8247 I2C controller is supported by the i2c-cpm driver, introduced in 
> 2.6.27. It shouldn't be difficult to backport the driver to 2.6.24. Please 
> note that the driver only supports the powerpc architecture and won't work 
on 
> ppc kernels.
> 
> Alternatively, you could port the i2c-mpc8260 driver to 2.6.24.
> 

Great! Thanks for the info Laurent.

Daniel

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

end of thread, other threads:[~2008-12-07 23:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04  1:49 i2c support for MPC 8247 Daniel Ng
2008-12-04  8:58 ` Laurent Pinchart
2008-12-07 23:31   ` Daniel Ng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).