From patchwork Thu Oct 29 18:47:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 445 Return-Path: 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 9B1A01C081B for ; Thu, 29 Oct 2026 19:51:14 +0100 (CET) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-26960-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-26960-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 D764A2DF63 for ; Thu, 29 Oct 2026 18:47:37 +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=1793299654; b=hiI81rZbSbXGazQ6r+RDVL6GBWQANuw0+ZLOR+wr1uTIpNnZ/EbKDDbu7Xp6QqWR6Da2 40FJnPFA7uhyvkIYd/2SDgTD/Icane1Ytd+ZvzY34f94xsyl9VEHVYZ+VmarpGfeWmuu7 5vg0JsSXkVplqsogoAf1kVndvbzbskPtWBn1AMXirmQ3NZkLjCnVq5p0PeroRvgmJK7Qg uXaoZbJlZG/9Zj53UoU/xe8+PPequk9Qh9RWOCH2Z8UEHslEzBYoKC085eftK+WgN1xNj INUPqoHoDVa7LCU6kWd9GdD1kYb7rft2iacwtHTXeFMXj5iYqfu10Wb4Zn7lyXEWY9Q== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793299654; 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=TEabyGl5Fif5n7bh2NaQdC92feX3sIX7C9fNc4h7CgA=; b=OktZBcGubrhYDvr2PIpzde7X24kTZuPAdEEqvwVr94Jy0CvuvpjORVtulLk4VWEWHSAL o+i3nKOKhp3q6SPVNiqfuLLj9zCZ+AUJgkyT4rycpeTbdTD5bnEs2K+GdwaK+cUCRmAR1 I/47yFr4AqCSSQf72H5HINCnqh2aK971SNO75OAYEDS468cC0XQhhlo49bUG/GPJQQlyY YAbcoibofaOr30XNr9wCvG5l2AxYT3NgE4dLewq+G6oQoCCHVOOAJps5zi5EZHp+jViZD kkQd5kbr/bOx3jbOY2v3cISq1Yjild+ZqJZYj2AaRJ/QupGN1K5ShAsQUxHgEey/rcQ== 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=20260707 header.b=mLod4Aj8; 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 84BD9606A329; Thu, 29 Oct 2026 18:47:34 +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=20260707 header.b=mLod4Aj8 X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793299654; b=sHoMcin8mCM8lu90KbMYvQs7iVc8M787DDtXpTl/8BhDDmXHatPJ08WAVBc5QaJMnLw1 J6nhNN9dWR0PxbDO5fMQhNh0TIAK7sO5b/X2wukYgPC3yfxOUGQQObDODbC786aH8s4Uy nXvkQqXA8Qob7yq1m4DPlpT2OwLkqHlfVuXuX31au6XGv+yQ1YtvBxTdr1ADLKxnY7994 5RuFIjuhdKbD6hbiVCgyIzreEDOMmnULZeQuu/9UaNncJoUWS1ZIUxdtkMpzlYcyD+skM IxMG0kz87l+m8xG6o7LLIPNnUd49cCobzWXevkNi0kaujkZZFf1kiXtRMgMBAm/5qqQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793299654; 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=TEabyGl5Fif5n7bh2NaQdC92feX3sIX7C9fNc4h7CgA=; b=y8+rZ+pNxMaDBeSu43hD3k3W4t9HTsEX1KLvPH3aTPDLPLFNnZoEwU7xb6Yv9MgUMuRl JE6qVw58FDd+ZdiX8q9Tt4lGn4qO6PVkauwYzqft7gzBok+P5S+Cs63/eqcX6JcqeKkXd T36uqwvpht7hS+c4Udm/jHgDeby2nYiKWnIYyBjqZvkmjWUNjSfs9XJ7pkPtSIjA5K+It bMx++Od35xeNFm00Lw2FA/n8FUVR1rmIbv06m8t6qDE45Uusz+gffd2sZ3EEGSytzDnpf a5qJQJkSx7ayH4uAaYAT9F6nEVt19oHALHobKdcVLrzIJzOuAC7HC57BTvBgPl/+ogQ== 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=20260707 header.b=mLod4Aj8; arc=none smtp.remote-ip=209.85.210.42 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 19335606A320 for ; Thu, 29 Oct 2026 18:47:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 19335606A320 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-ot1-f42.google.com with SMTP id 46e09a7af769-8439fe796ebso1702098a34.3 for ; Thu, 29 Oct 2026 11:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793299652; x=1793904452; 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=TEabyGl5Fif5n7bh2NaQdC92feX3sIX7C9fNc4h7CgA=; b=mLod4Aj8aZgaTs1scqYWALmFlMYbpryypfa4ciYL1nxb7LoGvxISGG2dypAZPJaBMC zESoX6H9OLCGfRv7VNNTiP9B41qtJb5EkcORTGRY1n3IHnMi0EZdlZ1VPoGN4quBGO/r sGmC7ktHHLOBsIr1bk2g9wBFaFHYvrdw3elU1UOjJNH85P51+3eFyIb092E6hAKR9WWB Ftlekbt3BV94dONlUnCOgQ2ruh5+QvB5BIyzb2yQfoYR29l6I5dKhwopcMobfOuJDPn5 VfKNvqU4WE5tnIgWkRe461RLbVLli0BaKcH0dTjzGQl65y/GJlCCodpyLLJPlWnHTsia iQ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793299652; x=1793904452; 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=TEabyGl5Fif5n7bh2NaQdC92feX3sIX7C9fNc4h7CgA=; b=aOESwm4Z88T26K1A6NTb4MUa7Lic0hE/PcqNgIT6mP7huFqoqXWkBOmMddnybCTi1j lOfR+t2hhlnTth2i7MjBUuzqoRaLZAGbkAutpzE5pjY5xOl3qqjTAJENqMTAVSk2k62Q RlRbGFSrlrYwxZEq3iWqigfGeYSb0DvmXS0FjJqE7yqOZbgwI3ZVnYYq2jGA7vavbYcP H76Bvz+oxXNZ3COiZOivtcmLCBIkjIYOC/5ZhZYarT+edb8TYjCp7uX0wNavVD9IeHwa r7213mJEqYnPJgbLORYcY+cwA2Qbwn3Tso/zmmceKJqCOfY3+zQGwRygUeBhP6QL/VSd zVMQ== X-Forwarded-Encrypted: i=1; AKwUvBwQvV2CgUEqjbmCZxYx8mT1Hf6eNUXoNmh9OGZr9e0eHkcgVNRkWjgJOfo+sYjuYNMenws0ZunIO5xeNQ==@lists.linux.dev X-Gm-Message-State: AFq9FYJxCsHZV6KV1PJc8+HVAdlhkj3I+2F898ji2wPbG2q9U5Hwhhol +02lb0ok+BKvMnUD8z4Z6+jbWRSFulwDQnMCh202/YxWNK+fvFgBdMh6 X-Gm-Gg: AYBFou3tgz16dO8vUYNEb8yDaRZEE4r3qR2Q9hH5eG7erkVpCw5QLcbLPQsAiq+UyA9 SsK6wQA8uNr0TsjQGn8U5achhxT60BimsmDKta5K/bF9iJQBda7MgqCA9m/n656UMXZzsHGlUlz P9MBp+vpvV7fflpLNWdNThAUPoAnvQsLvZYuB+y9HNNvEt34/7+wS608QqLMqqGM4RqN8zeYSOy CIAOW8HykiFJ5TwVRL6ipJqMkY+SMGGsxVYlD5FVf2zzp8Qh/WeUTa5BaDHzx25NiVcmJXF8Bmw 0AkaK1xymIwrmllRxUUfGn114n+ujmDSQyDpB+J2Flcf960s/uZlnGeRYZ0jagzhqE0ydv6m116 CBN5II+z5oSSJ3P/QERhx0lzyC2ZWk9hSuglZtxS0xIk2fQPwm+81k/4uko7Lww8PveRO7I2yae DmCF6Qc1/5F+XOzhXDzjJ7MiYbH8pkZ/yevJBUvlYCB59eeoe5IedMjb8kJlxiALQDlBQkyfUDJ y3WPiU2GwpWykHsz+YKg5Y+9DSBSvxajQe4FqFKVQBhATSaCTIkN9s98ae2EYbIqmo2Wz34D3rj s5Zkb7ZcQVRjQrP+yKdK/8drLX9o4F9NMmiS3I3gb5PhXzehPzEdJLokKsNd8r8cDCD778FVWky KMNuo2qZd6rHNkV8pjGf+sEAEO7oHkz1iWUwRjaJXcWoPR2gOK7Fn/hFgURWWQAZnnm02WYVL8U z53e9M447s+tLboXyqNN2iMYxthdO5leGlXnBCYF9DYe6TVQy5yGE= X-Received: by 2002:a05:6830:25cc:b0:81f:6e05:c1aa with SMTP id 46e09a7af769-85d3657604bmr21613a34.18.1793299652493; Thu, 29 Oct 2026 11:47:32 -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 46e09a7af769-85d354cfb83sm221871a34.14.2026.10.29.11.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2026 11:47:32 -0700 (PDT) From: James Hilliard Subject: [PATCH v5 0/8] serial: 8250_dw: describe the Allwinner H616 and A523 UART configurations Date: Thu, 29 Oct 2026 12:47:21 -0600 Message-Id: <20261029-submit-h616-uart-fifo-v1-v5-0-53b433aebbf8@gmail.com> X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAAAAAAC/43S3UrDMBQH8FcpuTaS73RDxPeQXZykJ1ukXTXp6 mTs3U23iWW4IfTm0OR3/pyTA8mYImayrA4k4Rhz7Lel0A8V8RvYrpHGptREMGE4E4LmneviQDe GG7qDNNAQQ09HTr2G4JuA2jtGyvX3hCHuT/Tr6lyXu2/oh8mbTmxiHvr0deo98uncTxt5u035G EUF0gEKdFC/rDuI7aPvOzK1GcV/IVEgCEwvpGbKSH0NyTmk7kCyQKI2wXNXe+n5NaTmkL0DqQI 10iLjdWgYmDl0PI8w4ceuLGk4z5U4yEjL/wIuK+OU00oG4LXVViwseKsNmIAGjQqaGWdrpWCaf Yc5w2m7y+rpOtr0JqCltdAlzydtYnkXfbpE5FRxyxVYjVzDb8TnW6z6i037IcU1bWPAIXZ42Sy nVvISstGMyWZur47Hbz39dWOsAgAA X-Change-ID: 20261022-submit-h616-uart-fifo-v1-c5afcdfe5cb0 To: Andy Shevchenko , =?utf-8?q?Ilpo_J?= =?utf-8?q?=C3=A4rvinen?= , Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland 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 , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.19 / 15.00]; BAYES_HAM(-5.50)[100.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)[]; FORGED_SENDER_MAILLIST(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[dt]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,gmail.com,oss.qualcomm.com]; RCPT_COUNT_TWELVE(0.00)[17]; DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:helo,tor.lore.kernel.org:rdns]; FROM_NEQ_ENVFROM(0.00)[jameshilliard1@gmail.com,linux-sunxi@lists.linux.dev]; TAGGED_FROM(0.00)[bounces-26960-noreply=patchwork.local]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114]; TO_DN_SOME(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.105.105.114:from]; ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG]; FREEMAIL_TO(0.00)[linux.intel.com,linuxfoundation.org,kernel.org,gmail.com,sholland.org]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 9B1A01C081B X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: INBOX Allwinner UARTs use FIFO-relative receive thresholds and an optional register layout that differs from the generic DesignWare integration. Describe the H616 and A523 integrations through dedicated compatibles and common sunxi setup helpers. H616 has fixed 256-byte FIFOs without a readable FIFO-depth register. A523, A527 and T527 have different depths across their UARTs and report each port's depth in the FIFO Clock Control register. Use a fixed platform-data depth when provided, otherwise read FCC in the sunxi setup callback. Derive the transmit load and receive-trigger table from that depth. This keeps one implementation of the common 1-byte, quarter-full, half-full and depth-minus-two mapping for both fixed-depth and runtime-discovered ports. Keep PORT_16550A, configure automatic flow control, preserve BUSY-safe integer divisor programming and keep the UART clock gate enabled during termios changes. The sunxi setup uses PIO. The series first introduces platform setup callbacks and a shared RX trigger conversion helper, then adds the binding, driver and SoC DTS changes for each integration. Based on tty-next at 6b4b543fa187 with the posted RX trigger callback-lifetime fix [0] and DW BUSY-safe divisor fix v4 [1]. Platform setup runs before installing the BUSY-safe divisor setter. [0] https://lore.kernel.org/r/20261024-submit-serial-8250-rxtrig-lifetime-v1-v1-1-731b78d5003d@gmail.com [1] https://lore.kernel.org/r/20261027-submit-serial-8250-dw-divisor-v1-v4-1-41714a75e15a@gmail.com Assisted-by: Codex:gpt-6-astra Signed-off-by: James Hilliard --- Changes in v5: - Reject FIFO depths that cannot produce positive, byte-sized RX trigger thresholds, report the invalid size and propagate setup errors to probe. - Add the A523 UART compatible and use it for the shared CPUX UART nodes, including those inherited by the A527 and T527 boards. - Read the FIFO depth from FCC when sunxi platform data has no fixed depth, preserving the fixed H616 configuration and FCC clock controls. - Explain why the per-port trigger table is derived from the FIFO depth; use the same sunxi helper for the FCC-discovered A523-family ports. - Move the shared RX trigger conversion helper into 8250_port.c and export it, following Ilpo's review; retain Andy's review tags. - Use FIELD_PREP() and an intermediate trigger value when building the sunxi table, following Ilpo's review. - Select the DMA setup helper directly for the 64-bit-only Octeon platform and match the single-line comment style, following Andy's review. - Carry Krzysztof's Acked-by for the unchanged H616 binding addition. - Link to v4: https://patch.msgid.link/20261027-submit-h616-uart-fifo-v1-v4-0-d37e018fd0a6@gmail.com Changes in v4: - Introduce common Allwinner setup helpers with the fixed FIFO depth supplied by compatible-specific platform data. - Rebase onto tty-next at 6b4b543fa187 and the posted DW divisor v4 fix, installing the BUSY-safe setter after platform setup. - Use an early return for FIFO-less DMA setup, following Andy's review. - Default to generic setup when platform data has no setup callback. - Select Octeon's optional-register discovery with IS_ENABLED() in its setup helper, preserving the existing 32-bit and 64-bit behavior. - Extract the shared 8250 bytes-to-FCR conversion, including the unsupported-table check, into a preparatory patch and use it for H616, following Andy's review. - Set the fixed 256-byte FIFO depth in H616 platform data and omit fifo-size from its binding and DTS, following Krzysztof's review. - Precompute the Allwinner RX thresholds during setup and retain the sunxi FIFO-depth helper for filling the table. Use named FCR encodings in the helper, following Jiri's review. - Share threshold-table initialization and callback assignment through a sunxi RX trigger setup helper. - Group and comment the H616 trigger and RS485 setup. - Link to v3: https://patch.msgid.link/20261024-submit-h616-uart-fifo-v1-v3-0-286fc1b8c3c1@gmail.com Changes in v3: - Introduce a platform-data setup callback in a preparatory patch, replacing skip_autocfg and preserving the existing Octeon setup. - Describe each H616 UART's FIFO capacity with the standard fifo-size DT property and use the value already read by uart_read_port_properties(). - Derive the Allwinner RX trigger thresholds from the FIFO depth. - Use an unsigned trigger index and conditional runtime PM guard, preserving error propagation when the device cannot resume. - Rebase onto tty-next, replacing the earlier DMA prerequisites with the posted RX trigger callback-lifetime fix. - Separate DMA enablement into follow-up work, retaining PIO operation for the H616 FIFO configuration. - Link to v2: https://lore.kernel.org/r/20261023-submit-h616-uart-fifo-v1-v2-0-af0593504635@gmail.com Changes in v2: - Keep PORT_16550A and set the FIFO size, transmit load and capabilities during setup, following Andy's review. - Select H616 setup through the matched platform-data pointer and remove the type and DMA burst-size platform-data members. - Use get_rxtrig/set_rxtrig for the 1/64/128/254-byte receive thresholds, with port locking and runtime PM around register updates. Keep the standard half-full FCR default, selecting 128 bytes on H616. - Advertise UART_CAP_AFE so CRTSCTS enables hardware automatic flow control. - Rebase onto next-20261023 and declare the posted sun6i pause/lifetime fixes and their prerequisites for DMA enablement. - Link to v1: https://lore.kernel.org/r/20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com To: Andy Shevchenko To: Ilpo Järvinen To: Greg Kroah-Hartman To: Jiri Slaby To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Chen-Yu Tsai To: Jernej Skrabec To: Samuel Holland Cc: linux-kernel@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@lists.linux.dev --- James Hilliard (8): serial: 8250_dw: select port setup through platform data serial: 8250: share the RX trigger conversion helper dt-bindings: serial: snps-dw-apb-uart: add Allwinner H616 serial: 8250_dw: configure the Allwinner H616 UART arm64: dts: allwinner: h616: describe the UART integration dt-bindings: serial: snps-dw-apb-uart: add Allwinner A523 serial: 8250_dw: discover Allwinner A523 FIFO depths through FCC arm64: dts: allwinner: a523: describe the UART integration .../bindings/serial/snps-dw-apb-uart.yaml | 2 + arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 12 +- arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 16 +- drivers/tty/serial/8250/8250.h | 2 + drivers/tty/serial/8250/8250_dw.c | 162 +++++++++++++++++++-- drivers/tty/serial/8250/8250_port.c | 21 ++- 6 files changed, 182 insertions(+), 33 deletions(-) --- base-commit: 6b4b543fa18757297ac756a6fe6e64f506b7844a change-id: 20261022-submit-h616-uart-fifo-v1-c5afcdfe5cb0 prerequisite-message-id: <20261027-submit-serial-8250-dw-divisor-v1-v4-1-41714a75e15a@gmail.com> prerequisite-patch-id: d8219673210dac82d3adab41578ff2f76f5862c9 prerequisite-message-id: <20261024-submit-serial-8250-rxtrig-lifetime-v1-v1-1-731b78d5003d@gmail.com> prerequisite-patch-id: 9a9395c715c2bf7bbcae5bdd16a339d7f2af6269 Best regards, -- James Hilliard