* AMCC 440 SPI question
@ 2008-09-23 15:38 Steven A. Falco
2008-09-23 15:50 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Steven A. Falco @ 2008-09-23 15:38 UTC (permalink / raw)
To: linuxppc-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AMCC 440 SPI question
2008-09-23 15:38 AMCC 440 SPI question Steven A. Falco
@ 2008-09-23 15:50 ` Josh Boyer
2008-09-23 18:50 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2008-09-23 15:50 UTC (permalink / raw)
To: Steven A. Falco; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AMCC 440 SPI question
2008-09-23 15:50 ` Josh Boyer
@ 2008-09-23 18:50 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2008-09-23 18:50 UTC (permalink / raw)
To: linuxppc-dev
On Tuesday 23 September 2008, Josh Boyer wrote:
> 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.
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
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-23 18:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-23 15:38 AMCC 440 SPI question Steven A. Falco
2008-09-23 15:50 ` Josh Boyer
2008-09-23 18:50 ` Stefan Roese
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).