ARM: dts: sun8i: a23/a33: Switch dma-names order for snps,dw-apb-uart nodes
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 21 Mar 2023 21:56:17 +0000 (23:56 +0200)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sat, 8 Apr 2023 12:33:45 +0000 (14:33 +0200)
commitd4880d2b81d8167b2cb7e27026c42dd1df9dbf8d
tree42dfdb7619850b2d510c725ab9a6e0fc14028213
parenta9efe94fbd0bb1c9c32393b1dd7cddd75c07db42
ARM: dts: sun8i: a23/a33: 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>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230321215624.78383-4-cristian.ciocaltea@collabora.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/boot/dts/sun8i-a23-a33.dtsi