]> git.baikalelectronics.ru Git - kernel.git/commit
spi: xilinx: Add DT support for selecting transfer word width
authorAlvaro Gamez Machado <alvaro.gamez@hazent.com>
Thu, 24 Oct 2019 11:07:56 +0000 (13:07 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 24 Oct 2019 11:45:21 +0000 (12:45 +0100)
commita61b33aacc5c11cc1e6bf2928a30aab28d998f40
treee8b15238f3cf0855678cd1c80763558f04e6cb7b
parentdbd9bdf14fe729d469fb46ad647e14f6a9dae51a
spi: xilinx: Add DT support for selecting transfer word width

This core supports either 8, 16 or 32 bits as word width. This value is only
settable on instantiation, and thus we need to support any of them by means
of the device tree.

Signed-off-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com>
Link: https://lore.kernel.org/r/20191024110757.25820-3-alvaro.gamez@hazent.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xilinx.c