Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3318098pxb; Fri, 5 Nov 2021 13:33:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzncXwNZ6YmgVbjZeD8sy8MKsKw3RRd0y9jkt++jaxfhuqVgOiIlJBCHzzmW3zdBHi/aQe5 X-Received: by 2002:a92:d74f:: with SMTP id e15mr41807904ilq.181.1636144405299; Fri, 05 Nov 2021 13:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636144405; cv=none; d=google.com; s=arc-20160816; b=Bqk7kLq3nR4m6/cDNbNLsEJ8Wy60JXXz5XBwejVlXQh3mmnATu4X5GZu4KNUaggEAQ Ngjo15xA0LP60tJF+rqANM3jVLMlIRvbc3lj0c8RIE85sniRhZYk2xUa7JIbUOzfoxbd izBZUs4Dq/dhNJkTyK8YdN48Hw3lf6CXkNyt89j13mXooLW6GonhM5OnEo8ycsmD+qjE MgUccp/CpjeroYaJJchd7JdvvwPOw6jf/Ixy2/eHa/abet/6e3h7P69Z7YwdjUJeCYHe xpAvB12s424s/H+IF3PV4IDGZCpY2zgLI4kOhIJQ9pfJ+e7nTG6cysQYWDOBG51EeErY 1mrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=JM5OcWSj/uvIM0P0oV03d0hsFAmhe3IcSfBjxydt9zY=; b=OOaq3jr6tHAD0jGxBJP9hFzjAaFkTGf/Se6+5DiN13Ogtgh76nK13tk4c3s1+v7Jlm VA22HPWiY+innrd9E5aOJPlsl5sY8HVRL6DVB8t7VrSncf3wFkC6p4gaRH56mAIfnjGW ePlCgVitQIAHCoQHo/Z0RTLH1ELH2Ux+T/lVveTCEWsZKmkOubDfAY0fgZp7F4es3b8M LD7ZQlum5afHCx0iW7DNbRQ6fq0Llr2IC8C+o4fpEz2n6gwTp8BT6rL+yzGLh8nugyS3 7FTmKCdMQp6hbzTMKpouVMr8k2IcfzPdEyvoUwwUaMrkJWo0oTeoV0tIwErok6iP3Mx+ Hhlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=duXCwzRW; 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 i2si18138321ilu.154.2021.11.05.13.33.12; Fri, 05 Nov 2021 13:33:25 -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=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=duXCwzRW; 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 S233473AbhKEUX1 (ORCPT + 99 others); Fri, 5 Nov 2021 16:23:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233369AbhKEUXT (ORCPT ); Fri, 5 Nov 2021 16:23:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE98C061205; Fri, 5 Nov 2021 13:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=JM5OcWSj/uvIM0P0oV03d0hsFAmhe3IcSfBjxydt9zY=; b=duXCwzRWi3idNZSBBqLyeCNkeb HBgxUwE7HZqtco+n3ioHzvlqZZecpvOTM80DJ74vD6MkJtlo2VbQcmg0oS0QgnlmpNygmBjTGDjWx Uk93+/S6+3KB8l/r5pESYxZK2cvMn+Zx4At1T1lej92PqKCZ4YylGM5WgFESeT81mKsc5CyrGJOAC 6PHmjPMgPruYS9kqixvrKWumJqLLKGjU+YSNLj5R8nKU6oT0ObB8RE0Dnjw1sQGBuzg74iiHZ3fLi jEJRW0+uxASg87cILeTHTKj90xK8z2bnUL6DuCbKiZR3kW85pfQT9nvIq0Na7hFut/Bo2cr+9XQnG HXDYg1bg==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mj5hR-00CGzR-Kh; Fri, 05 Nov 2021 20:20:33 +0000 Subject: Re: [PATCH v8 2/6] gpio: Add Delta TN48M CPLD GPIO driver To: Robert Marko , linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, lee.jones@linaro.org, p.zabel@pengutronix.de, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, andy.shevchenko@gmail.com, michael@walle.cc Cc: luka.perkov@sartura.hr References: <20211105113859.101868-1-robert.marko@sartura.hr> <20211105113859.101868-2-robert.marko@sartura.hr> From: Randy Dunlap Message-ID: Date: Fri, 5 Nov 2021 13:20:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211105113859.101868-2-robert.marko@sartura.hr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/5/21 4:38 AM, Robert Marko wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index fab571016adf..31b83271f954 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -1344,6 +1344,18 @@ config GPIO_TIMBERDALE > help > Add support for the GPIO IP in the timberdale FPGA. > > +config GPIO_TN48M_CPLD > + tristate "Delta Networks TN48M switch CPLD GPIO driver" > + depends on MFD_TN48M_CPLD > + select GPIO_REGMAP > + help > + This enables support for the GPIOs found on the Delta > + Networks TN48M switch Lattice CPLD. It provides 12 pins in total, > + they are input-only or ouput-only type. output-only > + > + This driver can also be built as a module. If so, the > + module will be called gpio-tn48m. -- ~Randy