spi: imx: support loopback mode on imx35
authorMartin Kaiser <martin@kaiser.cx>
Thu, 1 Sep 2016 20:39:58 +0000 (22:39 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2016 17:06:16 +0000 (18:06 +0100)
commit15ca92156e6242060dff91c8d8e7fe7ae82d424a
tree7a0685a057b2d135115fc03afcfc64a70e547b7d
parent2636ba8fa39915c7b8d73166961ebbb4c14251cd
spi: imx: support loopback mode on imx35

imx35 and compatible chipsets support loopback mode by setting a
loopback control bit in the test register. Make this setting available
for data transfers, similar to what we do for imx51.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c