Re: [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733
From: Alastair D'Silva
Date: Tue Dec 01 2026 - 16:21:36 EST
On Tue, 1 Dec 2026 07:50:34 -0300, Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx> wrote:
> The Allwinner A733 UART is a DesignWare APB UART, but it needs
> SoC-specific handling so the driver can avoid stopping its clock during
> termios changes.
>
> Add an A733-specific compatible, with "snps,dw-apb-uart" as the
> fallback.
>
> Signed-off-by: Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx>
> Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Reviewed-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
> Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>
> ---
> v3: send the binding on its own, as Andre suggested. The patch is
> unchanged from v2 3/4 and carries the tags given there. The driver
> patches wait for James's divisor fix [1].
>
> v2: https://lore.kernel.org/all/cover.1792439398.git.vinicius.eduardo.pedrosa@xxxxxxxxx/
> [1] https://lore.kernel.org/all/20261027-submit-serial-8250-dw-divisor-v1-v4-1-41714a75e15a@xxxxxxxxx/
>
> Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> index e2ca126d58ba..532392dd54cf 100644
> --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
> @@ -60,6 +60,7 @@ properties:
> - const: renesas,rzn1-uart
> - items:
> - enum:
> + - allwinner,sun60i-a733-uart
> - anlogic,dr1v90-uart
> - brcm,bcm11351-dw-apb-uart
> - brcm,bcm21664-dw-apb-uart
> --
> 2.43.0
>
Tested on Xunlong OrangePi 4 Pro V1.3.2 (Allwinner A733) using the
"allwinner,sun60i-a733-uart" compatible on UART0 (2500000.serial, ttyS0):
- Transferred 2,096,508 bytes over ttyS0 at 115200 baud with echo enabled
and verified an exact CRC32 match (97c6ee5d) on the board.
Tested-by: Alastair D'Silva <alastair@xxxxxxxxxxx> # OrangePi 4 Pro