From patchwork Thu Jul 11 04:19:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 11039251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A479B138B for ; Thu, 11 Jul 2019 04:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 933FE28876 for ; Thu, 11 Jul 2019 04:20:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8788228898; Thu, 11 Jul 2019 04:20:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2FC7B28876 for ; Thu, 11 Jul 2019 04:20:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jOd+w+AtKOLVuEHVY3rfskh4vOlsuNiqx6VVFIwK61s=; b=awSQf1tc8qQDAp hxeRN1WW4wLlWeH4oV9PxoNjH+hUTmUNBNn5nSLiU0+iY+sG+zH0ZqIZconYq0RJCd4aQQ+J4LJum 15xbRCLiyny4Wo1tAFSxqAiVzsX+SrNRhHUMWeUocCwtnMDOqBkUu9lF78HaKT9mkZMspbe6G9SG9 gV6VWcBzYtmasqB+7UVIOqRnAQJepA6y8U8wCj/m8NEIJ8BKK/NF0yKZSwPMxaeQUULjnZjRAIpOQ QC0fQsRljSAwIITOR2uBKzOyxReGi9CHGKhXP02OADh/r/huoqg++bCpMbvU79jzrgV9YJS5i8LkF oGMZoAVanC9CQEoRzNAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hlQYp-0006Qy-Lg; Thu, 11 Jul 2019 04:19:59 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hlQYm-0006QH-IF for linux-arm-kernel@lists.infradead.org; Thu, 11 Jul 2019 04:19:58 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id E93472EF8; Thu, 11 Jul 2019 00:19:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 11 Jul 2019 00:19:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=D+2vsx8lqO236DJVmaN/p1Vy6V CmDiyAuomD0yG8gKA=; b=CCJ3BXQquFOJYjeQjsvni7ZIGCxZB5FSivkldz3VMf N1EAXqjfnlrW5W8ud2NrDRF+pgNW7fq4Enp8iLTqjrBC0+Dl8UlZZli9i12eN/w0 AZHDTmkdkzt9WIlale6AzOnpFxLk3s8FSRQ7vb2IMDFCmzxgFY9Su/Ic7soKuO/a TolUb/WVuqZqUI+X+xri207s+f2t1+3CVfQxP3noOpFHJl3zclUBxYzR9h5k87Yx lsJiEWJhRiuyiQJDV5N5NWf/oLoFklpZT789KdU+Ge6goWHwiR1RSTHZ+XkVPQkc s0afp75Ly1zKzr7U2ugncz44O49QoojoUCdKKEaksVfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=D+2vsx8lqO236DJVm aN/p1Vy6VCmDiyAuomD0yG8gKA=; b=kS4vhQmMBnte9IQzEEyj5uDnmtgqKLLCK f160Yuri42tbpoI0pyHZf7tArJR31gGYJFumACifqsWs3J43Y339Suzu4Ykbiujb uH1AL6svjRELo5VfXPtTvYg2PHKw9tVezH2sc4GfvJGR1mL3lj6ZukC+z2hhsLxS 2ozGsvkNMu5PCfwdgR4yMwZIUlpT+zMl0VJ3KouwUFJpfEydBhvJV36fSnkJWrVf iEgjCl09I0AWzlTLVwwX2eq0u8A0cGr4OdCfC3FyE5oQpjmn7hua4fLFCgcstQSh UjClg2l77z6rLbk/SAH4ARnHviCo/0jw0nzflyIm735mY9jxnqewg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrgeejgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghjrdhi ugdrrghuqeenucfkphepvddtvddrkedurddukedrfedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from mistburn.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 4342F8005A; Thu, 11 Jul 2019 00:19:48 -0400 (EDT) From: Andrew Jeffery To: linux-gpio@vger.kernel.org Subject: [PATCH 0/6] pinctrl: aspeed: Add AST2600 pinmux support Date: Thu, 11 Jul 2019 13:49:36 +0930 Message-Id: <20190711041942.23202-1-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190710_211956_854716_1D97FD67 X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, johnny_huang@aspeedtech.com, linux-aspeed@lists.ozlabs.org, Andrew Jeffery , linus.walleij@linaro.org, ryanchen.aspeed@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, joel@jms.id.au, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello! This series adds pinmux support for the AST2600. Some more rework was required on top of the previous cleanup series, but this rework was focussed on supporting features of the AST2600 pinmux rather than fixing issues with the existing infrastructure for the ASPEED drivers. Due to the dependences it's based on top of pinctrl/devel, so should avoid any more SPDX issues. ASPEED have been testing the patches on hardware, so even for an initial pass there's some confidence in the implementation. Please review! Andrew Andrew Jeffery (6): dt-bindings: pinctrl: aspeed: Document AST2600 pinmux pinctrl: aspeed: Rename pin declaration macros pinctrl: aspeed: Add PIN_DECL_3() helper pinctrl: aspeed: Add multiple pin group support for functions pinctrl: aspeed: Add SIG_DESC_CLEAR() helper pinctrl: aspeed: Add AST2600 pinmux support .../pinctrl/aspeed,ast2600-pinctrl.yaml | 128 + drivers/pinctrl/aspeed/Kconfig | 8 + drivers/pinctrl/aspeed/Makefile | 1 + drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c | 1821 +++++++------ drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 1865 +++++++------ drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 2395 +++++++++++++++++ drivers/pinctrl/aspeed/pinmux-aspeed.h | 227 +- 7 files changed, 4643 insertions(+), 1802 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml create mode 100644 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c