* MPC5200 SPI
@ 2009-03-17 11:07 Gary Thomas
0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2009-03-17 11:07 UTC (permalink / raw)
To: Linux PPC Development
I'm trying to use the PSC/SPI driver on my MPC5200 board
'drivers/spi/mpc52xx_psc_spi.c' My kernel is 2.6.28, but
I don't see any changes in this area in the latest ones.
Cribbing from the Lite5200, I put this in my DTS file:
// PSC6 => SPI
spi@2c00 { // PSC6
compatible = "fsl,mpc5200-psc-spi";
cell-index = <5>;
reg = <0x2c00 0x100>;
interrupts = <2 4 0>;
interrupt-parent = <&mpc5200_pic>;
};
I added the SPI device I'm working with (I have to write
this driver, so don't go looking for it). This was added
within the spi@2c00 node, much like various I2C devices, etc.
temp@spi {
compatible = "maxim,max6629";
};
Sadly, the SPI master driver seems 100% oblivious to this.
I found the call of_register_spi_devices (drivers/of/of_spi.c),
but it is only used by the xilinx SPI master. Also, I didn't
find any slave examples anywhere.
Is this driver (SPI on MPC5200) supposed to work?
If so, what am I missing to get it set up?
If not, what needs to be done to get it there?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-17 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 11:07 MPC5200 SPI Gary Thomas
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.