]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: Fix RK3328 UART DMAs
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 13:46:50 +0000 (13:46 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 16 Feb 2018 08:56:23 +0000 (09:56 +0100)
commit7e549663eae699ead8869301e273a4efb55f7310
tree4df2ab607afcf03bc15f720c7ec8e891830056b5
parent751aa733fefb13df41b53117b2d2ae5cd87cb8a9
arm64: dts: rockchip: Fix RK3328 UART DMAs

Using a serial console on RK3328 provokes an error from
of_dma_request_slave_channel() since the UART nodes have a "dmas"
property but are missing the mandatory "dma-names" to go with it.

Replace the bogus "#dma-cells" - these UARTs are DMA channel consumers,
not providers - with the appropriate names instead. DMA still doesn't
actually work, since the PL330 driver doesn't quite implement everything
the 8250 driver demands, but at least it makes the DT correct.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi