Skip to content

arm64: dts: rockchip: fix dma and pinctrl defs

Ed Wildgoose linux-arm-kernel linux-devicetree linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: dts: rockchip: correct uart mux for Radxa ZERO 3arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi+15 -09 replies
1/2arm64: dts: rockchip: correct uart mux for Radxa ZERO 3arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi+15 -00 replies
2/2rockchip: dts: Enable UART DMA by adding default dma-names propertyarch/arm64/boot/dts/rockchip/rk356x-base.dtsi+9 -02 replies
2/2rockchip: dts: Enable UART DMA by adding default dma-names propertyarch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi+8 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] arm64: dts: rockchip: fix dma and pinctrl defs

The default pinctrl definitions for the Radxa Zero 3W don't match the datasheet. Possibly few people enable extra UARTs and hence it wasn't noticed? I needed all 5 UARTs for a project and the first patch corrects the pinctrl defs. Without this patch, enabling the extra UARTs causes issues such as the MMC devices disappearing, due to collisions.

Second patch adds a dma-names property, which appears to be a pre-requisite for enabling DMA on the UARTs. I've applied this to the base rk356x-base.dtsi as it seems like a change that should apply to all SOMs? However, I confess ignorance in this area, so could I ask for a second opinion before anyone applies this? It's tested on my Zero 3W board and appears to function correctly and DMA is reported as enabled.

Ed Wildgoose (2):
arm64: dts: rockchip: correct uart mux for Radxa ZERO 3
rockchip: dts: Enable UART DMA by adding default dma-names property

 .../boot/dts/rockchip/rk3566-radxa-zero-3.dtsi    | 15 +++++++++++++++
 arch/arm64/boot/dts/rockchip/rk356x-base.dtsi     |  9 +++++++++
 2 files changed, 24 insertions(+)
Signature · 1 line
2.49.0