| Message ID | 20261012100816.331033-1-pmazzini@gmail.com (mailing list archive) |
|---|---|
| Headers |
Return-Path: <linux-sunxi+bounces-26594-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mxe881.netcup.net (Postfix) with ESMTPS id 538E61C241C
for <noreply@patchwork.local>; Mon, 12 Oct 2026 12:16:31 +0200 (CEST)
Authentication-Results: mxe881;
dkim=pass header.d=gmail.com;
spf=pass (sender IP is 172.234.253.10)
smtp.mailfrom=linux-sunxi+bounces-26594-noreply=patchwork.local@lists.linux.dev
smtp.helo=sea.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.234.253.10 as permitted sender) client-ip=172.234.253.10;
envelope-from=linux-sunxi+bounces-26594-noreply=patchwork.local@lists.linux.dev;
helo=sea.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id E757043956
for <noreply@patchwork.local>; Mon, 12 Oct 2026 10:09:43 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 52BC634F497;
Mon, 12 Oct 2026 10:08:48 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
header.b="jJKY3Fll"
X-Original-To: linux-sunxi@lists.linux.dev
Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com
[209.85.128.43])
(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 8EBED478E51
for <linux-sunxi@lists.linux.dev>; Mon, 12 Oct 2026 10:08:37 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=209.85.128.43
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791799727; cv=none;
b=eD0FyTpdA4BhuC1dRDTAzDtie8m1DCHwrsQCD2MYZ3IqEQtak2dq8WPwO05PoDzdYT+JtQ+K+VzrXpmftyUwd08DQp2ucmQDFSppexJeZFevlyttxPUrHQu0/pdX7d4eQq3jLuiz+dMxMRDHJ+He54T8aD39TIehurVGu5QXYgU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791799727; c=relaxed/simple;
bh=8Mnnl0Z3pOG5cs0RKth4xk3lylmk99qeafTSSPrIRo8=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;
b=TIxv1p4BhtFiXhNT7fTD0GlPBnEVRHsqnE70V0On/4VBAzBmpjTWKx6BLc0DuE1cpfyhr1lRL3PbFIICLt5ifbKX/pngvB2sb8f4R4i8HLOzej6BY9OzFyoZBaPKXHvv8XhId3U0R9KDsfIhVIp1aYO0T6LqUQMqt22esH9dPQA=
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=jJKY3Fll; arc=none smtp.client-ip=209.85.128.43
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-wm1-f43.google.com with SMTP id
5b1f17b1804b1-4a161d9b8c7so11099495e9.3
for <linux-sunxi@lists.linux.dev>;
Mon, 12 Oct 2026 03:08:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791799715; x=1792404515;
darn=lists.linux.dev;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=58Hpz3IL7+FBFo99aVZrTh8mHeTaosnWqfT/ede3fC0=;
b=jJKY3FllKIzwIJOtGpdpVxQyI00NLT1uBWt1eaEuEvdvcTfpztk4OeAoSxB2UYBOo8
vDJ7gKl+w4iquCEvJtPs+4w7SKcdadjO+qqMrcCVXoqSxYkDvMjrPXN6VRKDdM+98kyg
UZDjV8SAhHrtspuYPpK6JxcnQDhGF0yL8y4HiOPyJxErPvUJ7pv/6hCliYzVLaBYExgT
WcV0O8H4hPuv47WcTwaniwsn1+iePUL2USO5fsF+7kHhQvuNSdvf4wIHikT02C5FWoFR
dCjPQDKwyzEgvyvStzdGF+qlxty1xbpweTmYtMNIcUP/6hlQAR+Vaj8sr6gOJYjl/1lf
qX6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791799715; x=1792404515;
h=content-transfer-encoding:mime-version: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=58Hpz3IL7+FBFo99aVZrTh8mHeTaosnWqfT/ede3fC0=;
b=iY3nL50mELP0asGZhawiQVDybKHlFI3Rxp0dt3PMNoFC9SDslLLvw17Sx+Z6oyPkMO
l98oU/LoIJBQxhhHxIjEnArl1RIFKIe8Hy9+GoRcVyR3Zu/PJPeTehS2rs45jW65YmvE
mQuu6StVpeAqTz2iHJE2RdKsPOaFxMcjEGUu6khlKz34Lw7hWRbBT6tpz7DaH8UCPa/K
fuRsxQlJMsLjMr8uWg4UCSrt8mO3NdYS+VrBYty5saiOMIXwtE0KY7R7jNuR7cfjGeM+
leoICaxk5To/wZ9NBrVAGq+S15SVeFDVbWyDL8//DYv6hIIzZ6PusIm9T5FV10Sl1vfO
ORdA==
X-Forwarded-Encrypted: i=1;
AKwUvBzoP0mxsXbPJR5iR49X6/mVl9vi4KSjWyU+Wbvr0zPNDJyUgcFQUQ1Gtgnozgj0LeBQANPBLO2KSkNmFg==@lists.linux.dev
X-Gm-Message-State: AFq9FYJKyJ0Dyad1h2LucfXRunMDWHU8obbJx2u6TYrsvVoC7Obh5Ee2
eCNOuWaDhVsSANL28yh4MmawmOyMLh0aAWa6FovoeGSLfZZ+njhk+CCr
X-Gm-Gg: AYBFou1XyYXDz5w2B4Zt4U5OyE0Z8L/15doIJ6yP4hj9Iup37z+A+gHGHm46FkF8PZi
l3b7VEtvLUHq5e6c6Mc42HVcL/GsAS9jQXE90qyKQJgYwADaHNSgJqbSAC+YkufI4UiktCPKamy
JELNjd4T25H4bbuBiJN01FHpmGuwsV4pllkcAT20D0GQaPxgKWY4IrUZslPuB+lnGLwrDeQciDz
Q3n+KESYkDLQjp5d1ARTtMtwVABQ8vwmmx8B9+f9SjbCOjIkNYtJ/fuAZYT7AFfN/yBvB0VZYPe
Hj7/5VSZsdBsSGTbpWrZfSWCZmfE5OE4clML4KGDad/OHcI24R+ZblocQspJtgdmDDNfVaft8pf
wCPe+FOWpi+s8egCgJb++KhojdnUZQ4jwwdmyEQ6X8Ciyi++DUe0T5vbMtjbUXm1SR+AUPKI/lB
YowgKwiVBieurt0se1gHc7XBSY8PrQQVhGG7KApvT5j+F6hYf4reeLvvomiHkjcv2T/LygBheh7
Goss60fLl1vbtW1ZeNEdX/b2KH33GJu
X-Received: by 2002:a05:600c:64c8:b0:49d:1df6:2592 with SMTP id
5b1f17b1804b1-4a18e4c41b0mr155420775e9.21.1791799713755;
Mon, 12 Oct 2026 03:08:33 -0700 (PDT)
Received: from debian (ip-78-137-176-146.broadband.digiweb.ie.
[78.137.176.146])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4a192d3efb6sm166229885e9.1.2026.10.12.03.08.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 12 Oct 2026 03:08:33 -0700 (PDT)
From: Pablo Mazzini <pmazzini@gmail.com>
To: Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>
Cc: Pablo Mazzini <pmazzini@gmail.com>,
Andre Przywara <andre.przywara@arm.com>,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org,
linux-i2c@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-rtc@vger.kernel.org,
linux-sunxi@lists.linux.dev,
linux-watchdog@vger.kernel.org
Subject: [PATCH v4 00/11] ARM: sunxi: add Allwinner B288 and the PocketBook
Verse
Date: Mon, 12 Oct 2026 11:08:05 +0100
Message-ID: <20261012100816.331033-1-pmazzini@gmail.com>
X-Mailer: git-send-email 2.53.0
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 [5.84 / 15.00];
RBL_SENDERSCORE(2.00)[172.234.253.10: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)[];
TAGGED_RCPT(0.00)[];
FROM_HAS_DN(0.00)[];
RCPT_COUNT_TWELVE(0.00)[14];
FREEMAIL_CC(0.00)[gmail.com,arm.com,vger.kernel.org,lists.infradead.org,lists.linux.dev];
DBL_BLOCKED_OPENRESOLVER(0.00)[sea.lore.kernel.org:rdns,sea.lore.kernel.org:helo];
FORGED_SENDER_MAILLIST(0.00)[];
RCVD_COUNT_FIVE(0.00)[6];
FROM_NEQ_ENVFROM(0.00)[pmazzini@gmail.com,linux-sunxi@lists.linux.dev];
ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG];
TO_DN_SOME(0.00)[];
FREEMAIL_FROM(0.00)[gmail.com];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.90.174.1:received,209.85.128.43:received,78.137.176.146:received];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.234.253.10:from];
TAGGED_FROM(0.00)[bounces-26594-noreply=patchwork.local];
R_SPF_ALLOW(0.00)[+ip4:172.234.253.10];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1];
FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org];
RCVD_TLS_LAST(0.00)[];
MIME_TRACE(0.00)[0:+];
RCVD_VIA_SMTP_AUTH(0.00)[]
X-Rspamd-Queue-Id: 538E61C241C
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 |
ARM: sunxi: add Allwinner B288 and the PocketBook Verse
|
|
Message
Pablo Mazzini
Oct. 12, 2026, 10:08 a.m. UTC
The Allwinner B288 (sun8iw10p1) is a dual Cortex-A7 SoC used in e-book
readers. This series adds the CCU and pin controller drivers, the RTC,
I2C, NMI and watchdog compatibles, the SoC .dtsi, and one board: the
PocketBook Verse (PB629), a 6" reader.
The B288 is closest to the A64: most of its PLLs are bit-identical.
The clock and pin descriptions come from Allwinner's BSP, cross-checked
against ccu-sun50i-a64.c. Tested on a PB629, boots to userspace.
The pin controller relies on "pinctrl: sunxi: dt: number the IRQ banks
from the first one that has IRQs" for correct PIO interrupt mapping.
Changes since v3:
- CCU: reference parents with clk_parent_data and clk_hw pointers,
as newer sunxi-ng drivers do; add the audio PLL's sigma-delta
settings, as on the A64; fix the PLL_24M rate and parent the PLLs
to it.
- RTC: register the 32 kHz clocks, reusing the A23 data (Sashiko).
- DTS: take osc32k from the RTC, as on the A64.
- DTS: allow the eMMC up to 150 MHz, as on the A523.
Changes since v2:
- Drop the MMC binding patch, applied by Ulf.
- Rebase onto sunxi/for-next.
- Constrain the RTC clock outputs and pinctrl interrupts in the
bindings (Sashiko).
- Add a B288 watchdog compatible (Andre).
- DTS: drop the memory node, the arch timer workaround and the
sunxi.c entry; add disable-wp and the eMMC 1.8V modes; DLDO1 no
longer always-on; mainline pin function names (Andre).
Changes since v1:
- Add this cover letter.
- Drop both new bindings; add the compatibles to the existing
allwinner,sun4i-a10-{ccu,pinctrl}.yaml instead.
- Rewrite the pinctrl driver in the DT-provided pinmux style.
Pablo Mazzini (11):
dt-bindings: clock: sun4i-a10-ccu: add Allwinner B288
clk: sunxi-ng: add Allwinner B288 CCU driver
dt-bindings: pinctrl: sun4i-a10: add Allwinner B288
pinctrl: sunxi: add Allwinner B288 pin controller driver
dt-bindings: rtc: sun6i-a31: add Allwinner B288
rtc: sun6i: add Allwinner B288 compatible
dt-bindings: i2c: mv64xxx: add Allwinner B288
dt-bindings: interrupt-controller: add Allwinner B288 NMI
dt-bindings: watchdog: sun4i-a10-wdt: add Allwinner B288
dt-bindings: arm: sunxi: add PocketBook Verse
ARM: dts: allwinner: add B288 and the PocketBook Verse
.../devicetree/bindings/arm/sunxi.yaml | 5 +
.../clock/allwinner,sun4i-a10-ccu.yaml | 1 +
.../bindings/i2c/marvell,mv64xxx-i2c.yaml | 1 +
.../allwinner,sun7i-a20-sc-nmi.yaml | 1 +
.../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 22 +
.../bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 3 +
.../watchdog/allwinner,sun4i-a10-wdt.yaml | 1 +
arch/arm/boot/dts/allwinner/Makefile | 1 +
.../allwinner/sun8i-b288-pocketbook-verse.dts | 114 +++
arch/arm/boot/dts/allwinner/sun8i-b288.dtsi | 292 +++++++
drivers/clk/sunxi-ng/Kconfig | 5 +
drivers/clk/sunxi-ng/Makefile | 1 +
drivers/clk/sunxi-ng/ccu-sun8i-b288.c | 749 ++++++++++++++++++
drivers/clk/sunxi-ng/ccu-sun8i-b288.h | 10 +
drivers/pinctrl/sunxi/Kconfig | 10 +
drivers/pinctrl/sunxi/Makefile | 1 +
drivers/pinctrl/sunxi/pinctrl-sun8i-b288.c | 49 ++
drivers/rtc/rtc-sun6i.c | 5 +
include/dt-bindings/clock/sun8i-b288-ccu.h | 82 ++
include/dt-bindings/reset/sun8i-b288-ccu.h | 45 ++
20 files changed, 1398 insertions(+)
create mode 100644 arch/arm/boot/dts/allwinner/sun8i-b288-pocketbook-verse.dts
create mode 100644 arch/arm/boot/dts/allwinner/sun8i-b288.dtsi
create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-b288.c
create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-b288.h
create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun8i-b288.c
create mode 100644 include/dt-bindings/clock/sun8i-b288-ccu.h
create mode 100644 include/dt-bindings/reset/sun8i-b288-ccu.h
Comments
On Mon, 12 Oct 2026 11:08:05 +0100, Pablo Mazzini wrote: > The Allwinner B288 (sun8iw10p1) is a dual Cortex-A7 SoC used in e-book > readers. This series adds the CCU and pin controller drivers, the RTC, > I2C, NMI and watchdog compatibles, the SoC .dtsi, and one board: the > PocketBook Verse (PB629), a 6" reader. > > The B288 is closest to the A64: most of its PLLs are bit-identical. > The clock and pin descriptions come from Allwinner's BSP, cross-checked > against ccu-sun50i-a64.c. Tested on a PB629, boots to userspace. > > [...] Applied, thanks! [05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 https://git.kernel.org/abelloni/c/51f30cb855f0 [06/11] rtc: sun6i: add Allwinner B288 compatible https://git.kernel.org/abelloni/c/3784706c87c2 Best regards,