From: sashiko-bot@kernel.org
To: "James Hilliard" <james.hilliard1@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH v6 4/8] serial: 8250_dw: configure the Allwinner H616 UART
Date: Mon, 02 Nov 2026 20:18:34 +0000 [thread overview]
Message-ID: <sashiko-outbox-194089@kernel.org> (raw)
In-Reply-To: <20261102-submit-h616-uart-fifo-v1-v6-4-25afcb346b0c@gmail.com>
> H616 has 256-byte transmit and receive FIFOs, but its optional DesignWare
> component parameter register reads as zero. Generic 16550 probing leaves
> the port using the 16-byte FIFO configuration and its trigger-level table.
>
> Keep PORT_16550A and supply H616's fixed FIFO depth through platform data.
> The 8250 core derives the transmit load from that depth.
>
> Allwinner encodes receive thresholds relative to the FIFO depth: one byte,
> quarter-full, half-full and depth minus two. Construct the RX trigger
> threshold array on the fly so other FIFO sizes can reuse the same mapping.
> For H616 the thresholds are 1, 64, 128 and 254 bytes, with the normal
> half-full FCR setting selecting 128 bytes. Use this array for both RX
> trigger callbacks and the shared bytes-to-FCR conversion.
>
> Serialize trigger changes with termios through the port mutex. Hold a
> [ ... ]
> Keep the UART clock enabled during termios changes with SKIP_SET_RATE.
> Its clock is a gate on the shared APB2 source rather than an independent
> baud-rate generator.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261102-submit-h616-uart-fifo-v1-v6-0-25afcb346b0c@gmail.com?part=4
next prev parent reply other threads:[~2026-11-02 20:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 19:55 [PATCH v6 0/8] serial: 8250_dw: describe the Allwinner H616 and A523 UART configurations James Hilliard
2026-11-02 19:55 ` [PATCH v6 1/8] serial: 8250_dw: select port setup through platform data James Hilliard
2026-11-02 20:04 ` sashiko-bot
2026-11-03 11:43 ` Andy Shevchenko
2026-11-02 19:55 ` [PATCH v6 2/8] serial: 8250: share the RX trigger conversion helper James Hilliard
2026-11-02 20:07 ` sashiko-bot
2026-11-03 11:46 ` Andy Shevchenko
2026-11-02 19:55 ` [PATCH v6 3/8] dt-bindings: serial: snps-dw-apb-uart: add Allwinner H616 James Hilliard
2026-11-02 20:08 ` sashiko-bot
2026-11-02 19:55 ` [PATCH v6 4/8] serial: 8250_dw: configure the Allwinner H616 UART James Hilliard
2026-11-02 20:18 ` sashiko-bot [this message]
2026-11-03 12:03 ` Andy Shevchenko
2026-11-02 19:55 ` [PATCH v6 5/8] arm64: dts: allwinner: h616: describe the UART integration James Hilliard
2026-11-02 20:22 ` sashiko-bot
2026-11-02 19:55 ` [PATCH v6 6/8] dt-bindings: serial: snps-dw-apb-uart: add Allwinner A523 James Hilliard
2026-11-02 20:26 ` sashiko-bot
2026-11-02 19:55 ` [PATCH v6 7/8] serial: 8250_dw: discover Allwinner A523 FIFO depths through FCC James Hilliard
2026-11-02 20:29 ` sashiko-bot
2026-11-03 12:09 ` Andy Shevchenko
2026-11-02 19:55 ` [PATCH v6 8/8] arm64: dts: allwinner: a523: describe the UART integration James Hilliard
2026-11-02 20:33 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-194089@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=james.hilliard1@gmail.com \
--cc=linux-serial@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.