From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej2-f12.google.com (mail-ej2-f12.google.com [74.125.228.140]) (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 1FB294E1C6D for ; Mon, 5 Oct 2026 20:27:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791232073; cv=none; b=YlKY1+c2C2jRxRGhsax3c6S2bizPn0uTDMBGJm8z8ByfPo72i7B4MV0FTZsxMG5mLLb9pqnzY5xApOVxV8sZMKZFOqYNPsq5+WmDq3utHrC2jKjF5WJ6EF2As+kdVemgp25uBYQdA1/CN36tuRWCm3+sn0gY53XKLO3Q8uhAb5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791232073; c=relaxed/simple; bh=vyjTkoj7j9nxAAMFzNtiZqtsGSfD+2Kyb3Sj1miR6HU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EZNlM05u1iSl/JO6O0qyuOkTNstk3joKWjXTca4MM1ycrtB5/DT8pf6fPxw0YapeFWu+TG8LprBoFCtxT8OENm+BdJn5sZ4hlM2qgHVEPLq1Q+JCXgNi0K/6UZQsxrX3KCb8MNM3M76PhxmhzMwNmYc+k69X9LtrDMq5UJUeQbE= 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=s8YMBJx1; arc=none smtp.client-ip=74.125.228.140 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="s8YMBJx1" Received: by mail-ej2-f12.google.com with SMTP id a640c23a62f3a-c29703cb796so327249866b.2 for ; Mon, 05 Oct 2026 13:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791232063; x=1791836863; darn=vger.kernel.org; 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=K7axOho0K/uDLrMIbHkmVZuTbDKVS4ybpfgzmkJPTMs=; b=s8YMBJx1kPNarW1mg2k70KZMIvzQ/eQGBnOtztxa+ILHMHkdzkVWGkaEU/66Wfab81 cL4OmK/ycgsjFhoH5BZ23tNQ8RaO7kNCyXESsee+MbbXNc3As1tXnHPNJk/G0I/9I5/2 HQ71ihhQ10PTXooRoU1i5nfIZV0F/X1t7fh2qOCoXkbD3bWPS6qDCmlXwXja4vsXo9GZ v0O0dk5WsyA3T07+joHDv0goimf2i2yG4M6GH7QE2HkfLBGPPh/5dpENFtB5sfiP2uJM g/vc4eHgx3KuejktbiO1NgzIA/ltKCCn4EJVJcYtt4NbsGlnK/rMzzsCA9Pj9trgh262 DSQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791232063; x=1791836863; 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=K7axOho0K/uDLrMIbHkmVZuTbDKVS4ybpfgzmkJPTMs=; b=eJetE5j3QD6l0cyT20PiVxWa/L2LIsMj4ECoUoA7SWR5/9RmDJotMSUwCM+Z78PNqn mD5QaqqKFZHohx0F55NteG2IK4TRE6c6x3Y5tdY7S15+H0+WLQILfMXnybqixV1OLmir J4hViEgFzoe4yaDFyWJ8tiaoEvYmEBa4ityc6LB+CenX9izvtHrZRiy4uN+ccKiw7NVB TRMLd/jFbCpphp7tzsMyPgjN4j0yC/MgqEi3xRIDFrfvPYadl9/7D3evVxU8fC6zQu6O 9WwoUdvra2rG7eWaMV2bwYs0DoEF9kmVz9CrtljU6lB8x8wCcnYSLVbFDhC3IZ576JWL JTEA== X-Forwarded-Encrypted: i=1; AKwUvBzZFRDOfD0KjXtOYQAWmFkxOOmLFPUbDwixh46wkcgqP/sOXwLXKHynQDsP0tjheNhjRDub/kvr2e4d@vger.kernel.org X-Gm-Message-State: AFuF++kvQuyN1xeaZ1aZmHAAPrHpmj5rnyKbb+mvFN+vIkp5iRUqUir9 RusTX91jX3Av3rPjxguAF5Z+t4IaIehNver9y0Trds50PRwJFWmWwko5 X-Gm-Gg: AYBFou0zHZhA6YEulcqTeiMZw5spEnMyVspZw7leLABt2MA1ARFCfxNkGBSzNa/Sgls qmQgdXfCBdQj9VQ+F9L6pLm/mqK39/+kiLEGRAe7xSxmzdfjwDOEwT7HVwRQaURsZon/duJlYdT lC93Mh5Kff8k5KEP12ppOyHXa2GFmvY80uPHwCiUbj8gzovFeO7akt0qTTYuOEU6RkOOkyd+xP2 3MZFKGct+bS25J0Z59Bfj9J00ovHQ0mxQc1KFLyK0vrW6+BVIvkIX/hCA2T4KXd6i8yQ8LkytKp 5nRwrgqippKH0XiRHmXzHiK9PO047rEQhyOIrhNCl+h5NG7IQGZvSdqTEHo9BTv1kJRfO2IRnUz TV7yApeycLKJH/XOLxZYCU0aQVSxeeC0InC5Kb7BSOrsBXh6ecPrm0T/iuR7e3+0F2On/vh82OD pxaqMPiAaLHTRBNeI1Ph5w1G7SlxWBfmby3go9jsLl0yzdIvxHZZDgLW+lphH+5uGabnLK4yZ6f hjC6mZtmOhcBmAj2+cXDZOUGLDNZfVsMy6QXUdRnVQ= X-Received: by 2002:a17:907:6e94:b0:c29:8d4:7c03 with SMTP id a640c23a62f3a-c2e4af4330amr1014256666b.26.1791232062936; Mon, 05 Oct 2026 13:27:42 -0700 (PDT) Received: from debian (ip-78-137-176-146.broadband.digiweb.ie. [78.137.176.146]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6afb01e572asm3801024a12.13.2026.10.05.13.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2026 13:27:42 -0700 (PDT) From: Pablo Mazzini To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Pablo Mazzini , 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 v3 00/11] ARM: sunxi: add Allwinner B288 and the PocketBook Verse Date: Mon, 5 Oct 2026 21:27:20 +0100 Message-ID: <20261005202731.153971-1-pmazzini@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 | 290 ++++++++ drivers/clk/sunxi-ng/Kconfig | 5 + drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu-sun8i-b288.c | 644 ++++++++++++++++++ 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 | 1 + include/dt-bindings/clock/sun8i-b288-ccu.h | 82 +++ include/dt-bindings/reset/sun8i-b288-ccu.h | 45 ++ 20 files changed, 1287 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 -- 2.52.0