My rk3399-gru-kevin complains loudly at boot:
rockchip-spi ff1d0000.spi: Failed to request TX DMA channel
rockchip-spi ff1d0000.spi: Failed to request RX DMA channel
rockchip-spi ff1e0000.spi: Failed to request TX DMA channel
rockchip-spi ff1e0000.spi: Failed to request RX DMA channel
rockchip-spi ff200000.spi: Failed to request TX DMA channel
rockchip-spi ff200000.spi: Failed to request RX DMA channel
..so I tried adding the proper dma channels as show below.
Unfortunately the rockchip-spi driver doesn't seem to work
properly with dma on rk3399. The first problem seems to be
that when using dma transfers the driver expects to get
callbacks both when the tx and rx dma requests finish,
but only the rx callback fires.
Before digging deeper it'd be nice to know if someone has
looked at this before or if I'm doing something obviously
wrong.
/Emil
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)