riscv: dts: allwinner: d1: Switch dma-names order for snps,dw-apb-uart nodes
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 21 Mar 2023 21:56:20 +0000 (23:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 09:06:44 +0000 (11:06 +0200)
commitd30a28a764a8221874ab53b7cbe79f842c30b671
tree65051836fe6fca38e64473b655ac8b78ba56eb4b
parent28cbc3a4473fa607e4501112d700585b1ee4ce75
riscv: dts: allwinner: d1: Switch dma-names order for snps,dw-apb-uart nodes

Commit 370f696e4474 ("dt-bindings: serial: snps-dw-apb-uart: add dma &
dma-names properties") documented dma-names property to handle Allwinner
D1 dtbs_check warnings, but relies on the rx->tx ordering, which is the
reverse of what a bunch of different boards expect.

The initial proposed solution was to allow a flexible dma-names order in
the binding, due to potential ABI breakage concerns after fixing the DTS
files. But luckily the Allwinner boards are not affected, since they are
using a shared DMA channel for rx and tx.

Hence, the first step in fixing the inconsistency was to change
dma-names order in the binding to tx->rx.

Do the same for the snps,dw-apb-uart nodes in the DTS file.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230321215624.78383-7-cristian.ciocaltea@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi