* Fw: Help with SPI node
@ 2009-11-10 3:36 Ravi Shekhar
2009-11-21 7:57 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Ravi Shekhar @ 2009-11-10 3:36 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
I'm attempting to get SPI to work on my embedded design
that is based on the mpc8313erbd reference board wiht a
2.6.27 kernel. I cannot open the SPI device.
Tracing through the kernel code, it looks like the device is
not being found in the DTB file. However there is a
SPI node in there already described. Our boards is a
SPI master, and the device we will attach is a SPI
slave. Could someone elaborate on what is needed in
the DTS file to have our SPI driver work and respond to an
open() call?
Thanks
-Ravi
[-- Attachment #2: Type: text/html, Size: 748 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fw: Help with SPI node
2009-11-10 3:36 Fw: Help with SPI node Ravi Shekhar
@ 2009-11-21 7:57 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2009-11-21 7:57 UTC (permalink / raw)
To: Ravi Shekhar; +Cc: linuxppc-dev
On Mon, Nov 9, 2009 at 8:36 PM, Ravi Shekhar <Ravi.Shekhar@lntemsys.com> wr=
ote:
>
>
> =A0I'm attempting to get SPI to work on my embedded design
> =A0that is based on the mpc8313erbd reference board wiht a
> =A02.6.27 kernel.
Are you able to use a more recent kernel? A lot of work has gone into
SPI drivers in the last 5 releases.
> =A0I cannot open the SPI device.
> =A0Tracing through the kernel code, it looks like the device is
> =A0not being found in the DTB file. =A0However there is a
> =A0SPI node in there already described. =A0Our boards is a
> SPI master, and the device we will attach is a SPI
> =A0slave. =A0Could someone elaborate on what is needed in
> =A0the DTS file to have our SPI driver work and respond to an
> =A0open() call?
Look in Documentation/powerpc/dts-bindings/spi-bus.txt. However, the
2.6.27 kernel may not have support for that binding on the mpc8313 SPI
bus driver (I'm not sure though, I haven't looked).
g.
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-21 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10 3:36 Fw: Help with SPI node Ravi Shekhar
2009-11-21 7:57 ` Grant Likely
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.