immortalwrt/target/linux/octeontx
Tim Harvey 0fd583ecc3 octeontx: fix mcp251x can controller
Update the can-mcp251x-convert-to-half-duplex-SPI patch to fix reception

Some SPI host controllers such as the Cavium Thunder TX do not support
full-duplex SPI. Using half-duplex transfers allows the driver to work
with those host controllers.

This patch fixes the fact that mcp251x_hw_rx_frame was still relying on
a full-duplex transfer where bits were being shifted on MOSI at the same time
as MISO. After splitting the transaction into a spi_write_then_read() care
must be taken to ignore the first byte.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2020-06-05 12:06:38 +08:00
..
base-files/etc sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
image Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
patches-4.14 mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
patches-5.4 octeontx: fix mcp251x can controller 2020-06-05 12:06:38 +08:00
config-4.14 mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
config-5.4 octeontx: refresh kernel 5.4 config 2020-06-05 12:05:30 +08:00
Makefile mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00