AMCC 440 SPI question

3 messages, 3 authors, 2008-09-23 · open the first message on its own page

AMCC 440 SPI question

From: Steven A. Falco <hidden>
Date: 2008-09-23 15:38:09

The yosemite.dts has the following entry, which leads me to believe
that there is SPI support.  I'd like to do something similar for a
Sequoia board, but looking in Josh's "next" branch, I don't see any
driver that would recognize the spi-440ep string.  So my question is,
is there a SPI driver for the PPC440, that is .dts aware?

			spi@ef600900 {
				compatible = "amcc,spi-440ep";
				reg = <ef600900 6>;
				interrupts = <8 4>;
				interrupt-parent = <&UIC0>;
			};

Also, googling for a driver, I find the patch that introduced this
.dts file:

Patch: [PATCH 1/3][POWERPC] 4xx: Add AMCC 440EP Yosemite DTS
patchwork.ozlabs.org/linuxppc/patch?id=16992

However, when I click on the patchwork link, I get a 404 error.
Perhaps this just means the patch is old and has been removed
from patchwork.  But since it is a "1 of 3", I was hoping one of
the other parts would contain the actual spi-440ep driver code.

Hints greatly appreciated!

	Steve

Re: AMCC 440 SPI question

From: Josh Boyer <hidden>
Date: 2008-09-23 15:51:29

On Tue, Sep 23, 2008 at 11:38:05AM -0400, Steven A. Falco wrote:
The yosemite.dts has the following entry, which leads me to believe
that there is SPI support.  I'd like to do something similar for a
Sequoia board, but looking in Josh's "next" branch, I don't see any
driver that would recognize the spi-440ep string.  So my question is,
is there a SPI driver for the PPC440, that is .dts aware?
There is no mainline driver, no.  There might be one in the DENX kernel
tree.
		spi@ef600900 {
			compatible = "amcc,spi-440ep";
			reg = <ef600900 6>;
			interrupts = <8 4>;
			interrupt-parent = <&UIC0>;
		};

Also, googling for a driver, I find the patch that introduced this
.dts file:

Patch: [PATCH 1/3][POWERPC] 4xx: Add AMCC 440EP Yosemite DTS
patchwork.ozlabs.org/linuxppc/patch?id=16992

However, when I click on the patchwork link, I get a 404 error.
Perhaps this just means the patch is old and has been removed
from patchwork.  But since it is a "1 of 3", I was hoping one of
the other parts would contain the actual spi-440ep driver code.
Patchwork was updated to a new version recently and the old one was either
taken offline or moved elsewhere.  The set of patches that added Yosemite
didn't include an SPI driver (I know, I wrote them).  I just enumerated
the device in the DTS because it's on the board.

josh

Re: AMCC 440 SPI question

From: Stefan Roese <sr@denx.de>
Date: 2008-09-23 18:52:06

On Tuesday 23 September 2008, Josh Boyer wrote:
On Tue, Sep 23, 2008 at 11:38:05AM -0400, Steven A. Falco wrote:
quoted
The yosemite.dts has the following entry, which leads me to believe
that there is SPI support.  I'd like to do something similar for a
Sequoia board, but looking in Josh's "next" branch, I don't see any
driver that would recognize the spi-440ep string.  So my question is,
is there a SPI driver for the PPC440, that is .dts aware?
There is no mainline driver, no.  There might be one in the DENX kernel
tree.
Correct. There is one in the "t1000-denx" branch of our linux-2.6-denx 
repository. But it's not ready for upstream merge yet. I already started 
cleaning up the driver and extracting the GPIO stuff into a 4xx GPIOLIB 
implementation. Hopefully I'll find the time to finish this and push the 4xx 
SPI & GPIOLIB stuff in the next 2-3 weeks.

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@denx.de
=====================================================================
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help