| Message ID | 20260918165414.1129076-4-iuncuim@gmail.com (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-26044-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 A9F8A1C309A
for <noreply@patchwork.local>; Fri, 18 Sep 2026 19:06:19 +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-26044-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-26044-noreply=patchwork.local@lists.linux.dev;
helo=tor.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id 08863819BE
for <noreply@patchwork.local>; Fri, 18 Sep 2026 16:55:26 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C1F051AFCC;
Fri, 18 Sep 2026 16:54:58 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
header.b="n1Snvjyi"
X-Original-To: linux-sunxi@lists.linux.dev
Received: from mail-pj2-f42.google.com (mail-pj2-f42.google.com
[74.125.227.170])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 621083CC7DB
for <linux-sunxi@lists.linux.dev>; Fri, 18 Sep 2026 16:54:54 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=74.125.227.170
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1789750498; cv=none;
b=t3hsoL3HE3lGxglp2wbKL7Z3+kDS/WATN85o+r/yay8BDWMJzeE91AQ4Q96qNeeUB27Qeup/GpnKCkVw56wwcJGTpykdwbd2uy/dsQ/wnmPuvLgGJDfVaHFvgK9u894/2wn4MXQ4IIGjl05o4bp4aeIoIsv8LdO72+yIhv/MXFY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1789750498; c=relaxed/simple;
bh=QBrUOsRZe10rMUp1TXePAvpVVpwDarhSFSq4iF1D2Gk=;
h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version;
b=US2/wQgrrEl5R9q2rtY+/PBH7r/5LOoAwt91lOMnE6mytQitwOstrWUqiq+BWcomXgiXwPy76hVH8KUsEQePrmIdkMznBwGbpENNUkn0zog12xgseipM8ksbLE6ld+22W3b3rfNDU1Z4JBVKUbfU/mXkZb9NpbL2RQWKtOh2gFc=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
header.b=n1Snvjyi; arc=none smtp.client-ip=74.125.227.170
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-pj2-f42.google.com with SMTP id
98e67ed59e1d1-396ccd5cf02so793492a91.3
for <linux-sunxi@lists.linux.dev>;
Fri, 18 Sep 2026 09:54:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1789750493; x=1790355293;
darn=lists.linux.dev;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=g0V52zqrzqSXOjtcPE4YmALB+veTpIXrkLmMEtjpOEI=;
b=n1SnvjyikgXgKCLO5aPcT4zKCmThNUueQ38DwRHIhkGzZJZ98S/fJWWey0ghY5h4Sx
vgjmSuOcMeNHUWWoJ2M5pBiISuARIS6uTIp61S8n/SlHrkvbyqe0d7PMpTIPH57uh+EX
RkuRLType9F0AwDdEkFul7XeVS72d+HW4dPZpi3b/vkjVkuM0jpa97d1sEVp9AtGiKQu
KrGwGWxfBqwq1Ef4pcmH1cmzMwQwIagUC94FBkAbkkfYMzyG0kLlAkENa0WpeKlga2X1
zoOmuTVsU2CMYI3ZLJGjBqvRqiw18KSwGwJqDLQ+hOwl9DpkQpYzdaT4mWYLRljCy/gP
xYhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1789750493; x=1790355293;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=g0V52zqrzqSXOjtcPE4YmALB+veTpIXrkLmMEtjpOEI=;
b=ZbU3QwSfyLPE5pon2ZevzwxO4qjdMwoClPoW90PbG4+0nv9OMfTDOnCEmKHNYZCFwQ
wd3BaNa38Vn6KYnE9glpniORQMMF3rjcaTN5n0VXc9dmbwztfESMu91PCUhGAvV1lNHt
2vQZiHqvcz8ZPeE4tFS2vTQ3C4In+GFgjPBnZwt6bcKYRD5qD0ZV267w/+rxltfp3pfm
l5nCIT4GsV783PpouepjuPFsvswFBGL7t6bctztq5VYkPUzyfgFoOSnqohZdhhRYFw88
EfFtzPnbva3T+eOhci5gpbC3/3LYjwZ8kPeB+vtEiPEAB+FYfj9JO8fHftKUH9/Jop2G
UT2w==
X-Forwarded-Encrypted: i=1;
AKwUvBwZQSbGpaTp9NcSnmEZI6c/NYz2Age6vZt9yVPLxaKNRHI/o5FHDgCwWF6h3BkqI51V7ceWMdY3YLpzYg==@lists.linux.dev
X-Gm-Message-State: AFuF++k7QTUcH4U09NGiXVCXVm8qOru+71zuBOp42s3L5pLykJyttCu7
5WxxnGwjojBjgK4koqF2wV4HYu0Z6wV5LE2mZr9b8vulbWFgyRlivU44
X-Gm-Gg: AYBFou1rnLQeu5HznKUk0ElIkZ0l8Ilr0hoBwJnld1ruQMD54s+uo0DJVFBcQ64ldZu
XsQHBunfliLRBoxvtdkvMexwJWDOqkB+3fF9neZ/SAcIlKcTysAGzwTnB9dLMup8mTXW4rwDeqo
yiyU1K57+f6Up2jM7ioLEdgNc3KNebmEVh66NgYpeUnfM5Me2MMUXQRK5a6M5TFAru631FQElE7
sD4qr53zYTO+55FGGcy8dmYo0FLfkoUV/KOZcjkiewdrCtYSHEK62dUYe8DP85KOshAf9Utt6Lt
n/Umg22RBbwPAINdSN2imu/AlCvvk3BFm0/fhXH6EGSPmieSZmSHI+Vb1N3eeNdDjF14ux+ereY
QdExs3IgXtFizVpdjL5yT8KLw2aZM3ZVFiUoaXobabUEey7agUZwN+nc0sjQc2QGfztp1GFSqaA
uVHX/2WLTaaBKYAgyMwXkei7SE/fe5MKs1fC2K6A1G0Np1he+vIFzVaUz6fkSX1iiNrAV0XXqSA
g==
X-Received: by 2002:a17:90b:4403:b0:39e:6a81:f34b with SMTP id
98e67ed59e1d1-39e6a81fd03mr775333a91.37.1789750492700;
Fri, 18 Sep 2026 09:54:52 -0700 (PDT)
Received: from archlinux ([207.90.239.231])
by smtp.gmail.com with ESMTPSA id
98e67ed59e1d1-39e6cb0190bsm240270a91.13.2026.09.18.09.54.45
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 18 Sep 2026 09:54:52 -0700 (PDT)
From: Mikhail Kalashnikov <iuncuim@gmail.com>
To: Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>
Cc: devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev,
linux-kernel@vger.kernel.org,
Andre Przywara <andre.przywara@arm.com>
Subject: [PATCH 3/4] arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin
groups
Date: Sat, 19 Sep 2026 00:54:13 +0800
Message-ID: <20260918165414.1129076-4-iuncuim@gmail.com>
X-Mailer: git-send-email 2.55.0
In-Reply-To: <20260918165414.1129076-1-iuncuim@gmail.com>
References: <20260918165414.1129076-1-iuncuim@gmail.com>
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-Rspamd-Server: rspamd-worker-8404
X-Spamd-Result: default: False [0.34 / 15.00];
BAYES_HAM(-5.50)[100.00%];
RBL_SENDERSCORE(2.00)[172.105.105.114:from];
SUSPICIOUS_RECIPS(1.50)[];
MID_CONTAINS_FROM(1.00)[];
DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed),
No valid DKIM,none];
R_MISSING_CHARSET(0.50)[];
MAILLIST(-0.15)[generic];
BAD_REP_POLICIES(0.10)[];
MIME_GOOD(-0.10)[text/plain];
HAS_LIST_UNSUB(-0.01)[];
PRECEDENCE_BULK(0.00)[];
FROM_HAS_DN(0.00)[];
TAGGED_RCPT(0.00)[];
RCVD_VIA_SMTP_AUTH(0.00)[];
DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:rdns,tor.lore.kernel.org:helo];
DBL_PROHIBIT(0.00)[0.30.132.128:email];
FORGED_SENDER_MAILLIST(0.00)[];
RCVD_COUNT_FIVE(0.00)[6];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1];
TAGGED_FROM(0.00)[bounces-26044-noreply=patchwork.local];
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.90.174.1:received,74.125.227.170:received,207.90.239.231:received];
FROM_NEQ_ENVFROM(0.00)[iuncuim@gmail.com,linux-sunxi@lists.linux.dev];
RCPT_COUNT_SEVEN(0.00)[8];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG];
FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org];
RCVD_TLS_LAST(0.00)[];
MIME_TRACE(0.00)[0:+];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.105.105.114:from]
X-Rspamd-Queue-Id: A9F8A1C309A
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 |
arm64: dts: allwinner: add Teclast P85T (A523) support
|
|
Commit Message
Mikhail Kalashnikov
Sept. 18, 2026, 4:54 p.m. UTC
Add the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers
that used on some A523 boards.
Assisted-by: OpenCode:DeepSeek-V4.1-Flash
Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Comments
Hi, On 9/18/26 18:54, Mikhail Kalashnikov wrote: > Add the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers > that used on some A523 boards. I was about to say we should add port specifiers to the node names and labels (i2c0-ph-pins), for functions which are also available on other pins, but I see we don't do this for I2C on any other SoC, so that's fine. It's internal, so we can fix this later. Compared against the manual: > Assisted-by: OpenCode:DeepSeek-V4.1-Flash > Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Thanks, Andre > --- > arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > index 85ef492ff..0ec5d19f7 100644 > --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi > @@ -147,6 +147,24 @@ pio: pinctrl@2000000 { > interrupt-controller; > #interrupt-cells = <3>; > > + /omit-if-no-ref/ > + i2c0_pins: i2c0-pins { > + pins = "PH0", "PH1"; > + function = "i2c0"; > + allwinner,pinmux = <2>; > + drive-strength = <10>; > + bias-pull-up; > + }; > + > + /omit-if-no-ref/ > + i2c1_pins: i2c1-pins { > + pins = "PH2", "PH3"; > + function = "i2c1"; > + allwinner,pinmux = <2>; > + drive-strength = <10>; > + bias-pull-up; > + }; > + > /omit-if-no-ref/ > i2s2_pi_pins: i2s2-pi-pins { > pins = "PI2", "PI3", "PI4", "PI5";
diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi index 85ef492ff..0ec5d19f7 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi @@ -147,6 +147,24 @@ pio: pinctrl@2000000 { interrupt-controller; #interrupt-cells = <3>; + /omit-if-no-ref/ + i2c0_pins: i2c0-pins { + pins = "PH0", "PH1"; + function = "i2c0"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up; + }; + + /omit-if-no-ref/ + i2c1_pins: i2c1-pins { + pins = "PH2", "PH3"; + function = "i2c1"; + allwinner,pinmux = <2>; + drive-strength = <10>; + bias-pull-up; + }; + /omit-if-no-ref/ i2s2_pi_pins: i2s2-pi-pins { pins = "PI2", "PI3", "PI4", "PI5";