Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp596112ybk; Wed, 13 May 2020 08:07:02 -0700 (PDT) X-Google-Smtp-Source: APiQypISoLI7HL7L+kSynps3mnRovd8e1waE2AdiT7t4omBhodVZyrnfGChuQ7JzCo6MO8Krm7Q/ X-Received: by 2002:a17:906:4317:: with SMTP id j23mr22073072ejm.377.1589382421898; Wed, 13 May 2020 08:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589382421; cv=none; d=google.com; s=arc-20160816; b=E1TUdtzmM24hGFXSEQ6PMXsSV5Nq7RhJopy48U9V5ulyJRk+mMYBhVDRG0d0RrxoLW XBgVV+VMWtLtksS6sCqCrzZV1/fwVO8a5BinyqY5AtH3se2i/DzCGioGeBPlL3CU0/rk /4/Ui1v0YWPhMh6KwH0FagNEjwolBVIkmzaC8e2QXRP0G7kCN8aB355wzwREvBPoca5V sNTXT9iKxBG8EZAq9JQkV0XkQNLtgtKmBVwj9GFzo021tp0SuwQj4I8phMxZk1rqil5M CK/Y02tNT8XjWHnU2/SJdKQRPwDAmCIVbenJ8eRRL1aFnxNSbfAqOLfxPPzvdsHxBslR EH+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=DmrZcraATTKpezV6Q30kyckoxm8JSVjW6okXPFLe6l8=; b=UOqbOsRsg34w7j1wLqIjQnA7+H+C1UF5Xr3hl24PK3jzRvCvZG6I1WoeJ7fIvZmtmC qIIIN60BRsyknp9gfl3xrn0ybcNACaG/k37+wVSyHHNF7fgV8Wb0p+ULUJCdmAsaiIuw 4i6y0iLAkQbVPCtGlMzavEpeOxiCFzgrOQHe/WBreXhU4iT5LlOL+/JUWNaVEE7XQ42e V1k/hO0RljzB0zYlexz/QnNwYGCot3SN//AK5hmbnybdmHOkFvdT+Q5/X1PJjc60jpKE 74mbciNmcpxrjLNKy+tpvHse2EXVCjsqVfhYDdjY5PT9bWa87Mg0GqHHD+WrTNB68HoR Bvrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kMw1t4Fo; 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 l10si2642460edv.152.2020.05.13.08.06.37; Wed, 13 May 2020 08:07:01 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kMw1t4Fo; 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 S2389354AbgEMPB3 (ORCPT + 99 others); Wed, 13 May 2020 11:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389141AbgEMPB1 (ORCPT ); Wed, 13 May 2020 11:01:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2A88C061A0C; Wed, 13 May 2020 08:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=DmrZcraATTKpezV6Q30kyckoxm8JSVjW6okXPFLe6l8=; b=kMw1t4FoBCZOGmkMPomMQwnW+Z Jr+jmw5I+1xdHsW6TD8v0jNvwLNCwTh6c4fDjCBrzI1ZJVnDxOJEgzJfGenUZa6dhVQ9citzzKhtz 9/ALc0ixW2HXGlPdsA2qd+c95eb36/i7CDRh5vi7s/zsVuhmX0e+5YKH4SvsubEUY6y8j9ZiMqtEO k4GGYrre1ohw7DjuF3xw08FidcSJ1s6kPZnAJFuGqTqJ0PUKIutKGA7w/tZZqkNSZ2VxLyZK2eWDk QsyJAAg8cMwOyhcnAgar9sw8t+kwwEcspANvFdUN0STxP95t+xj9SeCqxaTzej2NAuQZQGRtqw8JF rDFlGqIg==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYsss-0007Ms-QN; Wed, 13 May 2020 15:01:22 +0000 Subject: Re: [PATCH 2/3] pinctrl: mchp-sgpio: Add pinctrl driver for Microsemi Serial GPIO To: Lars Povlsen , SoC Team , Linus Walleij Cc: Microchip Linux Driver Support , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni References: <20200513141134.25819-1-lars.povlsen@microchip.com> <20200513141134.25819-3-lars.povlsen@microchip.com> From: Randy Dunlap Message-ID: Date: Wed, 13 May 2020 08:01:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200513141134.25819-3-lars.povlsen@microchip.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/13/20 7:11 AM, Lars Povlsen wrote: > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > index 834c59950d1cf..2b0e9021fd7e0 100644 > --- a/drivers/pinctrl/Kconfig > +++ b/drivers/pinctrl/Kconfig > @@ -396,6 +396,23 @@ config PINCTRL_OCELOT > select OF_GPIO > select REGMAP_MMIO > > +config PINCTRL_MSCC_SGPIO > + bool "Pinctrl driver for Microsemi Serial GPIO" > + depends on OF > + depends on HAS_IOMEM > + select GPIOLIB > + select GENERIC_PINCONF > + select GENERIC_PINCTRL_GROUPS > + select GENERIC_PINMUX_FUNCTIONS > + select OF_GPIO > + help > + Support for the VCoreIII SoC serial GPIO device. By using a Line above should be indented with one tab + 2 spaces... like the lines below. > + serial interface, the SIO controller significantly extends > + the number of available GPIOs with a minimum number of > + additional pins on the device. The primary purpose of the > + SIO controller is to connect control signals from SFP > + modules and to act as an LED controller. > + thanks. -- ~Randy