* I2C implementation on MPC8260
@ 2004-05-05 9:35 Jos Beck
2004-05-05 10:03 ` Wolfgang Denk
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jos Beck @ 2004-05-05 9:35 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I am trying to get some i2c devices (RTC, EEPROM) to run on an MPC8260
with kernel version 2.4.21.
I have seen some fragmented information in the kernel source
documentation and on this mailing list, but it's not clear to me what
parts I can use and what I have to write myself.
Could anyone tell me where and how to start?
Thanks,
Jos
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: I2C implementation on MPC8260
2004-05-05 9:35 I2C implementation on MPC8260 Jos Beck
@ 2004-05-05 10:03 ` Wolfgang Denk
2004-05-05 10:18 ` Jaap-Jan Boor
2004-05-05 11:42 ` Jos Beck
2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-05-05 10:03 UTC (permalink / raw)
To: Jos Beck; +Cc: linuxppc-embedded
In message <4098B547.5070101@euronet.nl> you wrote:
>
> I am trying to get some i2c devices (RTC, EEPROM) to run on an MPC8260
> with kernel version 2.4.21.
Use a more recent kernel.
> I have seen some fragmented information in the kernel source
> documentation and on this mailing list, but it's not clear to me what
> parts I can use and what I have to write myself.
>
> Could anyone tell me where and how to start?
The linuxppc_2_4_devel tree on our CVS server has I2C support for the
8260, and also includes several I2C based RTC modules. See
http://www.denx.de/re/linux.html
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
By the way, ALL software projects are done by iterative prototyping.
Some companies call their prototypes "releases", that's all.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I2C implementation on MPC8260
2004-05-05 9:35 I2C implementation on MPC8260 Jos Beck
2004-05-05 10:03 ` Wolfgang Denk
@ 2004-05-05 10:18 ` Jaap-Jan Boor
2004-05-05 11:42 ` Jos Beck
2 siblings, 0 replies; 4+ messages in thread
From: Jaap-Jan Boor @ 2004-05-05 10:18 UTC (permalink / raw)
To: Jos Beck; +Cc: linuxppc-embedded
On Wed, 2004-05-05 at 11:35, Jos Beck wrote:
> Hi,
>
> I am trying to get some i2c devices (RTC, EEPROM) to run on an MPC8260
> with kernel version 2.4.21.
> I have seen some fragmented information in the kernel source
> documentation and on this mailing list, but it's not clear to me what
> parts I can use and what I have to write myself.
>
> Could anyone tell me where and how to start?
I think you need i2c-core.c, i2c-dev.c, i2c-algo-8260.c and
a driver file that set's up (board specific) i2c port settings
and irq. I think there are examples in the denx tree.
(i2c-pm826.c)
This is more or less the standard thing to do:
check the denx tree.
Jaap-Jan
>
>
> Thanks,
>
> Jos
>
>
--
J.G.J. Boor Anton Philipsweg 1
Software Engineer 1223 KZ Hilversum
AimSys bv tel. +31 35 689 1941
Postbus 2194, 1200 CD Hilversum mailto:jjboor@aimsys.nl
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I2C implementation on MPC8260
2004-05-05 9:35 I2C implementation on MPC8260 Jos Beck
2004-05-05 10:03 ` Wolfgang Denk
2004-05-05 10:18 ` Jaap-Jan Boor
@ 2004-05-05 11:42 ` Jos Beck
2 siblings, 0 replies; 4+ messages in thread
From: Jos Beck @ 2004-05-05 11:42 UTC (permalink / raw)
To: linuxppc-embedded
Thanks for the info!
Jos
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-05 11:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-05 9:35 I2C implementation on MPC8260 Jos Beck
2004-05-05 10:03 ` Wolfgang Denk
2004-05-05 10:18 ` Jaap-Jan Boor
2004-05-05 11:42 ` Jos Beck
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).