Skip to contentSkip to conversation

[U-Boot] [Question about ppc4xx]

U-Boot 김영순 3 participants 3 messages Aug 23, 2008 – Aug 25, 2008

lore
Share & tools
lore

김영순

author
#0 lore raw

Hello there..

I'm working on my custum board based on SEQUOIA.

I'd like to use SPI & IIC in my linux application.

Where should I start??

Do I have to make my own driver to read & write via SPI & IIC??

Or, are there any usefull drivers in the kernel or somewhere??

If it is, how can I use them?

If you have sample code, would you give me them??

Best regards

#1 lore raw

Dear =?ks_c_5601-1987?B?sei/tbz4?=,

Quoted 4 lines · In message <000501c90501$433d3240$c9b796c0$@com> you wrote:

I'm working on my custum board based on SEQUOIA. I'd like to use SPI & IIC in my linux application. Where should I start??

I can tell you where *NOT* to start: on a mailing list like the U-Boot list where your request is off topic.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
SW engineering is a race between programmers trying  to  make  better
idiot-proof programs and the universe producing greater idiots.
#2 lore raw
In reply to 김영순
Quoted 3 lines · ???

I'm working on my custum board based on SEQUOIA.

I'd like to use SPI & IIC in my linux application.

First this is the wrong mailing list then. Its about U-Boot questions and you are asking about Linux I2C and SPI support. I suggest you move this over to linuxppc-dev.

Quoted 11 lines

Where should I start??

Do I have to make my own driver to read & write via SPI & IIC??

Or, are there any usefull drivers in the kernel or somewhere??

If it is, how can I use them?

If you have sample code, would you give me them??

To give you a quick answer to your questions: I2C is supported for 4xx in the current Linux kernel. SPI is still missing but I'm currently busy with integrating the 4xx SPI support and pushing it upstream. In a few days/weeks you should see something on the lists.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================