linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* I2C for IBM405CR under Hardhat Linux
@ 2001-03-15 12:20 Matthias Fuchs
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Fuchs @ 2001-03-15 12:20 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

I am trying to access my i2c eeprom (custom board) from MotaVista's
HardHat Linux (kernel 2.4.0-test2).

Here is a snippet from my kernel config:
#
# I2C support
#
CONFIG_I2C=y
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
CONFIG_I2C_CHARDEV=y

How can I enable i2c support for the 405 ? /proc/bus/i2c is empty. I
expect the 405 i2c adapter listed there ! Am I right ?

Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: I2C for IBM405CR under Hardhat Linux
@ 2001-03-15 19:42 Brian Kuschak
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Kuschak @ 2001-03-15 19:42 UTC (permalink / raw)
  To: 'Matthias Fuchs', linuxppc-embedded


You need to select:

CONFIG_PPC405_I2C_ALGO=y
CONFIG_PPC405_I2C_ADAP=y

These drivers are part of the latest M.V kernel.

linux/drivers/i2c/i2c-adap-ppc405.c
linux/drivers/i2c/i2c-algo-ppc405.c


-----Original Message-----
From: Matthias Fuchs [mailto:matthias.fuchs@esd-electronics.com]
Sent: Thursday, March 15, 2001 4:21 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: I2C for IBM405CR under Hardhat Linux



Hello,

I am trying to access my i2c eeprom (custom board) from MotaVista's
HardHat Linux (kernel 2.4.0-test2).

Here is a snippet from my kernel config:
#
# I2C support
#
CONFIG_I2C=y
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
CONFIG_I2C_CHARDEV=y

How can I enable i2c support for the 405 ? /proc/bus/i2c is empty. I
expect the 405 i2c adapter listed there ! Am I right ?

Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-03-15 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 12:20 I2C for IBM405CR under Hardhat Linux Matthias Fuchs
  -- strict thread matches above, loose matches on Subject: below --
2001-03-15 19:42 Brian Kuschak

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).