From patchwork Fri Oct 23 07:33:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 3701 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 D5A521C097F for ; Fri, 23 Oct 2026 09:36:18 +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-26815-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-26815-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 43CC82CB1C for ; Fri, 23 Oct 2026 07:34:02 +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=1792740841; b=HCYL+VaanoQ/vbFra5gteMgfSgnabmy4UxeA2fXfKty75X+6McG0v3dLuuTk1QWIj/Px AXRsH1DBJ+uHh6awjV/Ib/OSVdjwYJIthXQmmWFoeVxh82peaZbkO4zpcDWfH3UVBUULJ LHbOKxgbZZf/MJU0jdptnM42Hieo2OHSwZSrcte8zOJO+glxrRTk5dE2KSVxFKuCNQKuI 6pI4B/AXLFSAE8VxgFyoQTcyrORUjN2wwdy+5hzQZo+bGx9CChz2aV+K/l6SxZeDJGfj/ AAeGVNcuZrZBNdIE/gGto8glFgH4jafJD1cZy3A46ZXCtRF6UmognZuEqPeaNscGCzQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740841; 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:Date:Subject:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=me6u6Bbs0ItISJiR06k4tVQKPfQkaZ0ZoYAv0UWBdnk=; b=433zmR2b3D7Uz0SwwGqvua1gvmLIoAlmuuuSNUyudMGcA5lQdCFcmXvc57uwzUvcUz6w UUvmfM3eF5YadYcMH8wjfPWlCkydi4eFunNspEyq3IK9e/wBXTWB239tMz/66vJGU+Glm PYK2UNrdH7Dq6RtcPvk0YaVoISBlV+YAMDfipMGIikEUYWtQVk9icwASLCXbwAVSmHCP9 IzobpTKRaEXpOnryXEdgxB7v7NUaOrIHXqiRCS4VcN3hJ/qTHwM895fkMA7j4PzadsuEW 8UWfKR3Cd7Lpl9CyddafxjVeG1ZD9kV86sXFvIOMFXbYldDJtPHAG3EBWQL1jtIZB3g== 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=KhUIps5e; 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 98EC7606A328; Fri, 23 Oct 2026 07:34:01 +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=KhUIps5e X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792740841; b=QopelODdvCV4VUbfrnzxXHAUgoA6wIEd4cqXO2SKGT0vrqLXTcBt7gEWhf2wsLKhORBB 40DapJL9MzcZfZTScf2vscX7Nc/h19R9ecMb6kKL+6ZbB72Q7WJfDGpR7isEz5iDe18Yu h3+8l84HwLe9pQ/isVad2Dr8CpYDdvpCtrCP0dCPa9MyrIyiT1MjtjBVUWR4sSr0FWdCl 9pEcrthBE8WMJ7piaq7tKp3TM7eZ888toycHeecTZ/dFuM+AknpCMREYq9lkhwhmFFjUV GKgjgADYb/L5LMS79Ake/xHuOpxSGWbR8nWXLb5y5QzRPszQZfpNBgnrWEVezIJsU9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740841; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=me6u6Bbs0ItISJiR06k4tVQKPfQkaZ0ZoYAv0UWBdnk=; b=Q87suQgtSTJ1aaYho0ySdlCz4h0evpvY4iJT6ND49ulzmCPa+exFb4v8BaOxyFl9/EFr VXbtfrP7lEpul7EYFbC5zJi3kBCbslVXI4iyllJzkgnMO+d709unT+YHfz1e2xRxWDSiR rWCS0HyrV1GAjEX7Cc1RmilwTfzKDNE1gR1ct5WGC+qTRZTLmst0IKoeIRG2fVuJofcin gBofek3NtFFkVhKQYcEuPBOnjsOK+s0zePPcseBq3rhe69YqLkhurR+Ty4RzWJS/fX3rF 4MvgnwGUhQIlaJf4/ZBmchixy6q7tQB7UERkWkCiRYpBJuXo37a/fWCClVJDha9ziHg== 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=KhUIps5e; arc=none smtp.remote-ip=209.85.210.53 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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 7889F606A31B for ; Fri, 23 Oct 2026 07:34:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7889F606A31B 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-f53.google.com with SMTP id 46e09a7af769-81ae6aefdceso531732a34.0 for ; Fri, 23 Oct 2026 00:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792740839; x=1793345639; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=me6u6Bbs0ItISJiR06k4tVQKPfQkaZ0ZoYAv0UWBdnk=; b=KhUIps5e3liRb7q9Jqo/G7jJsnfrpWSNCoo5jdoTnz28aVlnwVJplTB4pM/Ye4IZqt 2gcQADvQ8+aouj52FUU58sXVyc08XsKMWxO7Rr4LhYjnPO/UUc5S+9xmwgjmwSXrwCSR OcJJ8qZfvdAJnPOREj0qIOIObV1OfgBnqnGgCfOxzQgGDsHqgvwbPDklx/BtQl9g6sxA gmVQ3evUdGgxq3saPb/DTURL/Tfjkp95lKXL+6KmDeF9+lyT3VhxdJ/+SDVrS6UlwuA5 TLelq+8XAwEeFPHZhIpc8KzA6MywXLTzFkNx1UV5T5U/RzMvbrGQBZLw5YbEbFm6rvbU GvOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792740839; x=1793345639; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=me6u6Bbs0ItISJiR06k4tVQKPfQkaZ0ZoYAv0UWBdnk=; b=Pjm8Kq7Tb96t5lSwFzfXlH6r4DlNsrCukTuJ/4x13WjSWkR8gtoxYIY+dV5L/6my1N WwA6FPwYunhMR4KnlOP4uJyaVE4W+bpQhT+uNLnT5ZS0n+7YMD8TRUIsdYb34aSacdJ2 OtCLbJ4KQYwiUSgHwzNWY+iVM7GtFDEo5k2Ufg5MEkHpt6S7LA181OYpfIMrvPT5M7ue sgveM+bhrIGb0xepC+GDQpDqUkDL9k+3mrVhrpKqfDObyte/Zo/3w6/h8FBCXWuVqlAk HgC9AIEdeXUO+8/+NfQnDmhrb4xXqt6IG63DBOxGax1KetVmm7DWTOHVAerCbLQBBZCY FaHQ== X-Forwarded-Encrypted: i=1; AKwUvBxx8wPl3YHAvg6cdNgniizSjEztPn2/WQ7nYsJ3LyYtfJ0DNnODPLzdpAWpuAqHgbEOKTnck+yj8gVkSg==@lists.linux.dev X-Gm-Message-State: AFq9FYJ09Rq2VA3/fCAN0ss+TEmV5X0MAUK18ZS+bKb5Ynk9U8168ygH mzUrBVUfIIjuVvAEM7g8jyP44hsKtbOS3fTyzvZBdJrgQpsU2LM6t0im X-Gm-Gg: AYBFou3KxNII5TqnsN9hLjI9sXcZCY2GgMf3WJ6qAx05BjhiOsV9RfhmeF9LqueHGZm 4AXwV9bn5Hqd1YnvWaTRBqFSBhL+VG4DqTiZsDPzk+z+TJZjs9hQUb+eesQZqQJzr3rfe6dwtRZ SdazK14//9fztGLirfllwDdUcNWJ92jGKmVZoux5LHEL3A8AGFWLJdpgz8inDZK3ezI8oZ5MdiP dJqZ9kIulhCDGmzHSmNYgQBYtt0E1wlfcKUzHDoSEEUqpyftNpQiL5w0MOoUPfvAEIU/hmtHCvZ Be2yGLnC+5kf8ZEYU8Ut+Qg3E28NdrJ3wLkVcyMelxWVk6DHxGRT3LoOhBoot2uol/yqvKrrBB7 cNPpj54MjXf3vbfX3KoKQ8tN9D11+FCwob/DTKe5qBhYnPLsRRR7Ef+ey/8xni6HweDEf/B6hEj 0HcVFVmo4bMLNeNm85apiBqYYGXvJNO952hC+k3UIWjcVF2Zd3vKnrFQyChfwPAR9qOsEYwj2Rx /B+1FKf5Pn49IGZzY7PDv9Dx4CYCqocp3Lv8WNlRT4jPnbW/DXqr5zXtPZjZOwPsn/uuQglj9O3 vaaueOfsqF6azDfJqdhIxPB55VTKlnZawpt740506drdoWHXBFvzpwjnDXU1ZPzhl1FK7wYw1qp cGmdNCm/7ZYaByz0MtuCQHfaQnBwBh8DGp2uggla9327CTk1ocPnVcsjIdkozz4qPvr/1693ilM k3hPI= X-Received: by 2002:a05:6808:16a8:b0:4d5:27da:a496 with SMTP id 5614622812f47-55be873584emr874475b6e.48.1792740839404; Fri, 23 Oct 2026 00:33:59 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2026 00:33:54 -0700 (PDT) From: James Hilliard Date: Fri, 23 Oct 2026 01:33:49 -0600 Subject: [PATCH 1/3] dt-bindings: serial: snps-dw-apb-uart: add Allwinner H616 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 Message-Id: <20261023-submit-h616-uart-fifo-v1-v1-1-e4a3bae2eba8@gmail.com> References: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> In-Reply-To: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko , =?utf-8?q?Ilpo_J=C3=A4?= =?utf-8?q?rvinen?= , 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 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-26815-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)[209.85.210.53:received,174.29.1.49:received,100.77.114.92: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: D5A521C097F 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?= The Allwinner H616 UART has 256-byte FIFOs but does not implement the DesignWare component parameter register used to discover their size. Add a compatible to identify this integration and its fixed FIFO configuration. Retain snps,dw-apb-uart as a fallback. Signed-off-by: James Hilliard --- 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..fc1289073241 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,sun50i-h616-uart - anlogic,dr1v90-uart - brcm,bcm11351-dw-apb-uart - brcm,bcm21664-dw-apb-uart From patchwork Fri Oct 23 07:33:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 3702 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 7FF481C0982 for ; Fri, 23 Oct 2026 09:36:26 +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-26816-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-26816-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 28AFC2D0A0 for ; Fri, 23 Oct 2026 07:34:03 +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=1792740842; b=fwYEUmTn6QkWk2DelLFuXXB/DpcVkUqx8U7LDD5P/eVAeYaTzYxRp18hA10VvjYIMzUs 7fQMSXfapt+P7rDgpRYu3APVfZI4mJ8xkBtjvmo0yg6WOqTm3btLyJL1KIyOVqLnR9BO6 hCGiGmSJn/xRhHKWIOpIQZYq1/Q6OqqGDohjee41KIph3Y4y7oLVrU8qOqkWuhsWuZDGI +5MbMNeW9OE5FNZ+rP/flD5a4H9zw1SfE2RkJ6/S9rdFZRdRGCWdLBpj6us62lUGM5FMp a9vEC22bjS3y72O6YOfn/r91+XxowGGLnqTluHhm+MTEYjCWrD3IKSNMXkuqKiWGPTw== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740842; 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:Date:Subject:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=TUS+mnADfjPLb/Tu910BRKa7Osyhu7sawMFZwcFgbOg=; b=XvvvbEgYcv2wscVn6BIO/SYcRbqaGKBU3aBe7B7BngMxtcL4GkNLNHbGHoJJ5EqvIr8q jz9R9tUCwZucNh4YofE7V4RTLsDZ8eqf0oRddSb2ha8HFDooYr5pEDrVF4OFnPENevdyH qcyRkgE4El4uiW3Et2LcGRh9XywhFFIYooKMCdoRdkqswlS/PCPKqwf1NjNHYQXB6NPtm Ik4rToXXNN0DKXp0GJ8zUCCDg+C5XqbvA8DYmyx3lECBALZ2UpMWGM1ABdgQ0bC9+NGjF AC5dVYeGu0rI82+uOi04WXGMwf6oXTXAgSJ3/CJ4ccQ4jlEvMYslZ3jnK+beX+Er3pg== 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=KZ1Ex9Uu; 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 48C8A606A32A; Fri, 23 Oct 2026 07:34:02 +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=KZ1Ex9Uu X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.177 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792740842; b=5cZqxXQBiISNmt8xy9MdoO7bDlZb+b8pFUYpswQ8qmwynKEaw+xjVlf7uslB2Hy7rm0Z IR0VOZcjpcENF+fe+5ITZc9EnGPbObFREjVRhlVIVLrMNZsGemWupXOd/yqAQRFnspyuW BbzIy1utRf3Sk/zD5cFRQD5222P2zKlxsP3Wb8ql0YeHwzcYBYRERiGcBcLeFnKRY79d6 mU604qVlC3oCket02iAPGRalxfeAl4R4WDPBlgvOeEoT3Af1pltxMABuuRsvMtiLne/VP 16GvwgE3NClTJUdGBibCxnSRf3yUWPFySCA6EWIA5ZralBO7c6wSv0rXrVyZ6peir9w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740842; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=TUS+mnADfjPLb/Tu910BRKa7Osyhu7sawMFZwcFgbOg=; b=t9geLkcyMAzWME1w+yPXKHkO+tszNlvOD4kYhuf6C8huDXjn8OLvRE0a0rhASO4p509I 0eEHCpxHMR6ASMJkCXmOnhGSOEDsQCCzp7B82MpJWb6wZWsYJVxtNOo1mxg+uTVQi2LHp /UDXiGMIikp75u4gAPgpqlkIvuOxAbhPaxRzTCzW/39jbU91QA2tzvSPAL7M/Er7hM+4O RfhL0z+5mNhtFUWWEhZRy1eU+W97KtFi5wwYxDEfWIEJLZC7ou2ik4QLtoR7NokL343e5 ycrr5vcug2UOCFCVk+mzVVK2EBJ35ddd8N3EQ/Lbv+9Q3jCwdjLfASCC0xlVEkOAYrw== 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=KZ1Ex9Uu; arc=none smtp.remote-ip=209.85.167.177 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 D4910606A320 for ; Fri, 23 Oct 2026 07:34:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4910606A320 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-f177.google.com with SMTP id 5614622812f47-539a57a0b1fso254166b6e.2 for ; Fri, 23 Oct 2026 00:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792740841; x=1793345641; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TUS+mnADfjPLb/Tu910BRKa7Osyhu7sawMFZwcFgbOg=; b=KZ1Ex9UuATZl2GXwRPPig5KM6VCHSL5xGBJFQM0jQ2meOh3W8xvy0NIpl/Eb2eMiE6 QTOOU2JeTZO68X1APDVfpfr1+FZsCk/cSC+Czr0rsRGlf2hi/fCabHvrpEZImq+kVMGs LOpPEbfT+uzUJ2SkNEqv00ItLwRB0fJ9+QTMAZlisqwUMgBN8PXVuC3c5ZfCW+H2Iwmq NNiGgFBaz4vQqCS6Rzhi+vMUzfnd1GhzM3FPPE395UqzfXfJ2xarl3QT4IwZZkcgZj0s qsGCQ6ahaN/i943bE6clF0WarSGxE6sU4KML4o+p7SF/YN/FCZKaHzr3iR5aOCHNej/i NCnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792740841; x=1793345641; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=TUS+mnADfjPLb/Tu910BRKa7Osyhu7sawMFZwcFgbOg=; b=0Ohl5Fd4STNGMx02wa5HAjyGiyv/+ngUVj2TvxNWIvNnti1Sxc7NRXozbVBqcGZS54 d2A7UDTqsRmX79kFJZycqXMRkpXPAE/RX/WvlNtktirs91Tnxaz6f9VKOdRdbx5aTa1M BYVl83aAaaYYT5FTk4oTHn+u+DugszLhgiybjHHn3lfoVVNJgJ5Kuf13ESN7/xiITn51 IcpWwtxo+FdPY3qksZkal0mUpAs9esp+xsYDGwbOomeOoT29cZrTBXmR6rA9t8YdQOhJ AzbCOf1uJSj+UkMTNugoAbBAYIXS2F3CFhRlKsltOl5ztGsdr6IrZkq4WdKQ7iCtWQOk unoA== X-Forwarded-Encrypted: i=1; AKwUvByJXHDrml/DBqsB2aoi1I7EcOZ2n8BcSvSPQDgqwSfPXRbEQsFfxwLC8CkJzNBJ54/z3ypahSwbtrw61g==@lists.linux.dev X-Gm-Message-State: AFq9FYKPcC3yuXOwPd2SjbHCpeRJ5jXpQU2baJpcPuGh94zPTqbn66g6 cezm/fgoRsffogKQSBwFiUGPYeBOx2yVv4/yENS7/R740f1V+dEN0Iax X-Gm-Gg: AYBFou3045aNHQ1o3U8auJRcL+ZKeltWuitFzbnaQONZSsYg5TYea5k1WjPAwTc1t1e DNIKwnmuxmJe08NHZweSsLN+Cj4gZVbQZhsKrbS7ts7GhB1ETHfKvtZq70z7sZtUu148U63O4qb d5uxz3FmAz7MnGbjOiA66VCp0SJg9H5clWRImCyYGZUZYKpgNpNklZHSneomR5B7NCsmzIKJuNk hnj/nHMgc96DPY/aaaGq1NzGuNM+XfmIX3gEbbSn8yQOIDBGbsVJWHWPjcmY/rIEddVANI5eoiv SB1suapOgfsYP23ZjcrNst6yVyl/hUbB9DZG2jTLMCB4xpMlZazv2sKgBofhSJux/aSSLtkigXU lg7P268m/wqP6uSFzk+y7KAB87g9u1td48F3eQT/Ol446oGiulgFikXOyWrArl9240QSzHTj055 b1UxaMJwZXP/baJKbHk1ZdcznZhuJhSMUTIYOYibx/Sahq9iti2WrQ93jTAVzhmSkptVkuFjSa7 zQIws4DJMEiQAz8Szhj5QgihUNO9xjF8dKsI57z29e/hgpNttZtiYIuFi7wVWM1WR80xE4xJpag Opo+cAw6+YShl0LwceMMkL8X7qJpHhCaP0wgvmugG0AUiftCy3CQTcTey1P2t7gK/SNlq2nIoU5 yn3swqYwCAePLGtjdKJgXcSP+j97UzeBGfyxgh4rMBxcZ14R970TKT0iSnoelF6EgMy5QM6Ylkp CpnLM= X-Received: by 2002:a05:6808:6d93:b0:4d6:90f3:74ad with SMTP id 5614622812f47-55be82da8c2mr808701b6e.45.1792740840785; Fri, 23 Oct 2026 00:34:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2026 00:34:00 -0700 (PDT) From: James Hilliard Date: Fri, 23 Oct 2026 01:33:50 -0600 Subject: [PATCH 2/3] serial: 8250_dw: configure the Allwinner H616 UART 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 Message-Id: <20261023-submit-h616-uart-fifo-v1-v1-2-e4a3bae2eba8@gmail.com> References: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> In-Reply-To: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko , =?utf-8?q?Ilpo_J=C3=A4?= =?utf-8?q?rvinen?= , 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 X-Mailer: b4 0.15.2 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?= 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. DMA attachment also depends on a FIFO size being available during probe, so these ports do not reach the existing 8250 DMA path. Use a fixed port configuration for the H616 compatible, with a 256-byte transmit load and the documented receive thresholds of 1, 64, 128 and 254 bytes. Select the quarter-full receive trigger by default. Skip optional-register probing for this fixed configuration. H616 has debug-divisor and RS485 control registers at the offsets used to detect DesignWare hardware RS485 and fractional-divisor support. Probing these offsets writes unrelated registers and can select incompatible callbacks. Keep the BUSY-safe integer divisor hook and software RS485 handling. Use the existing SKIP_SET_RATE quirk to keep the UART clock enabled during termios changes. Its clock is a gate on the shared APB2 source, rather than an independent baud-rate generator. Attach DMA from the fixed configuration before registering the port. The 8250 core installs its FIFO defaults during registration, after the probe's FIFO-size test. Configure single-byte RX and TX bursts because the peripheral request can correspond to just one character. The existing startup path requests the firmware-described channels and falls back to PIO when they are unavailable or the port is a kernel console. Signed-off-by: James Hilliard --- drivers/tty/serial/8250/8250.h | 1 + drivers/tty/serial/8250/8250_dw.c | 45 +++++++++++++++++++++++++++++++------ drivers/tty/serial/8250/8250_port.c | 8 +++++++ 3 files changed, 47 insertions(+), 7 deletions(-) diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h index 21ed9c41b751..0f8c1b0b4a71 100644 --- a/drivers/tty/serial/8250/8250.h +++ b/drivers/tty/serial/8250/8250.h @@ -77,6 +77,7 @@ enum uart_port_type { /* Internal 8250 only */ UART_PORT_AIROHA = 124, UART_PORT_AIROHA_HS = 125, + UART_PORT_DW_APB_256 = 126, }; #define UART_CAP_FIFO BIT(8) /* UART has FIFO */ diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index eca02e8bd6d1..f03051740be0 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -63,6 +63,9 @@ struct dw8250_platform_data { u8 usr_reg; u32 cpr_value; + /* Use a fixed configuration instead of probing optional registers. */ + unsigned int type; + unsigned int dma_maxburst; unsigned int quirks; }; @@ -630,6 +633,18 @@ static void dw8250_shutdown(struct uart_port *port) d->no_int_count = 0; } +static void dw8250_setup_port_fixed(struct uart_8250_port *up, unsigned int type) +{ + struct uart_port *p = &up->port; + + p->type = type; + p->flags |= UPF_FIXED_TYPE; + p->rs485_config = serial8250_em485_config; + p->rs485_supported = serial8250_em485_supported; + up->rs485_start_tx = serial8250_em485_start_tx; + up->rs485_stop_tx = serial8250_em485_stop_tx; +} + static int dw8250_probe(struct platform_device *pdev) { struct uart_8250_port uart = {}, *up = &uart; @@ -765,14 +780,21 @@ static int dw8250_probe(struct platform_device *pdev) dw8250_setup_dma_filter(p, data); - if (!data->skip_autocfg) - dw8250_setup_port(p); - - /* If we have a valid fifosize, try hooking up DMA */ - if (p->fifosize) { - data->data.dma.rxconf.src_maxburst = p->fifosize / 4; - data->data.dma.txconf.dst_maxburst = p->fifosize / 4; + if (data->pdata && data->pdata->type) { + dw8250_setup_port_fixed(up, data->pdata->type); + data->data.dma.rxconf.src_maxburst = data->pdata->dma_maxburst; + data->data.dma.txconf.dst_maxburst = data->pdata->dma_maxburst; up->dma = &data->data.dma; + } else { + if (!data->skip_autocfg) + dw8250_setup_port(p); + + /* If we have a valid fifosize, try hooking up DMA */ + if (p->fifosize) { + data->data.dma.rxconf.src_maxburst = p->fifosize / 4; + data->data.dma.txconf.dst_maxburst = p->fifosize / 4; + up->dma = &data->data.dma; + } } data->data.uport = serial8250_register_8250_port(up); @@ -854,6 +876,14 @@ static const struct dw8250_platform_data dw8250_dw_apb = { .usr_reg = DW_UART_USR, }; +static const struct dw8250_platform_data dw8250_h616_data = { + .usr_reg = DW_UART_USR, + .type = UART_PORT_DW_APB_256, + /* A peripheral request can correspond to just one character. */ + .dma_maxburst = 1, + .quirks = DW_UART_QUIRK_SKIP_SET_RATE, +}; + static const struct dw8250_platform_data dw8250_octeon_3860_data = { .usr_reg = OCTEON_UART_USR, .quirks = DW_UART_QUIRK_OCTEON, @@ -904,6 +934,7 @@ static const struct dw8250_platform_data dw8250_tda54 = { static const struct of_device_id dw8250_of_match[] = { { .compatible = "snps,dw-apb-uart", .data = &dw8250_dw_apb }, + { .compatible = "allwinner,sun50i-h616-uart", .data = &dw8250_h616_data }, { .compatible = "cavium,octeon-3860-uart", .data = &dw8250_octeon_3860_data }, { .compatible = "marvell,armada-38x-uart", .data = &dw8250_armada_38x_data }, { .compatible = "renesas,rzn1-uart", .data = &dw8250_renesas_rzn1_data }, diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c index db066a42f61d..e99d35880a68 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c @@ -335,6 +335,14 @@ static const struct serial8250_config uart_config[] = { .rxtrig_bytes = {1, 4}, .flags = UART_CAP_FIFO, }, + [UART_PORT_DW_APB_256] = { + .name = "DW APB UART 256", + .fifo_size = 256, + .tx_loadsz = 256, + .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01, + .rxtrig_bytes = {1, 64, 128, 254}, + .flags = UART_CAP_FIFO | UART_CAP_NOTEMT, + }, }; /* Uart divisor latch read */ From patchwork Fri Oct 23 07:33:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 3700 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mxe881.netcup.net (Postfix) with ESMTPS id 193651C00FA for ; Fri, 23 Oct 2026 09:34:26 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.232.135.74) smtp.mailfrom=linux-sunxi+bounces-26817-noreply=patchwork.local@lists.linux.dev smtp.helo=sto.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.232.135.74 as permitted sender) client-ip=172.232.135.74; envelope-from=linux-sunxi+bounces-26817-noreply=patchwork.local@lists.linux.dev; helo=sto.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id AEA73606959 for ; Fri, 23 Oct 2026 07:34:09 +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=1792740844; b=wxiKGG+QB6wepKliUGas0hdPNRtDjPODhdW5SiBCGf4ZL2RIEGtv8TORbEkyvQfg86Kb cAazJI82cFsJG6Ao+5lMvbBmRGMrS84IIjJMAwoLYpjhDMJ4c9pCsJFmfQ5I6dwa0Tlpq gtDQfbixZJ/EoUI0fl7WYGw7/mtm9pnCUKAX6wgf6aKqmpMGihK6Nv+f5dyafhqTrDcDM ck8uAqGPvdrNBHWs+oBAKZnGs2689Bkbibja1JVCEoZgO//5t3LRTI/MNSCmQI8H+XYvs SiA0O9B4oLFdvnPGVS3Ngwwa1fFHWiSOw1fSu5Z3UY/N+IFbXxmM5P/KcEXA0E4chTA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740844; 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:Date:Subject:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=hMLYY/97Uq9CVtG7QdmP7izisduGXF/upTM7pDvQJmw=; b=A0JXOexYCLZ/j4dXX1OJ91PDkUgVAJOTuXS0VUI3ILmOImgTnYw/+l/jonhT8z6Szvl0 zUEQx7oios27x7vgbaFESKrmhwgCPusuG/ljqHHY2bmzuFj5LoK5/qR/xXzkF6snFBVGG CBlV3ln6tj1nljLWVtWNvoXQFrUm/QWRimfssw9p3uZoLKsWsPIqRjw7HkBnqzwSAbjZ7 8UfLKJEoGHqq6YQMfofzzo2mqXwe3fJ0xgXWR0nCesP+v1lMITP4pMrolIe4I3WyjjzyC hpmk6sTz7mwGalzgHolpmCHEN23CN5r6k06n9DT5B2ixHck+IPMuQSQmvWFihZaGjow== 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=kIat8fSr; 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 F1DAE606A326; Fri, 23 Oct 2026 07:34:03 +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=kIat8fSr 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=1792740843; b=KgWihMHAYQaIQQE9gojALyzU3NFbNEilan41qugOh8zyg9RdvyJ6vg84/vjDQ/ock2sI Tw0to1EWLcsNcSjDMMyl7UDLaLXfnoV+6IPF/6e21LoW9C+M9Fu/A1u48uQVfjMj9/Ym1 PkMGlYOfyONYTwh7MKg5tnSB0kHvxMj9bpeqTQ0XFYUjchcu4JB8ElkFxqBWVaiMwaTcp 0Pc1K7RWTNLBLaIz4TPH7RZufuhap1O1Y/IFXw5EMSTjLrqSeb8fmXnvnKcAzJ33c9u01 KTSrhE4v118bDHDt7FLo1mT02KBfQ8fTSbkvDKGNfGfw4T3meC6ZyDNDLY/gFL/2Pvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792740843; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=hMLYY/97Uq9CVtG7QdmP7izisduGXF/upTM7pDvQJmw=; b=szjqQiwDDO70FASAFre8eDVWA4IxcGgIBfJ55NU4FwdPzwUyDmDsLwHK4d3Sb8RvY5Cg HVedLCwDEI/BAoFrBnAKB7n2r4Damz/udHY5f96JXoLCGsYWKfqEj41nK/q7BcxCteflo 6/FQed93JjkYRociLpHFkygLfdcPX1VtRiHacMurFMf8lrAoJqiVYrNcrf+SNIld6uB6m KPQVz62/wJDwDv+0PZ8cK3Wh8O8RgnFY785b3Ez0DTkCDtsZzigWErG0RQvcH6IYdjVl2 DdphGH1IEj/CZ+irvTrSwhIcA7M1dRK7LPoJCM/9oQ7mT7BY/qZ1Az7ugx/3d1Zm6ag== 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=kIat8fSr; 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 1B6B4606A33A for ; Fri, 23 Oct 2026 07:34:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1B6B4606A33A 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-84a248254f4so363191a34.0 for ; Fri, 23 Oct 2026 00:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792740842; x=1793345642; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hMLYY/97Uq9CVtG7QdmP7izisduGXF/upTM7pDvQJmw=; b=kIat8fSrzxsGLtAXcBQm6RXD2kA5NR8yrbAuPBvpWdWLD5p4/hftN2NYUCgJsQvLe/ bjfu5w912ruPpzqNq5xN7onbvZI+GUQC7S3JmX0AwpgVfqYECWvJr0ZNgbNQ/8XkJv4d PH9POxqnzblHuxt4e4FWg9e/6rgcoL1/5b4YzJaPVMRukuVzAzjRooQXmAaNU1sUU9GX qGmSxXo8QUppfqDx672zeYTh16ZLbdDBT7eZhQBePg5uZ9HEJ/oWXp9huVxfzJv/QpYc 3N9eVSs9r3Jo8Q3ff3Q+hriyh7tsYC4Bqoy7Nyl+xbx2JyJMxlPcOpTSaf/y8cdfz8yO IRTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792740842; x=1793345642; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=hMLYY/97Uq9CVtG7QdmP7izisduGXF/upTM7pDvQJmw=; b=fcp+Ao2mBs0P/hhEIXYD+AVeSAQHOwqWo7iezMDvCLezIUDggmF7htFW02ndF80myG LgIG2mpwyd0x4kPh8cUwhoaxi8PgCRbfYW1EN9OuEUtzOntIfHYkmE+uPWpX++UWGIiQ ogONYvoUo84qkVCJsLZeZXZAZJ0ae6Fd7V4+dCh6S6kki+7rcZUvH5HLP/pUtZZF1Wr4 +TM7bfVsfOK6GQit7SKGGAIfZiPs5ZrUANaSU8M0zpfn5tI4kwyBApbVNpNaTf8bLowC V1xO5L8s/9wBwoJn/Dh36XkkQ4YQp/rrs+TIEED4R6LX7DmKAt/+Ivyk03SljmcPudMO FSRA== X-Forwarded-Encrypted: i=1; AKwUvBxzunW2ceOBC2oEWbIN6P/yMuP7sCn5hN7cPm+F5Z/wE5P2XTHV1qjliXu0Mnt4RnEQkzozIrlmrFljYg==@lists.linux.dev X-Gm-Message-State: AFq9FYIT5kddem6D3QRRdtUmt8K/52DOVgyp4GZX7390EL2hG+4Kuyft TrtL8GuNXbIdvt6spac0GBMWVNfeSrS4YDFiZ3UzmTmuYqSCZfvdT918 X-Gm-Gg: AYBFou3XDeVlhNdi3bFmmg7kcngtdn1Mz/4qbAgY79mO8CC68OJA6Y4mj8xnzspPEVP 12waemoNcWMSdLInd5289V51rlYNNEQwBnC+eKSSVnXYuhrecUMaQd5o2a2Nk1RE5AgLY1n3E0X foc+rwjcV8wMynBQ9BVDyGf1nh3PU8ADIrQOeNSH2m3oN5mFdg3KIWlZEqcExeNT/Wud+zwhZRq SosnGIbAdGdXz9ErpaI/JJehnB/yC3txScgyaO/G1iAj8Ink8W5xQ/Nz+24nl/PLOiKiqWt7/+/ LUQ5e4iNlTJrvdk/L88IR3OFRJr/t0YQ0yON8HCOxyPzDXzOpMQb2eTjPp2NNkRrvnrcBuNYp2M xJS4SL484ZhqOCpDIb70LOlTSE7Mh8A9uOQNMNySCaA+rtYNjuq6HevlmR4RjAyQUyM0oyB5Hrp sIWk5hpveXpdFLtSRkOWtPVzqtPLhiC/sLoczz5KjS2zmipiRnfLOt0eSk5kJW1I7dygtyuKw1S xxQ4GM4As1M0Ei5iq58gExztrGip1ayIsCVcFfn9sQHWp8BtvFDQwf3DG0sZYvKeRoeLpnuizYT 4RcOgEueUjB9lbSn1Exw8DIKIzWdILFHW7EvhGY4fCvCoVtRyPAzFSSCmqCSp6RCp2Hnc/6tbWm MK7R/mK9l0VBGbsYSLSWD6VkR6y56YD/O+EIQ+4Z6D4SJej8lGvndxeq1/PjA6DQyQ4Keg3YUC6 03xdc= X-Received: by 2002:a05:6808:5092:b0:4e8:3707:d4cf with SMTP id 5614622812f47-55be7a45f4cmr859576b6e.0.1792740842142; Fri, 23 Oct 2026 00:34:02 -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.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2026 00:34:01 -0700 (PDT) From: James Hilliard Date: Fri, 23 Oct 2026 01:33:51 -0600 Subject: [PATCH 3/3] arm64: dts: allwinner: h616: identify the UART integration 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 Message-Id: <20261023-submit-h616-uart-fifo-v1-v1-3-e4a3bae2eba8@gmail.com> References: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> In-Reply-To: <20261023-submit-h616-uart-fifo-v1-v1-0-e4a3bae2eba8@gmail.com> To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko , =?utf-8?q?Ilpo_J=C3=A4?= =?utf-8?q?rvinen?= , 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 X-Mailer: b4 0.15.2 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?= Use the H616 UART compatible for all six controllers so the driver can select their fixed 256-byte FIFO configuration and register layout. Retain the generic DesignWare compatible as a fallback for older kernels. Signed-off-by: James Hilliard --- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index 1598e86259ab..6905c9eaa249 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -538,7 +538,7 @@ mmc2: mmc@4022000 { }; uart0: serial@5000000 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05000000 0x400>; interrupts = ; reg-shift = <2>; @@ -551,7 +551,7 @@ uart0: serial@5000000 { }; uart1: serial@5000400 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05000400 0x400>; interrupts = ; reg-shift = <2>; @@ -564,7 +564,7 @@ uart1: serial@5000400 { }; uart2: serial@5000800 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05000800 0x400>; interrupts = ; reg-shift = <2>; @@ -577,7 +577,7 @@ uart2: serial@5000800 { }; uart3: serial@5000c00 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05000c00 0x400>; interrupts = ; reg-shift = <2>; @@ -590,7 +590,7 @@ uart3: serial@5000c00 { }; uart4: serial@5001000 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05001000 0x400>; interrupts = ; reg-shift = <2>; @@ -603,7 +603,7 @@ uart4: serial@5001000 { }; uart5: serial@5001400 { - compatible = "snps,dw-apb-uart"; + compatible = "allwinner,sun50i-h616-uart", "snps,dw-apb-uart"; reg = <0x05001400 0x400>; interrupts = ; reg-shift = <2>;