From patchwork Sun Jul 10 08:18:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 589285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3443EC43334 for ; Sun, 10 Jul 2022 08:35:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229530AbiGJIfJ (ORCPT ); Sun, 10 Jul 2022 04:35:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbiGJIer (ORCPT ); Sun, 10 Jul 2022 04:34:47 -0400 X-Greylist: delayed 907 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 10 Jul 2022 01:34:35 PDT Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 766FD13F19 for ; Sun, 10 Jul 2022 01:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657441146; cv=none; d=zohomail.com; s=zohoarc; b=G//ruNJWtc5KB4iy5vkg+oDxYaTZAblTm7aNahnX1lAklnS8eGAkKjdLZpOcPt3N8csTyyHBIGjL5OSxpoArIpLJuzvm8p2Gy9vKFPKmBzu2m5+wfkvXTMFXb0ua+DLOubhyfFL6HzF9+rZedqDPZP5TjEi3vAXfc66HFnhkCLw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657441146; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=NFS2/32BxwaD6fahAeZc1AfhBJU6/YF1+CjbT7OS85w=; b=TQfGNYjIhWbat5WkxjQhtlgP4nkoe+soWGB9Tqh6zRPSp9UHKEpScFi66wvqXY55zM37TPJAaLb7UfjyJSWAOGtIcKY1d9Flpa2d+lzxDEpplxXr3zz4uEKEPzGYH8TlvvC8M8gEdotiaM2RVhHQQq2Mt8wX2rrKUIwWp3czFWc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1657441146; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=NFS2/32BxwaD6fahAeZc1AfhBJU6/YF1+CjbT7OS85w=; b=KvRP9GWRsA+WTCougZocM3zTL73ekzM8w95wlu3fxEmAwg4qIRZq4zFRvkHiT1B6 wFhaoG/Gr6UUMTxVtU0roRy5Tiu5zaxgpe7gDLfXNepk/+ylWBDPP2x89RjoRI7H7T1 iIhPWCegA5wX36tB2Hsxmzq8Myv0Tkx1hyOV10Ns= Received: from edelgard.icenowy.me (59.41.163.237 [59.41.163.237]) by mx.zohomail.com with SMTPS id 1657441143425993.9029258752463; Sun, 10 Jul 2022 01:19:03 -0700 (PDT) From: Icenowy Zheng To: Linus Walleij , Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng Subject: [PATCH v2 0/3] Allwinner R329 {R-,}PIO pinctrl support Date: Sun, 10 Jul 2022 16:18:50 +0800 Message-Id: <20220710081853.1699028-1-uwu@icenowy.me> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This patchset contains support for two pin controllers on Allwinner R329 one, a CPUX one and a CPUS one (the standby processor on R329 is, in fact, a Xtensa DSP), in addition to their bindings. Icenowy Zheng (3): dt-bindings: pinctrl: document Allwinner R329 PIO and R-PIO pinctrl: sunxi: add support for R329 CPUX pin controller pinctrl: sunxi: add support for R329 R-PIO pin controller .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 4 + drivers/pinctrl/sunxi/Kconfig | 10 + drivers/pinctrl/sunxi/Makefile | 2 + drivers/pinctrl/sunxi/pinctrl-sun50i-r329-r.c | 293 +++++++++++++ drivers/pinctrl/sunxi/pinctrl-sun50i-r329.c | 412 ++++++++++++++++++ 5 files changed, 721 insertions(+) create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-r329-r.c create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-r329.c