All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733
@ 2026-12-01 10:50 Vinicius Pedrosa
  2026-12-01 10:53 ` sashiko-bot
  2026-12-01 21:21 ` Alastair D'Silva
  0 siblings, 2 replies; 3+ messages in thread
From: Vinicius Pedrosa @ 2026-12-01 10:50 UTC (permalink / raw)
  To: linux-serial
  Cc: gregkh, jirislaby, robh, krzk+dt, conor+dt, andriy.shevchenko,
	ilpo.jarvinen, devicetree, linux-kernel, linux-sunxi,
	Andre Przywara, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Enzo Adriano, Conor Dooley, Alastair D'Silva

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@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
---
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@gmail.com/
[1] https://lore.kernel.org/all/20261027-submit-serial-8250-dw-divisor-v1-v4-1-41714a75e15a@gmail.com/

 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733
  2026-12-01 10:50 [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733 Vinicius Pedrosa
@ 2026-12-01 10:53 ` sashiko-bot
  2026-12-01 21:21 ` Alastair D'Silva
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-12-01 10:53 UTC (permalink / raw)
  To: Vinicius Pedrosa, linux-serial

> 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@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261201105034.19895-1-vinicius.eduardo.pedrosa@gmail.com?part=1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733
  2026-12-01 10:50 [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733 Vinicius Pedrosa
  2026-12-01 10:53 ` sashiko-bot
@ 2026-12-01 21:21 ` Alastair D'Silva
  1 sibling, 0 replies; 3+ messages in thread
From: Alastair D'Silva @ 2026-12-01 21:21 UTC (permalink / raw)
  To: Vinicius Pedrosa
  Cc: linux-serial, gregkh, jirislaby, robh, krzk+dt, conor+dt,
	andriy.shevchenko, ilpo.jarvinen, devicetree, linux-kernel,
	linux-sunxi, Andre Przywara, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Enzo Adriano, Conor Dooley, Alastair D'Silva

On Tue,  1 Dec 2026 07:50:34 -0300, Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com> 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@gmail.com>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
> ---
> 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@gmail.com/
> [1] https://lore.kernel.org/all/20261027-submit-serial-8250-dw-divisor-v1-v4-1-41714a75e15a@gmail.com/
>
>  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@d-silva.org> # OrangePi 4 Pro

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-01 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 10:50 [PATCH v3] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733 Vinicius Pedrosa
2026-12-01 10:53 ` sashiko-bot
2026-12-01 21:21 ` Alastair D'Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.