| Message ID | 20260720174253.7686-1-per@palvencia.se (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-24547-sunxi=pue.re@lists.linux.dev> X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mxe881.netcup.net (Postfix) with ESMTPS id E0BEF1C09D9 for <noreply@patchwork.local>; Mon, 20 Jul 2026 19:57:56 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=palvencia.se; spf=pass (sender IP is 104.64.211.4) smtp.mailfrom=linux-sunxi+bounces-24547-noreply=patchwork.local@lists.linux.dev smtp.helo=sin.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 104.64.211.4 as permitted sender) client-ip=104.64.211.4; envelope-from=linux-sunxi+bounces-24547-noreply=patchwork.local@lists.linux.dev; helo=sin.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id B150D300C8AD for <noreply@patchwork.local>; Mon, 20 Jul 2026 17:43:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C82B4499AF; Mon, 20 Jul 2026 17:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=palvencia.se header.i=@palvencia.se header.b="Fx7y2FWX" X-Original-To: linux-sunxi@lists.linux.dev Received: from m101-out-mua-6.websupport.se (m101-out-mua-6.websupport.se [109.235.175.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C81A54499A2 for <linux-sunxi@lists.linux.dev>; Mon, 20 Jul 2026 17:43:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.235.175.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784569429; cv=none; b=osbv7yXZy2QL7nN0RB94C0+pmwhFduYhoiLNHeI1BzHsL0uwURv+XblXjUQkCurTAb1tujyosn7WsHDKNpi3e2t3xSqEjasSKKCRiJbd4CdRoVr8hA46TTZhhho/ouhKJffX8UDmobYGdClerrokQfLBscLwBrDGipzDuibOcsk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784569429; c=relaxed/simple; bh=JsHQyksXAECz4hOT/t7xqDeBq0k7ZG3gkiPaX1orTi0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EFOuxebj9IsYDygSfvjoT3ZJG3IWbSM32b5+WQnLCfw9tKTMNlEp3u/2XJvPz+uMg6Itsh4KOSXFu4zDa34QHhI9ObN2V4uK69aEqdr6HefMdgiy7pZWmfdbZmhbJ2y7bcKS7UmbdVDY3zt/CUi197XAFyzvBAgDDE0g2G29++Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=palvencia.se; spf=pass smtp.mailfrom=palvencia.se; dkim=pass (2048-bit key) header.d=palvencia.se header.i=@palvencia.se header.b=Fx7y2FWX; arc=none smtp.client-ip=109.235.175.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=palvencia.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=palvencia.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palvencia.se; s=mail; t=1784569422; bh=UiZDU+zwqlhCb8NClI+UcJBF+04owitay8cguXiw8Ww=; h=From:To:Cc:Subject:Date:From; b=Fx7y2FWXp9wedQG4Uc+Xp2zzHVj26clK2A+1nFgTlvacoscXIAAYiyHkSB00ofO71 4DxVq2gpAR9/G25wasUWTp1iDSufTZ2FFJLA5dTNEt12aEEVtUWdTNYRCKRo9y7kjM z6buMjLsRYRqKqg9hzVs0h91bR9LVqjO+fRbjOn1+fdGBz0rc2hynLsy0VZDeGslC3 IOiMsr91ClFBdED0HlDp1FPNGQY03AeH3Yn+HuR2PIrNtt47YwctclKXNHZHrgq6Ft c7QtnDr6oFT49IJzvtrZhdo6zIv8V366Y09KpjX6HYJEh9P3IzX74WztkbsDAnwmwp eJGngRYH8vKmw== Received: from m101-u5-ing.websupport.se (unknown [10.30.5.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by m101-out-mua-6.websupport.se (Postfix) with ESMTPS id 4h3ntj6hkszSqf; Mon, 20 Jul 2026 19:43:41 +0200 (CEST) X-Authenticated-Sender: per@palvencia.se Authentication-Results: m101-u5-ing.websupport.se; auth=pass smtp.auth=per@palvencia.se smtp.mailfrom=per@palvencia.se Received: from palvencia.se (unknown [193.180.91.63]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: per@palvencia.se) by m101-u5-ing.websupport.se (Postfix) with ESMTPSA id 4h3nth2pbwz2wjk; Mon, 20 Jul 2026 19:43:40 +0200 (CEST) From: Per Larsson <per@palvencia.se> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@kernel.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-sunxi@lists.linux.dev (open list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list) Cc: Per Larsson <per@palvencia.se> Subject: [PATCH 1/2] arm64: dts: allwinner: a523: Add missing SPDIF pin Date: Mon, 20 Jul 2026 19:42:42 +0200 Message-ID: <20260720174253.7686-1-per@palvencia.se> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: <linux-sunxi.lists.linux.dev> List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Out-Spamd-Result: default: False [2.90 / 1000.00]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org,vger.kernel.org,lists.infradead.org,lists.linux.dev]; TAGGED_RCPT(0.00)[dt]; ASN(0.00)[asn:35790, ipnet:193.180.91.0/24, country:SE]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_SEVEN(0.00)[11]; HAS_X_AS(0.00)[]; ALIAS_RESOLVED(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; LOCAL_OUTBOUND(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com] X-Rspamd-Action: no action X-Out-Rspamd-Queue-Id: 4h3nth2pbwz2wjk X-Out-Rspamd-Server: m101-rspamd-out-4 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) https://www.eleven.de X-purgate: This mail is considered clean (visit https://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1154 X-purgate-ID: 155908::1784569421-3D7071C6-B1A24F28/0/0 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-0.66 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[104.64.211.4:from]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.15)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; TAGGED_RCPT(0.00)[dt]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; PRECEDENCE_BULK(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[palvencia.se]; DBL_BLOCKED_OPENRESOLVER(0.00)[sin.lore.kernel.org:rdns,sin.lore.kernel.org:helo,palvencia.se:email,palvencia.se:dkim]; R_DKIM_ALLOW(0.00)[palvencia.se:s=mail]; RCVD_COUNT_FIVE(0.00)[6]; TAGGED_FROM(0.00)[bounces-24547-noreply=patchwork.local]; RCPT_COUNT_SEVEN(0.00)[11]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org,vger.kernel.org,lists.infradead.org,lists.linux.dev]; DKIM_TRACE(0.00)[palvencia.se:+]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:104.64.211.4]; FORGED_SENDER_MAILLIST(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:63949, ipnet:104.64.192.0/19, country:SG]; MIME_TRACE(0.00)[0:+]; HAS_X_AS(0.00)[]; FROM_NEQ_ENVFROM(0.00)[per@palvencia.se,linux-sunxi@lists.linux.dev]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: E0BEF1C09D9 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 |
[1/2] arm64: dts: allwinner: a523: Add missing SPDIF pin
|
|
Commit Message
Per Larsson
July 20, 2026, 5:42 p.m. UTC
When spdif support was added for the Allwinner A523 family of SoCs, only
two of the three possible pins were added to the dtsi, since the third
would clash with the first ethernet port (emac0)
However, some devices don't use emac0 and instead use emac1 for the only
available ethernet port, leaving the pin free to use for spdif.
Add the missing pin to the dtsi so such devices can (later) use it
Signed-off-by: Per Larsson <per@palvencia.se>
---
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On Mon, 20 Jul 2026 19:42:42 +0200 Per Larsson <per@palvencia.se> wrote: Hi, thanks for takign the time to send a patch! > When spdif support was added for the Allwinner A523 family of SoCs, only > two of the three possible pins were added to the dtsi, since the third > would clash with the first ethernet port (emac0) > However, some devices don't use emac0 and instead use emac1 for the only > available ethernet port, leaving the pin free to use for spdif. Not sure we need such an elaborate excuse to add a pinmux that is used on one device - you could just say *that* instead. But that's not a big issue, as the patch itself is correct. > Add the missing pin to the dtsi so such devices can (later) use it > > Signed-off-by: Per Larsson <per@palvencia.se> Checked the details against the user manual: they match: Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > --- > arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > index ca6a16807049..7370e8ed24ec 100644 > --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > @@ -216,6 +216,13 @@ spdif_out_pb_pin: spdif-pb-pin { > allwinner,pinmux = <2>; > }; > > + /omit-if-no-ref/ > + spdif_out_ph_pin: spdif-ph-pin { > + pins = "PH7"; > + function = "spdif"; > + allwinner,pinmux = <4>; > + }; > + > /omit-if-no-ref/ > spdif_out_pi_pin: spdif-pi-pin { > pins = "PI10";
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi index ca6a16807049..7370e8ed24ec 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi @@ -216,6 +216,13 @@ spdif_out_pb_pin: spdif-pb-pin { allwinner,pinmux = <2>; }; + /omit-if-no-ref/ + spdif_out_ph_pin: spdif-ph-pin { + pins = "PH7"; + function = "spdif"; + allwinner,pinmux = <4>; + }; + /omit-if-no-ref/ spdif_out_pi_pin: spdif-pi-pin { pins = "PI10";