Re: [RFC] spi: expand bits_per_word_mask to 64 bits

From: Andy Shevchenko
Date: Wed Jun 11 2025 - 04:31:13 EST


On Tue, Jun 10, 2025 at 08:05:15PM -0400, Da Xue wrote:
> Most current controller IP support 64-bit words.

"Most of the current controllers support..."

> Update the mask to u64 from u32.

> drivers/iio/adc/ad7949.c | 2 +-
> drivers/spi/spi-dln2.c | 2 +-
> drivers/spi/spi-ingenic.c | 2 +-
> drivers/spi/spi-sh-msiof.c | 2 +-
> drivers/spi/spi.c | 4 ++--
> drivers/staging/greybus/spilib.c | 2 +-
> include/linux/spi/altera.h | 2 +-
> include/linux/spi/spi.h | 6 +++---

I guess it would be nice to split on per-driver basis, starting from updating
the SPI core. I counted 6 patches in such a case.

--
With Best Regards,
Andy Shevchenko