From patchwork Tue May 25 04:27:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Lee X-Patchwork-Id: 448485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08591C2B9F8 for ; Tue, 25 May 2021 04:27:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE8B3613AB for ; Tue, 25 May 2021 04:27:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbhEYE3R (ORCPT ); Tue, 25 May 2021 00:29:17 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:38582 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbhEYE3Q (ORCPT ); Tue, 25 May 2021 00:29:16 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14P4Egx0020766; Tue, 25 May 2021 12:14:42 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from slee-VirtualBox.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 May 2021 12:27:38 +0800 From: Steven Lee To: Andrew Jeffery , Linus Walleij , Rob Herring , Joel Stanley , "moderated list:ASPEED PINCTRL DRIVERS" , "moderated list:ASPEED PINCTRL DRIVERS" , "open list:ASPEED PINCTRL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list CC: , , , Subject: [PATCH v2 0/3] pinctrl: pinctrl-g6: Add the 2nd sgpio Date: Tue, 25 May 2021 12:27:33 +0800 Message-ID: <20210525042736.10379-1-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 14P4Egx0020766 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org AST2600 has 2 SGPIO master interfaces one with 128 pins and another one has 80 pins, it also supports 2 SGPIO slave interfaces. However, there is only the first sgpio master/slave interface defined in dtsi and pinctrl driver. The patch series adds the second SGPIO master and slave interfaces in dt-bindings, dtsi and pinctrl driver. Changes from v1: * Correct the function priority of multi-function pin. * Change the name of arguments of PIN_DECL_4. Please help to review. Thanks, Steven Steven Lee (3): dt-bindings: pinctrl: Update enum for adding SGPM2 and SGPS2 ARM: dts: aspeed-g6: Add pinctrl settings pinctrl: pinctrl-aspeed-g6: Add sgpio pinctrl settings .../pinctrl/aspeed,ast2600-pinctrl.yaml | 10 ++++---- arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi | 10 ++++++++ drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 24 +++++++++++++++---- drivers/pinctrl/aspeed/pinmux-aspeed.h | 9 +++++++ 4 files changed, 44 insertions(+), 9 deletions(-)