Skip to contentSkip to conversation

SPI Driver for 8xx

DISCUSSION Michael Meriin 2 participants 5 messages Sep 11, 2002

lore
Share & tools
lore
#1 lore raw
In reply to Michael Meriin

Dear Michael,

Quoted 3 lines · in message <058a01c2596d$171cb5a0$450fa8c0@amitesting> you wrote:

I am looking for SPI driver for 8xx custom board. Does anybody have such driver? If yes, how can I pick it up?

We have two versions of SPI drivers for the 8xx in our kernel source:

arch/ppc/8xx_io/cpm_spi.* is a plain simple SPI driver for the
MPC8xx

arch/ppc/8xx_io/lwmon_spi.c contains a more complicated, but very
specialized SPI driver, which might give you some ideas if you want to do tricky things

See http://www.denx.de/re/linux.html for instructions how to get the kernel source from our CVS server.

Hope this helps,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] You Earth people glorified organized violence for forty centuries. But you imprison those who employ it privately.

	-- Spock, "Dagger of the Mind", stardate 2715.1

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

#0 lore raw

Hello List,

I am looking for SPI driver for 8xx custom board. Does anybody have such driver? If yes, how can I pick it up?

Best Regards,
Michael Meriin

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

#3 lore raw
In reply to Michael Meriin

Dear Michael,

Quoted 3 lines · in message <059501c25971$606eb600$450fa8c0@amitesting> you wrote:

Thank you very much for your quick response.
But I failed to get to : http://www.denx.de/re/linux.html :((

Which sort of error message do you get?

Alternate way: go to http://www.denx.de , and click on "Software"

Quoted 3 lines

I will be happy to get both drivers, because I have to control several SPI devices
and therefore the driver must be complicated ;))

No, the driver stays as simple as is. You just have to add separated devices based on how your hardware implements the device select function.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "The two most common things in the universe are hydrogen and stupi- dity."

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

#2 lore raw
In reply to Wolfgang Denk

Dear Wolfgang,

Thank you very much for your quick response.
But I failed to get to : http://www.denx.de/re/linux.html :(( I will be happy to get both drivers, because I have to control several SPI devices
and therefore the driver must be complicated ;))

Best Regards,
Michael Meriin

----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Michael Meriin" <[email protected]>
Cc: "linuxppc-embedded" <[email protected]>
Sent: Wednesday, September 11, 2002 09:48
Subject: Re: SPI Driver for 8xx

Quoted 22 lines

Dear Michael,

Quoted 3 lines · in message <058a01c2596d$171cb5a0$450fa8c0@amitesting> you wrote:

I am looking for SPI driver for 8xx custom board. Does anybody have such driver? If yes, how can I pick it up?

We have two versions of SPI drivers for the 8xx in our kernel source:

arch/ppc/8xx_io/cpm_spi.* is a plain simple SPI driver for the
MPC8xx

arch/ppc/8xx_io/lwmon_spi.c contains a more complicated, but very
specialized SPI driver, which might
give you some ideas if you want to do
tricky things

See http://www.denx.de/re/linux.html for instructions how to get the kernel source from our CVS server.

Hope this helps,

Quoted 8 lines

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] You Earth people glorified organized violence for forty centuries. But you imprison those who employ it privately.
-- Spock, "Dagger of the Mind", stardate 2715.1

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

#4 lore raw
In reply to Wolfgang Denk

Dear Wolfgang,

Quoted 3 lines
Quoted 1 line

But I failed to get to : http://www.denx.de/re/linux.html :((

Which sort of error message do you get?

Netscape is unable to locate the server www.denx.de

Quoted 4 lines

Alternate way: go to http://www.denx.de , and click on "Software"

Quoted 1 line

I will be happy to get both drivers, because I have to control several

SPI

Quoted 8 lines
Quoted 2 lines

devices
and therefore the driver must be complicated ;))

No, the driver stays as simple as is. You just have to add separated devices based on how your hardware implements the device select function.

Wolfgang Denk

Regards,
Michael Meriin

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