HeHo,

> > I have on the psc3 the spi-interface of a fpga connected.
> >
> > [...]
> >
> > Can I use the mpc52xx_psc_spi-driver? And if yes, how I have to use this
> > driver?  Or must I write a own spi-master/slave thing? Can anyone point me
> > to a good start-position?
> 
> Yes, you should be able to use the mpc52xx_psc_spi driver.  You'' need
> to add the activate_cs and deactivate_cs hooks in your platform code
> to activate your SPI CS lines.  You'll also need to set port_config to
> have the PSC3 pins in "CODEC3" mode.

What is the mostly used way for that?

I think, firstly I must define a "fsl_spi_platform_data"-structure, for use
in a "platform_device"-structure. And now I register this "device" with
"platform_device_register".
Or what is the appropriate way?

Best Regards,
Silvio Fricke

-- 
-- S. Fricke ----------------------------- MAILTO:[EMAIL PROTECTED] --
   Diplom-Informatiker (FH)
   Linux-Entwicklung
----------------------------------------------------------------------------

Attachment: pgp6aRZ8TKU8f.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to