Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4061576pxj; Mon, 24 May 2021 22:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfhucpHEvFkBpZCa4QLLMjE7aKSeLpx8u9DSkleFD3ktXnl773vz1N7Z3JjPPCWtwEwCN8 X-Received: by 2002:a17:906:5914:: with SMTP id h20mr27631083ejq.252.1621922172354; Mon, 24 May 2021 22:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621922172; cv=none; d=google.com; s=arc-20160816; b=eanB7mjA5MODJfu6+Pu8oZ8KXUrL7QLdhcdIRlFsx0biLpa/N4Q6wbKdIWs7Do3yd6 zV61DQ5/aE28+8/AvGkrWRBx1DPMa0HEH2wOh/lHi7Z6OKUtPn5dgR/PAw0DiOIqU0Oo AjUc+m/N/xtnoT7i2wPH7OaY4+5ULo37j5YW44zLgS9Z8ttkd3yMWkScz5VrR+Ehh4yh HDZlJUpk94Vfmh5mU0snXWCWetOttBOjgIDIR4sfvL3vPWsm8IvbiiBsO2kK3QVFOxDV Ri06oo3VNjCvyUURZauSHq4P/mvF4jvYyJ64c4WS9/HVZtnecO6PBBHrs5gVW15CKv6S fOiA== 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=4NsfI6kxQ1tBciLHcQjZFGH/+SP/EvP6zBBv43cRe54=; b=vUaBw39uKd3+PeQl0qi/nUn+ApMNsjrhV5q7YBVYT2WwQ2arfu3yx9np0Es5W/XszU 4w7vPM79RKtCHqmHOVVMDHeC7enkmPIg6W7Z3Rodx49bE68HVAc8U4/qVzI34OCNm11z WkVNd32M26np4PluH22VBcix/HeoSoi/Xd9MnM8dwCSm9XitxlyB+wv5D7PgyD81F2t7 l+9KfCJTX9J7yAhlDeoGZDECR9KjMznc2eOrbRiWNjRgX7CwUE5WG7TP5NHKQlJtSWrh ZlCiexZ3e8DmcctpnJaVxC775FEef3EQykW8emq+w8r6GQ0FgAT39zS+pqIZqHPaOeOY gstA== 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 b3si14277473edr.570.2021.05.24.22.55.49; Mon, 24 May 2021 22:56:12 -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 S231228AbhEYFzX (ORCPT + 99 others); Tue, 25 May 2021 01:55:23 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:14660 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbhEYFzU (ORCPT ); Tue, 25 May 2021 01:55:20 -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 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 14P5eDa2028241 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 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(-) -- 2.17.1