commit | af060b3f72b801962033f75a2fda25fff992796d | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Tue Sep 04 21:49:44 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Thu Sep 06 12:09:37 2018 +0100 |
tree | d4c37f8b64d86ef924a7422a0cf278b33c8b3f47 | |
parent | 48c29d0d27fbbb4c78d3c14c50067d7e8919ed95 [diff] |
spi: dw: support 4-16 bits per word The spi-dw driver currently only supports 8 or 16 bits per word. Since the hardware supports 4-16 bits per word, adapt the driver to also support this. Tested on socfpga cyclone5 with a 9-bit SPI display. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>