]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: microchip-core: add support for word sizes of 1 to 32 bits
authorSteve Wilkins <steve.wilkins@raymarine.com>
Mon, 15 Jul 2024 11:13:57 +0000 (12:13 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jul 2024 18:08:20 +0000 (19:08 +0100)
commit87232ea8a5caf8d050f8ea7acd210a2cfcbe6309
treea932e3e09e46398dc9c44f29b0da896421ed3e09
parent9cf71eb0faef4bff01df4264841b8465382d7927
spi: microchip-core: add support for word sizes of 1 to 32 bits

The current implementation only supports a word size of 8 bits,
which limits the devices it can be used with. Add support for any
word size between 1 and 32 bits, as supported by the hardware.

Signed-off-by: Steve Wilkins <steve.wilkins@raymarine.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20240715-cogwheel-uniquely-0d4ef518b809@wendy
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-microchip-core.c