Hi,
I try to use the altera SPI driver from the mainline kernel (/drivers/spi/spi-altera.c) in combination with the QSYS softIP SPI (3 wire serial).
It works fine for different word width up to 16bit. The softIP core support up to 32bit, which I need for my SPI slave. But in the altera driver (spi-altera.c) I found a 16bit limitation.
On Line 215: master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 16);
Is it possible to update this line to: master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32);
or is there some other limitations in the SPI driver? What’s the reason for the 16bit limitation?
Thanks and best regards,
Schnudi