Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4029667pxj; Mon, 24 May 2021 22:00:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTF1Bbezo91NUR4xKra3Zy0ZGNC0X9uurRx0P/rx6NxfkEsVIzoH8NgS5hY9+HXZMvj5mh X-Received: by 2002:a17:906:6549:: with SMTP id u9mr26047069ejn.506.1621918845780; Mon, 24 May 2021 22:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621918845; cv=none; d=google.com; s=arc-20160816; b=XtaAMVzG5Wnttu2q5dqSbnk2C7os6BOaiAQsk2QfCrqON33LumICIJJ7lJd7eqqpCc mnzHIFaCFS8KBlOqPpmYmHHyo5GQ0yVdMMEqoslL4H4WmWeoeT16ZN/LAjIXqZAykR+h 6tr5uFE8pl1H/wkiw2CVJbx0t3dB4GfZTvphDtzx9g9iIDmGv+1mcACwk7JLzqktnPfU q3s55igwePVVrRvnYJBmzSfu6znZn4saQDgMe/U+nMCzS8JkUnzmYg1lIHhtNFANsctc c/EuleNO/qmLLDKdBIDdutCnZE3WggiOaIFBkrMHt6Cqdh6dWR4bg2M6mtZNBIVibOqO K3Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=E0vu2mzlZHPICd8lhUItFSsYgrzlC1MCe947TNB6Ufs=; b=QU3aA1Qz7x2Goe2dYopvg9H+go7BAqJ/41QOnRv+YYTVTmW2zc8Op7ZjPL9tvyOaYR GZPLFv4s3WvroKkpdQ6WYp1bX/3X/Sjf3sSvNHFKFFEYK5nyInhDKGmXG5OTSn/Xkopd kz8YPNsd4aH0dCqcwm+elXJXKB1mJkFBA8cqNmJZwM49bCrfmbx1MZqewQDBv8HZTi1D 9Cpod2G3Vmg39JHHExuBMW7y0TQSqOlULQ57pnR01i+vkLRD8F0uL/+bjz9FKauwJOnT eYnuTfoXA7oScTr4JUF/bo2KdO5WM6MhAwLr2BpR+abppVQ+D14WtDrf3/akOh+0t0u0 wOkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si12397917edd.217.2021.05.24.22.00.22; Mon, 24 May 2021 22:00:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbhEYE3w (ORCPT + 99 others); Tue, 25 May 2021 00:29:52 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:64844 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhEYE3v (ORCPT ); Tue, 25 May 2021 00:29:51 -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 Content-Type: text/plain 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-kernel@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(-) -- 2.17.1