question on spi_bitbang
From: Kumar Gala
Date: Fri Mar 31 2006 - 12:28:18 EST
I'm looking at using spi_bitbang for a SPI driver and was trying to
understand were the right point is to handle MODE switches.
There are 4 function pointers provided for each mode. My controller
HW has a mode register which allows setting clock polarity and clock
phase. I assume what I want is in my chipselect() function is to set
my mode register and have the four function pointers set to the same
function.
Is this the right usage model, or should I set the mode register as
part of the txrx_word[mode] function?
- kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/