| Message ID | 20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com (mailing list archive) |
|---|---|
| Headers |
Return-Path: <linux-sunxi+bounces-26814-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mxe881.netcup.net (Postfix) with ESMTPS id 4EF9A1C097F
for <noreply@patchwork.local>; Fri, 23 Oct 2026 09:35:46 +0200 (CEST)
Authentication-Results: mxe881;
dkim=pass header.d=gmail.com;
spf=pass (sender IP is 172.105.105.114)
smtp.mailfrom=linux-sunxi+bounces-26814-noreply=patchwork.local@lists.linux.dev
smtp.helo=tor.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.105.105.114 as permitted sender) client-ip=172.105.105.114;
envelope-from=linux-sunxi+bounces-26814-noreply=patchwork.local@lists.linux.dev;
helo=tor.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id CED282B653
for <noreply@patchwork.local>; Fri, 23 Oct 2026 07:33:56 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792740835;
b=Gv9XXhzCMn+UamEsaz96pnC9NSPRBzt9DQRGVxJ2kRiU9ybodnZhKALR7o5iyi0/7bdN
se7gNr23i80wf/bVE1PxntiUbM40Az28SnC3O62xzlzYe1b0WILNspYQvZZK1i/1IGiHm
PGQn39F5bfihuhkpXmJGKfO8ZhtR8q92XChhqaxSgmntipgjnK2SuCZJpHtCdZsorr2mR
29tOj3B2Zzt7MVnzLVGTYenRveqm0bOWlg5CZFzAVmZkIVlLowgy5kM8PVpkG0tbu2/Bx
1RSWGAmmO8IpuM35n+N4jmOk8TQLDZVJMV0DmAVG+CAtMVV+CiH3+8kIH7UFDRlEc/g==
ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792740835;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:Subject:Date:Message-Id:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer;
bh=45to1KyNca3iZWz1ynFCrLebqSO0Gkuz8FnFEnoX6Vo=;
b=Hw0CqREJL3bIBY6smMwnwUsHjUnzarNis0QmuPtfevaUoZnoe1jRM2Qh2kpmvbxEW6up
a2EUAYaHJ6iIgP61LZc/kFWEffl7X+Qai8CknEc9Rp6NRqv02kl5vJKnMMtRFIex0LsNu
8AqEKpF04ID4F7bbJCO0TCRUQTmt6z0DRLJN/NNhiYVz6r9BKMEy9/H6TW4H99ZyR4lWW
8hWgu+OBjBZlRYPDW2Q4OTzl0cvtDI7qmRSWYza2T2/peZxvXHGDbpylUUUBvZ7hwEBgY
mqLJr1sO6s4va4cORgqvELxV3r/fl9p5yl3VQ3ZhtqOidCdw3Uc48fvyC+Guk/oez5w==
ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256
header.s=20251104 header.b=biYQRnJK;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 177A5606A31F;
Fri, 23 Oct 2026 07:33:55 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key,
unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256
header.s=20251104 header.b=biYQRnJK
X-Original-To: linux-sunxi@lists.linux.dev
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.remote-ip=209.85.167.172
ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792740835;
b=ucZNmHaZVVV2+OyyVFl7dKSPdWT3UbqRAQRFoW+YRKAv41nvmK7vBvcBafuqcoOdcxh2
QUfzTOanU4E5syM1Fu3/dLHEAZQ2hsTZpwK9q/xshxwXP+KQ9Ykl+leGIJHdDNDa/tl3y
1zoNWc5J2GqftBi0FYutsbeF1bYdKaG4gBBZzwmwo6HkUcNoUQOVuXOQYZ2KN4NvNYrDX
t7B40vhXogod2U+yzOgMur/eTWYGKzWEKnVWnRjkvAR7sgEcWUDcNcx/3jeMrTR38Gv83
o2pug4+Gzy+9kt15VJK+Kab/YvTNE4Whx+PIudQVlEz0cBMmEn3oEm90igP97s3jIHQ==
ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792740835;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:Subject:Date:Message-Id:MIME-Version:Content-Type:
Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer;
bh=45to1KyNca3iZWz1ynFCrLebqSO0Gkuz8FnFEnoX6Vo=;
b=PokacIDn+pTNsNiCHQVGXLxiBgCCkpVN8kPiHjDp79g6fGZEDR6U/+o/BpcysDECexuM
xrBZwMhSOfQyP5t1r8etFaf0Y4FFxH+HUlF6otwQzWlfmb+XNPXhZ9vThw4XekMng93Zr
pXP6KGIgyGTHU9rYF9cg07wLbDIxdrrDlL8Din0XqirMVay3pfJP0yuKMPpSYdRwUqacs
eO+/7EkfDgybNhofi2Asd47mqiuLYkTPNhqRoOh9eL02QY3/F1+UKAdPtmarulkVpoLKF
Lowo4e4dV+rf4uLauyWuNZi2KZ1YbkYYnbFxRI0gkmf41HWSSD6hDfKMtcH5MC/huIQ==
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256
header.s=20251104 header.b=biYQRnJK;
arc=none smtp.remote-ip=209.85.167.172
Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com
[209.85.167.172])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest
SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D5DC606A31A
for <linux-sunxi@lists.linux.dev>; Fri, 23 Oct 2026 07:33:54 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9D5DC606A31A
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=gmail.com
Received: by mail-oi1-f172.google.com with SMTP id
5614622812f47-51f2e9e6987so968060b6e.1
for <linux-sunxi@lists.linux.dev>;
Fri, 23 Oct 2026 00:33:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792740833; x=1793345633;
darn=lists.linux.dev;
h=cc:to:content-transfer-encoding:content-type:mime-version
:message-id:date:subject:from:from:to:cc:subject:date:message-id
:reply-to:content-type;
bh=45to1KyNca3iZWz1ynFCrLebqSO0Gkuz8FnFEnoX6Vo=;
b=biYQRnJKeQa/B9QFhufvWdZ4NHGX9EHj1TFpwE5kV7hJv2H6ASsa3v8VXtcO0FgbWR
zjhrVJOejmDv8HpmM8tg8OvuwIL+/lNoDqGsYZKg2OvxzkNOjW9qItWKnbpuWS5C2O38
m+tuMfsmGxup6qgA1pBD2uKVLHuY0qpOnaLzcr70xrctKf5hULL0y3kyXGZtmUVZvWk/
ziggnVY6W7+2Tzv0w90+/nM4ys6MOwfusjx2g71WpKHqQul19ks7ptgAxZceeMJj44NQ
I2qKbj75f8jl8GEKyZjQLooGsGjjCNH3cPsTfkpt7NAIuaqNX7DlzEAsrcweqt6R7uSa
Z4cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792740833; x=1793345633;
h=cc:to:content-transfer-encoding:content-type:mime-version
:message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=45to1KyNca3iZWz1ynFCrLebqSO0Gkuz8FnFEnoX6Vo=;
b=bX8bLAo4mVa9Nb/gJzR+k28UnNSllE2alttP0dtkO4vS2kFISoRI2HZS7kmjxhx3oi
HFIf0x8IqramQJxnVVog58PGNdY7AOKO/m7zopmTuzeaDQobJC8vZJmkGR+SY6qHkRaJ
PjKusuKarLGN8KK5TkCNUem5IHilY9waMnZp8YmUtBrzyRp+Kz514z+HhbQlu4CkpdUV
sKN6iL4TVyjmlc2BjFxuDKTf/SCaRrA6gNzOx1b83Fsvy+1chctljlC+4ImZYGkEBRr7
j3zYlFDZVP6MWMZtJ688J7LrDmu7WVZWkNFwQQy7qxK0sYTvXv0dV6d8UVN6iq9kNmvm
hPOQ==
X-Forwarded-Encrypted: i=1;
AKwUvBwzYFHM6+Lcr0h2bA0LB/K2ml6oAl5Z8X2p2noaum4/MrWnOsZ5yO1MCt9C26YbevGxCF1bHiSx+hu19A==@lists.linux.dev
X-Gm-Message-State: AFq9FYJVChGJvC73HpcNFi2YtZe22jwsu6Nc0XzLEz5TrqiZRwRmbDsZ
62nonlz1d8CJQ85cVlFJsfFExu/Gu71MqWty4zjBtwms0vZ96e2vvH3L
X-Gm-Gg: AYBFou0VkDBFA31JCbX3goCrCtddPdc6ecL2kSQiKVJffdn/ncvsY5RnAeuFDtZXoMA
H5f1cVr48w+Lao+AjjupBZl9wMEGzVZ6jgT//zDlwmilxkgHZRgwtNWV+oB2AjdAeQzSaELnqQC
6Sfx9eyh8aRJsfEAxizD5KTKF/lanbZz+aoJMnBMD79roJ0ncQr7FjyJkFfuuLQ23RPAEEScETM
yVZX7+xwsomNARtKV5wZP46S472Pqy3wmcrpVuiRfrsPAK0S3zm0rqaBZXaZ8H1E1l6tol8/5Lp
H8Qd2LWcAQ/kV1+3MaIBL61Bj+vMsdocWV3fIA2x41f+8KNRk/Zbd8xhjBj4/SldfkY3MzgI6Ga
WpDmblweHWkUzz89gswTOd8p5wX7f0M419MwEb578Zw7ydjocInKjO1Jd+NRRI4kMoZwTbABJ11
apbWYmh/+5tlE3AWSE+PRd7AQqLQO9QP5YNdOYPqZdtlSSVtFijjJzDQKWNeDs58nihfbpyg60I
dRMitfcLRHGqpfRsJsXAbCgtcgABtOvr2IrwDg/sRS6SPDZn8Spxvl8lizTtuImah+vezfr0MwF
GTumjjUqhM4j5b6wX8Zigk3077f9J9zB5tH8Klq3ZTe/94Jq5kmhhUyK48JBJX6H0WdRMSPZhVY
NO6UmYnVOSB9LB85++vBVRjeUt1gkBoDrG3v7UYHO1byLntIqpCCVjijDVryOEWl7g6ulVHeClN
FSqBU=
X-Received: by 2002:a05:6808:c1b6:b0:4f5:1b84:8cd3 with SMTP id
5614622812f47-557eb4799f4mr2769761b6e.24.1792740833602;
Fri, 23 Oct 2026 00:33:53 -0700 (PDT)
Received: from [127.0.1.1] (174-29-1-49.hlrn.qwest.net. [174.29.1.49])
by smtp.gmail.com with ESMTPSA id
5614622812f47-55be9880a99sm909562b6e.14.2026.10.23.00.33.51
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 23 Oct 2026 00:33:51 -0700 (PDT)
From: James Hilliard <james.hilliard1@gmail.com>
Subject: [PATCH 0/3] serial: 8250_dw: describe the Allwinner H616 UART
configuration
Date: Fri, 23 Oct 2026 01:33:48 -0600
Message-Id: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com>
X-Mailing-List: linux-sunxi@lists.linux.dev
List-Id: <linux-sunxi.lists.linux.dev>
List-Post: <mailto:linux-sunxi@lists.linux.dev>
List-Help: <mailto:linux-sunxi+help@lists.linux.dev>
List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev>
List-Owner: <mailto:linux-sunxi+owner@lists.linux.dev>
Precedence: list
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMQQqEMAxA0atI1gbagl14FXFRY6IZGJW2iiDe3
TqzfIv/L0gclRO01QWRD026LgW2roDmsEyMOhaDM85b4xymffhqxtlbj3uIGUVlxcMiNUFoFG5
oMFDyLbLo+Vt3/d+l/TDl9wf3/QBuxM/gfAAAAA==
X-Change-ID: 20261022-submit-h616-uart-fifo-v1-c5afcdfe5cb0
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>, =?utf-8?q?Ilpo_J=C3=A4?=
=?utf-8?q?rvinen?= <ilpo.jarvinen@linux.intel.com>,
Chen-Yu Tsai <wens@kernel.org>, Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, James Hilliard <james.hilliard1@gmail.com>
X-Mailer: b4 0.15.2
X-Rspamd-Server: rspamd-worker-8404
X-Spamd-Result: default: False [4.31 / 15.00];
RBL_SENDERSCORE(2.00)[172.105.105.114:from];
SUSPICIOUS_RECIPS(1.50)[];
DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed),
No valid DKIM,none];
MAILLIST(-0.18)[generic];
BAD_REP_POLICIES(0.10)[];
MIME_GOOD(-0.10)[text/plain];
HAS_LIST_UNSUB(-0.01)[];
TAGGED_RCPT(0.00)[dt];
FROM_HAS_DN(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2];
RCVD_VIA_SMTP_AUTH(0.00)[];
RCPT_COUNT_TWELVE(0.00)[16];
FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,gmail.com];
DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:helo,tor.lore.kernel.org:rdns];
FORGED_SENDER_MAILLIST(0.00)[];
RCVD_COUNT_FIVE(0.00)[6];
TAGGED_FROM(0.00)[bounces-26814-noreply=patchwork.local];
FROM_NEQ_ENVFROM(0.00)[jameshilliard1@gmail.com,linux-sunxi@lists.linux.dev];
FREEMAIL_FROM(0.00)[gmail.com];
R_SPF_ALLOW(0.00)[+ip4:172.105.105.114];
TO_DN_SOME(0.00)[];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.77.114.92:received,209.85.167.172:received,174.29.1.49:received];
ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG];
FREEMAIL_TO(0.00)[linuxfoundation.org,kernel.org,linux.intel.com,gmail.com,sholland.org];
MIME_TRACE(0.00)[0:+];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
MID_RHS_MATCH_FROM(0.00)[];
RCVD_TLS_LAST(0.00)[];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.105.105.114:from]
X-Rspamd-Queue-Id: 4EF9A1C097F
X-MORS-Enabled: yes
X-MORS-DOMAIN: patchwork.local
X-MORS-HOSTING: hosting172546
X-MORS-USER: hosting172546
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
serial: 8250_dw: describe the Allwinner H616 UART configuration
|
|
Message
James Hilliard
Oct. 23, 2026, 7:33 a.m. UTC
H616 has 256-byte UART FIFOs, but lacks the DesignWare component parameter
register used to discover their capacity. Its debug-divisor and RS485
registers also overlap offsets used to probe optional DesignWare features.
Add an H616 compatible and select a fixed port configuration with the
documented FIFO capacity and receive trigger levels. Preserve the
BUSY-safe integer divisor path and keep the UART gate enabled during
termios changes. Attach the existing 8250 DMA path using single-byte
peripheral bursts, with channel acquisition and PIO fallback handled
by the normal startup path.
The patches add the binding, driver configuration and SoC DTS compatible
in that order. Based on tty-next at 1184f87e2790.
Assisted-by: Codex:gpt-6-astra
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
James Hilliard (3):
dt-bindings: serial: snps-dw-apb-uart: add Allwinner H616
serial: 8250_dw: configure the Allwinner H616 UART
arm64: dts: allwinner: h616: identify the UART integration
.../bindings/serial/snps-dw-apb-uart.yaml | 1 +
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 12 +++---
drivers/tty/serial/8250/8250.h | 1 +
drivers/tty/serial/8250/8250_dw.c | 45 ++++++++++++++++++----
drivers/tty/serial/8250/8250_port.c | 8 ++++
5 files changed, 54 insertions(+), 13 deletions(-)
---
base-commit: 1184f87e2790e8af9be3116f608d2e86b4792d7d
change-id: 20261022-submit-h616-uart-fifo-v1-c5afcdfe5cb0
Best regards,
--
James Hilliard <james.hilliard1@gmail.com>