I am a bit confused where one should do spi HW setup. Currently both mpc83xx_spi_setup_transfer() and mpc83xx_spi_chipselect() touches the HW controller. I suspect that this is so because mpc83xx_spi_setup_transfer() only gets called if one supply speed or word size thereby forcing mpc83xx_spi_chipselect() do it too and I doubt the speed and wordsize is correctly dealt with in mpc83xx_spi_chipselect().
The current situation for mpc83xx is suboptimal and can cause gliches on CLK as one must disable the controller before any change is to be performed and then reenabled it. The SPI I/O pins is floating while the controller is disabled. Jocke ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
