From patchwork Tue May 25 05:53:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Lee X-Patchwork-Id: 1483197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4Fq3Ck084sz9sRN for ; Tue, 25 May 2021 15:53:21 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbhEYFyt (ORCPT ); Tue, 25 May 2021 01:54:49 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:14606 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbhEYFyr (ORCPT ); Tue, 25 May 2021 01:54:47 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14P5eDa2028241; Tue, 25 May 2021 13:40:13 +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 13:53:10 +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 v3 0/3] pinctrl: pinctrl-g6: Add the 2nd sgpio Date: Tue, 25 May 2021 13:53:04 +0800 Message-ID: <20210525055308.31069-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 14P5eDa2028241 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 v2: * Fix the typo of the commit message of the 3rd patch. 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(-)